Skip to content

Commit 0bbec14

Browse files
committed
typo
1 parent 548e658 commit 0bbec14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/integrations/accelerate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def offload_weight(weight: torch.Tensor, weight_name: str, offload_folder: str |
541541
raise ValueError(
542542
"The current `device_map` had weights offloaded to the disk, which needed to be re-saved. This is either "
543543
"because the weights are not in `safetensors` format, or because the model uses an internal weight format "
544-
"different than the one saved (i.e. most MoE models). Please provide an `offload_folder`for them in "
544+
"different than the one saved (i.e. most MoE models). Please provide an `offload_folder` for them in "
545545
"`from_pretrained`."
546546
)
547547
# Write the weight to disk

0 commit comments

Comments
 (0)