From 0ebd7c90b69fa2bda2b69c1249c0852e5c4359d3 Mon Sep 17 00:00:00 2001 From: Mihir Patel Date: Fri, 28 Jun 2024 20:49:01 -0700 Subject: [PATCH] Provide default seed value in TrainConfig, matching EvalConfig (#1315) * Update config_utils.py * lint --- llmfoundry/utils/config_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llmfoundry/utils/config_utils.py b/llmfoundry/utils/config_utils.py index 79cdc225b2..f977a27213 100644 --- a/llmfoundry/utils/config_utils.py +++ b/llmfoundry/utils/config_utils.py @@ -106,7 +106,9 @@ class TrainConfig: max_duration: Union[int, str] = MISSING eval_interval: Union[int, str] = MISSING max_seq_len: int = MISSING - seed: int = MISSING + + # Seed + seed: int = 17 # Precision precision: str = 'amp_bf16'