Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Sep 16, 2024
1 parent a108aaf commit e1aefa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llmfoundry/command_utils/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def evaluate_model(
mosaicml_logger._flush_metadata(force_flush=True)

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

0 comments on commit e1aefa5

Please sign in to comment.