Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
a7584637
Commit
a7584637
authored
Jun 10, 2022
by
patil-suraj
Browse files
add PreTrainedTokenizerFast in loadable classes
parent
573fbdff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/diffusers/pipeline_utils.py
src/diffusers/pipeline_utils.py
+1
-0
No files found.
src/diffusers/pipeline_utils.py
View file @
a7584637
...
@@ -40,6 +40,7 @@ LOADABLE_CLASSES = {
...
@@ -40,6 +40,7 @@ LOADABLE_CLASSES = {
},
},
"transformers"
:
{
"transformers"
:
{
"PreTrainedTokenizer"
:
[
"save_pretrained"
,
"from_pretrained"
],
"PreTrainedTokenizer"
:
[
"save_pretrained"
,
"from_pretrained"
],
"PreTrainedTokenizerFast"
:
[
"save_pretrained"
,
"from_pretrained"
],
"PreTrainedModel"
:
[
"save_pretrained"
,
"from_pretrained"
],
"PreTrainedModel"
:
[
"save_pretrained"
,
"from_pretrained"
],
},
},
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment