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
chenpangpang
transformers
Commits
549e5f9f
Unverified
Commit
549e5f9f
authored
May 01, 2023
by
Xin Wen
Committed by
GitHub
May 01, 2023
Browse files
Fix string syntax error in logger warning message (additional comma) (#23083)
parent
9062d1ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/blip_2/modeling_blip_2.py
src/transformers/models/blip_2/modeling_blip_2.py
+1
-1
No files found.
src/transformers/models/blip_2/modeling_blip_2.py
View file @
549e5f9f
...
@@ -1627,7 +1627,7 @@ class Blip2ForConditionalGeneration(Blip2PreTrainedModel):
...
@@ -1627,7 +1627,7 @@ class Blip2ForConditionalGeneration(Blip2PreTrainedModel):
"The `language_model` is not in the `hf_device_map` dictionary and you are running your script"
"The `language_model` is not in the `hf_device_map` dictionary and you are running your script"
" in a multi-GPU environment. this may lead to unexpected behavior when using `accelerate`."
" in a multi-GPU environment. this may lead to unexpected behavior when using `accelerate`."
" Please pass a `device_map` that contains `language_model` to remove this warning."
" Please pass a `device_map` that contains `language_model` to remove this warning."
" Please refer to https://github.com/huggingface/blog/blob/main/accelerate-large-models.md for"
,
" Please refer to https://github.com/huggingface/blog/blob/main/accelerate-large-models.md for"
" more details on creating a `device_map` for large models."
,
" more details on creating a `device_map` for large models."
,
)
)
...
...
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