Hi all,
While running the scripts/training/run_recipe.py on the Megatron container (nvcr.io/nvidia/nemo:26.08.00) I am hitting this CUDA error (shown below). Any idea on what the cause of this might be? Thank you!
[2026-09-15 15:59:05] iteration 350/ 1000 | consumed samples: 2800 | elapsed time per iteration (ms): 3241.3 | learning rate: 3.771479E-06 | global batch size: 8 | lm loss: 1.023518E+00 | load_balancing_loss: 0.000000E+00 | seq_load_balancing_loss: 1.207947E+00 | loss scale: 1.0 | grad norm: 0.863 | number of skipped iterations: 0 | number of nan iterations: 0 | ERROR:megatron.bridge.training.pretrain:Pretrain failed on rank=6 with AcceleratorError: CUDA error: Invalid access of peer GPU memory over nvlink or a hardware error Search for `cudaErrorContained' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html` for more information.
For more detailed error information, run with CUDA_LOG_FILE=stderr
. Bridge is aborting framework-owned distributed resources because peer ranks may be blocked in collectives.
Traceback (most recent call last):
File “/opt/Megatron-Bridge/src/megatron/bridge/training/pretrain.py”, line 150, in _pretrain
train(
File “/opt/Megatron-Bridge/src/megatron/bridge/training/train.py”, line 676, in train
evaluate_and_print_results(
File “/opt/Megatron-Bridge/src/megatron/bridge/training/eval.py”, line 439, in evaluate_and_print_results
total_loss_dict, collected_non_loss_data, timelimit = evaluate(
^^^^^^^^^`
Configuration details:
Driver: 610.57.04
OS: Ubuntu 24.04
GPUs: 8x RTX PRO 6000 Blackwell Server Edition
Workload:
8-GPU Megatron-Bridge / Megatron-LM Nemotron-3 Nano CPT
PyTorch distributed / NCCL
MoE token dispatcher: alltoall
Observed failures:
Repeated Xid 94 and Xid 95 during long multi-GPU training runs.
Example:
Sep 15 15:59:04:
PCI d8:00 Xid 94
PCI 8b:00 Xid 94
PCI b4:00 Xid 94
Also observed:
nvAssertFailedNoLog:
“KGSP service called when no KGSP interrupt pending”
Previous runs have produced:
Xid 94 on multiple GPUs
Xid 95 Uncontained: FBHUB
Xid 154 PF FLR recovery action
Application CUDA error:
CUDA error: Invalid access of peer GPU memory over nvlink or a hardware error cudaErrorContained
091526-training-run-error.tar.gz (3.6 MB)