↓ 2 callersMethodparse_str_to_listParse a layout string to a list of lists. Example: "Ettt|(tt|)*29,m|L" will be parsed to [["E","t","t","t"]]+[["t","t"]]*29+[["m"],["L
Megatron-LM/megatron/core/transformer/pipeline_parallel_layer_layout.py:283
↓ 2 callersMethodpost_init(self, root_tmp_dir, tp, pp, async_save, algo, repl_groups)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_replication.py:93