Skip to content

Commit

Permalink
Fix grad accum type (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg authored Jun 21, 2024
1 parent 13bd8f9 commit e8ba9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class TrainConfig:

# Fields created by `update_batch_size_info`
n_gpus: int = MISSING
device_train_grad_accum: str = MISSING
device_train_grad_accum: Union[str, int] = MISSING


TRAIN_CONFIG_KEYS = {field.name for field in fields(TrainConfig)}
Expand Down

0 comments on commit e8ba9b7

Please sign in to comment.