Skip to content

Commit aa9cb75

Browse files
committed
Remove override since we just fixed the old configs instead
1 parent 9917390 commit aa9cb75

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

walrus/train.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,6 @@ def main(cfg: DictConfig):
335335
cfg.distribution.distribution_type.upper() != "LOCAL" and world_size > 1
336336
)
337337

338-
# Convert cfg to a string, do find/replace from "temporary_mppx_name" to "walrus", then convert back to DictConfig
339-
cfg_str = OmegaConf.to_yaml(cfg)
340-
cfg_str = cfg_str.replace("temporary_mppx_name", "walrus")
341-
cfg = OmegaConf.create(cfg_str)
342338
# Since configure_experiment uses distributed logic, distribution must be set up first
343339
device_mesh = configure_distribution(cfg)
344340
(

0 commit comments

Comments
 (0)