"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "e1bd9673586a8a19244854b91450c3b238965587"
Unverified Commit 549e5f9f authored by Xin Wen's avatar Xin Wen Committed by GitHub
Browse files

Fix string syntax error in logger warning message (additional comma) (#23083)

parent 9062d1ba
...@@ -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.",
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment