mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix string syntax error in logger warning message (additional comma) (#23083)
This commit is contained in:
parent
9062d1bab2
commit
549e5f9f23
@ -1627,7 +1627,7 @@ class Blip2ForConditionalGeneration(Blip2PreTrainedModel):
|
||||
"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`."
|
||||
" 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.",
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user