Skip to content

Incorporate 25.04 NeMo Patches #13488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
Apply isort and black reformatting
Signed-off-by: bdubauski <[email protected]>
  • Loading branch information
bdubauski committed May 7, 2025
commit ebca6795c19669035a8e9911fffce2160512f940
8 changes: 7 additions & 1 deletion scripts/performance/llm/pretrain_nemotron4_15b.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,13 @@ def override_recipe_configs(
]

if args.enable_nsys:
plugins.append(NsysPlugin(start_step=args.profiling_start_step, end_step=args.profiling_stop_step, ranks=list(range(num_nodes * args.gpus_per_node))))
plugins.append(
NsysPlugin(
start_step=args.profiling_start_step,
end_step=args.profiling_stop_step,
ranks=list(range(num_nodes * args.gpus_per_node)),
)
)

with run.Experiment(exp_name) as exp:
exp.add(
Expand Down
8 changes: 7 additions & 1 deletion scripts/performance/llm/pretrain_nemotron4_340b.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,13 @@ def override_recipe_configs(
]

if args.enable_nsys:
plugins.append(NsysPlugin(start_step=args.profiling_start_step, end_step=args.profiling_stop_step, ranks=list(range(num_nodes * args.gpus_per_node))))
plugins.append(
NsysPlugin(
start_step=args.profiling_start_step,
end_step=args.profiling_stop_step,
ranks=list(range(num_nodes * args.gpus_per_node)),
)
)

with run.Experiment(exp_name) as exp:
exp.add(
Expand Down