Skip to content

Commit f0a2a82

Browse files
authored
Fix pip install --upgrade accelerate command in modeling_utils.py (#23747)
Fix command in modeling_utils.py
1 parent e45e756 commit f0a2a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/modeling_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2727,7 +2727,7 @@ def from_pretrained(cls, pretrained_model_name_or_path: Optional[Union[str, os.P
27272727
raise ValueError(
27282728
"You are using `device_map='auto'` on a 4bit loaded version of the model. To automatically compute"
27292729
" the appropriate device map, you should upgrade your `accelerate` library,"
2730-
"`pip install --upgrade accelerare` or install it from source to support fp4 auto device map"
2730+
"`pip install --upgrade accelerate` or install it from source to support fp4 auto device map"
27312731
"calculation. You may encounter unexpected behavior, or pass your own device map"
27322732
)
27332733
elif load_in_8bit:

0 commit comments

Comments
 (0)