Skip to content

Commit

Permalink
Fix typo in eval code by using 'fsdp' instead of 'fsdp_config' (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea authored Oct 15, 2024
1 parent 18a28f6 commit de8de10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/command_utils/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def evaluate_model(
mosaicml_logger._flush_metadata(force_flush=True)

fsdp_config = parallelism_config.get(
'fsdp_config',
'fsdp',
None,
) if parallelism_config else None
if fsdp_config and model.get('load_in_8bit', False):
Expand Down

0 comments on commit de8de10

Please sign in to comment.