Skip to content

Commit

Permalink
Fix typo on warning str: "meta device device" -> "meta device" (#2997)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeAndres authored Aug 7, 2024
1 parent d982751 commit 13d93c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/accelerate/big_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def dispatch_model(
)
if len(offloaded_devices_str) > 0:
logger.warning(
f"Some parameters are on the meta device device because they were offloaded to the {offloaded_devices_str}."
f"Some parameters are on the meta device because they were offloaded to the {offloaded_devices_str}."
)

# Attaching the hook may break tied weights, so we retie them
Expand Down

0 comments on commit 13d93c4

Please sign in to comment.