Skip to content

Commit 0ebd7c9

Browse files
authored
Provide default seed value in TrainConfig, matching EvalConfig (#1315)
* Update config_utils.py * lint
1 parent f141ee1 commit 0ebd7c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llmfoundry/utils/config_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ class TrainConfig:
106106
max_duration: Union[int, str] = MISSING
107107
eval_interval: Union[int, str] = MISSING
108108
max_seq_len: int = MISSING
109-
seed: int = MISSING
109+
110+
# Seed
111+
seed: int = 17
110112

111113
# Precision
112114
precision: str = 'amp_bf16'

0 commit comments

Comments
 (0)