Skip to content

Commit 0533d4d

Browse files
authored
change sft.yml path (#1179)
1 parent d9deccd commit 0533d4d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dags/post_training/maxtext_sft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def validate_training(
141141
f"{test_config_util.DEFAULT_BUCKET}/llama3.1-70b-Instruct/"
142142
"scanned-pathways/0/items/"
143143
),
144-
sft_config_path="src/MaxText/configs/sft.yml",
144+
sft_config_path="src/maxtext/configs/post_train/sft.yml",
145145
)
146146
# HF token retrieved from Airflow Variables for secure credential management
147147
HF_TOKEN_CIENET = models.Variable.get("HF_TOKEN_CIENET", None)

dags/post_training/util/test_config_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class SFTTestConfig:
215215
base_dir: str
216216
tokenizer_path: str
217217
load_parameters_path: str
218-
sft_config_path: str = "src/MaxText/configs/sft.yml"
218+
sft_config_path: str = "src/maxtext/configs/post_train/sft.yml"
219219

220220
def __init__(
221221
self,
@@ -228,7 +228,7 @@ def __init__(
228228
base_dir: str,
229229
tokenizer_path: str,
230230
load_parameters_path: str,
231-
sft_config_path: str = "src/MaxText/configs/sft.yml",
231+
sft_config_path: str = "src/maxtext/configs/post_train/sft.yml",
232232
):
233233
"""Initializes the SFT test configurations.
234234
@@ -245,7 +245,7 @@ def __init__(
245245
load_parameters_path: GCS path to load pretrained model parameters
246246
from.
247247
sft_config_path: Path to the SFT configuration YAML file (default:
248-
src/MaxText/configs/sft.yml).
248+
src/maxtext/configs/post_train/sft.yml).
249249
"""
250250
self.cluster = cluster
251251
self.accelerator = accelerator

0 commit comments

Comments
 (0)