Browse Source

update

pull/5190/head
Xuanlei Zhao 11 months ago
parent
commit
73aa406b96
  1. 2
      applications/ColossalMoE/train.py

2
applications/ColossalMoE/train.py

@ -224,7 +224,7 @@ def main():
with tqdm(
range(total_len),
desc=f"Epoch [{epoch + 1}/{args.num_epoch}]",
disable=not coordinator.is_master(),
disable=not coordinator.is_master() if use_pipeline == False else not is_pp_last_stage,
) as pbar:
for step in pbar:
if use_pipeline:

Loading…
Cancel
Save