Skip to content

Commit 8853fac

Browse files
author
Depp Lee
committed
Fix train_rl and rl.yml path
1 parent 02f90e3 commit 8853fac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dags/post_training/maxtext_rl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
f"{test_config_util.DEFAULT_BUCKET}/llama3.1-70b-Instruct/"
8080
"scanned-pathways/0/items/"
8181
),
82-
rl_config_path="src/MaxText/configs/rl.yml",
82+
rl_config_path="src/maxtext/configs/post_train/rl.yml",
8383
loss_algos=[
8484
test_config_util.LossAlgo.GRPO,
8585
test_config_util.LossAlgo.GSPO,

dags/post_training/util/test_config_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class RLTestConfig:
8888
tokenizer_path: str
8989
load_parameters_path: str
9090
loss_algos: list[LossAlgo]
91-
rl_config_path: str = "src/MaxText/configs/rl.yml"
91+
rl_config_path: str = "src/maxtext/configs/post_train/rl.yml"
9292

9393
def __init__(
9494
self,
@@ -100,7 +100,7 @@ def __init__(
100100
tokenizer_path: str,
101101
load_parameters_path: str,
102102
loss_algos: list[LossAlgo],
103-
rl_config_path: str = "src/MaxText/configs/rl.yml",
103+
rl_config_path: str = "src/maxtext/configs/post_train/rl.yml",
104104
):
105105
"""Initializes the RL test configurations.
106106
@@ -158,7 +158,7 @@ def generate_rl_training_command(
158158
])
159159

160160
rl_command = (
161-
"python -m src.MaxText.rl.train_rl "
161+
"python -m src.maxtext.rl.train_rl "
162162
f"{self.rl_config_path} " + " ".join(command_params)
163163
)
164164

0 commit comments

Comments
 (0)