Skip to content

Commit 939635a

Browse files
authored
Fix script args for latest torchtitan (#122)
should be merged only together with https://github.com/pytorch/torchtitan/pull/new/whc/merge_autoparallel
1 parent 2c573ce commit 939635a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

mast/sweep.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,17 @@ def maybe_find_pulp(maybe_path: Optional[str] = None) -> Optional[str]:
100100
"llama3_FSDP_compile": llama3_1d_common_opts
101101
+ [
102102
"--model.name=llama3",
103-
"--training.compile",
103+
"--compile.enable",
104104
],
105105
"llama3_autop_1d_compile": llama3_1d_common_opts
106106
+ [
107107
"--model.name=llama3_auto_parallel",
108-
"--training.compile",
108+
"--compile.enable",
109109
],
110110
"llama3_autop_1d_compile_bucket_reorder": llama3_1d_common_opts
111111
+ [
112112
"--model.name=llama3_auto_parallel",
113-
"--training.compile",
113+
"--compile.enable",
114114
"--experimental.bucket_all_gathers_fx=fsdp",
115115
"--experimental.bucket_reduce_scatters_fx=fsdp",
116116
"--experimental.reorder_for_compute_comm_overlap",
@@ -121,17 +121,17 @@ def maybe_find_pulp(maybe_path: Optional[str] = None) -> Optional[str]:
121121
"llama3_FSDP_tp_compile": llama3_2d_common_opts
122122
+ [
123123
"--model.name=llama3",
124-
"--training.compile",
124+
"--compile.enable",
125125
],
126126
"llama3_autop_2d_compile": llama3_2d_common_opts
127127
+ [
128128
"--model.name=llama3_auto_parallel",
129-
"--training.compile",
129+
"--compile.enable",
130130
],
131131
"llama3_autop_2d_compile_bucket_reorder": llama3_2d_common_opts
132132
+ [
133133
"--model.name=llama3_auto_parallel",
134-
"--training.compile",
134+
"--compile.enable",
135135
"--experimental.bucket_all_gathers_fx=fsdp",
136136
"--experimental.bucket_reduce_scatters_fx=fsdp",
137137
"--experimental.reorder_for_compute_comm_overlap",
@@ -142,7 +142,7 @@ def maybe_find_pulp(maybe_path: Optional[str] = None) -> Optional[str]:
142142
"FSDP_tp_compile": llama3_2d_common_opts
143143
+ [
144144
"--model.name=llama3",
145-
"--training.compile",
145+
"--compile.enable",
146146
],
147147
}
148148

@@ -154,13 +154,13 @@ def maybe_find_pulp(maybe_path: Optional[str] = None) -> Optional[str]:
154154
"llama3_autop_1d_compile_ruisi_bucket_reorder": llama3_1d_common_opts
155155
+ [
156156
"--model.name=llama3_auto_parallel",
157-
"--training.compile",
157+
"--compile.enable",
158158
"--experimental.enable_simplefsdp_passes",
159159
],
160160
"llama3_autop_2d_compile_ruisi_bucket_reorder": llama3_2d_common_opts
161161
+ [
162162
"--model.name=llama3_auto_parallel",
163-
"--training.compile",
163+
"--compile.enable",
164164
"--experimental.enable_simplefsdp_passes",
165165
],
166166
}

0 commit comments

Comments
 (0)