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
OpenDAS
text-generation-inference
Commits
5fde8d99
Unverified
Commit
5fde8d99
authored
May 26, 2023
by
CL-Shang
Committed by
GitHub
May 26, 2023
Browse files
Fix issue when load AutoModelForSeq2SeqLM model (#370)
parent
62f91f78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/text_generation_server/models/__init__.py
server/text_generation_server/models/__init__.py
+1
-1
No files found.
server/text_generation_server/models/__init__.py
View file @
5fde8d99
...
...
@@ -266,7 +266,7 @@ def get_model(
quantize
=
quantize
,
trust_remote_code
=
trust_remote_code
,
)
if
"AutoModelForSeq2SeqLM"
in
auto_map
.
keys
:
if
"AutoModelForSeq2SeqLM"
in
auto_map
.
keys
()
:
return
Seq2SeqLM
(
model_id
,
revision
,
...
...
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