Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/post_training/slurm/job_llamafactory.sh.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export WORLD_SIZE=$(( SLURM_NNODES * GPUS_PER_NODE ))

# NCCL tuning for multi-node stability
export NCCL_IB_TIMEOUT=120
export NCCL_DEBUG=INFO
export NCCL_DEBUG=WARN
export CUDA_DEVICE_MAX_CONNECTIONS=1
export OMP_NUM_THREADS=1

Expand Down
2 changes: 1 addition & 1 deletion src/post_training/slurm/job_trl_container.sh.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export WORLD_SIZE=$(( SLURM_NNODES * GPUS_PER_NODE ))

# NCCL tuning for multi-node stability
export NCCL_IB_TIMEOUT=120
export NCCL_DEBUG=INFO
export NCCL_DEBUG=WARN
# CUDA_DEVICE_MAX_CONNECTIONS=1 is a Megatron-LM tensor-parallel flag that
# serializes CUDA streams and hurts ZeRO-2 overlap_comm — do not set it.
export OMP_NUM_THREADS=1
Expand Down
Loading