File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,12 @@ def estimate_memory(job_config: JobConfig):
57
57
)
58
58
job_config .model .norm_type = "rmsnorm"
59
59
60
+ if job_config .model .norm_type == "compiled_rmsnorm" :
61
+ logger .info ("Compiled RMSNorm is not supported yet. Switching to RMSNorm." )
62
+ job_config .model .norm_type = "rmsnorm"
63
+
60
64
if job_config .training .compile :
61
- logger .info ("Compile mode is not supported yet. " " Switching to Eager mode." )
65
+ logger .info ("Compile mode is not supported yet. Switching to eager mode." )
62
66
job_config .training .compile = False
63
67
64
68
parallel_dims = ParallelDims (
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ def build_test_list():
266
266
OverrideDefinitions (
267
267
[
268
268
[
269
- "--memory_estimation.enabled" ,
269
+ "--memory_estimation.enabled --model.norm_type rmsnorm " ,
270
270
]
271
271
],
272
272
"FSDP2 Memory Tracking and Estimation" ,
You can’t perform that action at this time.
0 commit comments