Skip to content

Commit

Permalink
Fix eval code
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Oct 15, 2024
1 parent 237886c commit 7a084ee
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 @@ -125,7 +125,7 @@ def evaluate_model(
mosaicml_logger._flush_metadata(force_flush=True)

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

0 comments on commit 7a084ee

Please sign in to comment.