Skip to content

Commit

Permalink
Fix environment variables in torchrun executor (#11363)
Browse files Browse the repository at this point in the history
Signed-off-by: Hemil Desai <[email protected]>
Co-authored-by: Marc Romeyn <[email protected]>
  • Loading branch information
hemildesai and marcromeyn authored Nov 25, 2024
1 parent ee07261 commit 42d164e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nemo/collections/llm/recipes/run/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
def torchrun(devices: int = 8) -> run.Config[run.LocalExecutor]:
"""Local executor using torchrun."""
env_vars = {
"TRANSFORMERS_OFFLINE": "1",
"TORCH_NCCL_AVOID_RECORD_STREAMS": "1",
"NCCL_NVLS_ENABLE": "0",
"NVTE_DP_AMAX_REDUCE_INTERVAL": "0",
"NVTE_ASYNC_AMAX_REDUCTION": "1",
}

executor = run.Config(
Expand Down

0 comments on commit 42d164e

Please sign in to comment.