NCCL Network Topology Lookup Failure (NIC Fusion)
NCCL cannot find a valid path for the network pattern in the discovered PCIe topology. This is typically caused by NIC fusion (NIC split) remapping NIC device IDs during partial-node InfiniBand allocations.
NCCL cannot find a valid path for the network pattern in the discovered PCIe topology.
- Root cause
- NIC fusion merges multiple PCIe functions of a single dual-port NIC into one NCCL NET device; on partial-node allocations, the merged topology may be internally inconsistent, and NCCL cannot resolve NET/0. NCCL 2.26.
- Recommended fix
NCCL_NET_MERGE_LEVEL=LOC- How Denpex helps
- Denpex investigates NCCL Network Topology Lookup Failure (NIC Fusion) using the evidence you provide or your connected workload collects. Earlier rank, host or application evidence is needed to distinguish an initiating failure from a downstream report.
What this failure is
NCCL Network Topology Lookup Failure (NIC Fusion) is a Distributed Communication failure seen during ML training runs. NCCL cannot find a valid path for the network pattern in the discovered PCIe topology. This is typically caused by NIC fusion (NIC split) remapping NIC device IDs during partial-node InfiniBand allocations. Common tags: Nccl, Topology, Nic Fusion, Network.
Is this what broke your run? Paste your log.
You're reading about NCCL Network Topology Lookup Failure (NIC Fusion). Paste your own traceback and relevant evidence for an investigation of your workload, with a next action or a specific missing fact. A reference entry does not establish your cause. No account or card for the free diagnosis. Review data handling before submitting sensitive logs.
Before uploading, review cloud data handling and local options.
Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.
Why it happens (the mechanism)
NIC fusion merges multiple PCIe functions of a single dual-port NIC into one NCCL NET device; on partial-node allocations, the merged topology may be internally inconsistent, and NCCL cannot resolve NET/0. NCCL 2.26.2 has a specific regression in NET/0 resolution for partial-node allocations. Custom topology XML may not account for NIC fusion topology. Taken together, these mechanisms explain why the failure is reproducible, why it tends to surface on specific workloads or scales, and why generic mitigation attempts often fall short without addressing the underlying cause.
What you'll observe
- NCCL fails during initialization with topology lookup error
- NIC fusion (multi-PCIe-function NIC merge) creates inconsistent topology
- NCCL 2.26.2 on partial-node IB allocations is especially affected
- Manual NCCL_TOPO_FILE may have incomplete or incorrect entries
Common symptoms and what they mean
Check possible explanations against the incident evidence. A matching symptom alone does not establish its cause.
| Symptom | Possible explanation |
|---|---|
| Could not find NET with id 0 during NCCL initialization | NIC fusion merges multiple PCIe functions of a single dual-port NIC into one NCCL NET device; on partial-node allocations, the merged topology may be internally inconsistent, and NCCL cannot resolve NET/0 |
| Could not find a path for pattern during NCCL initialization | NCCL 2.26.2 has a specific regression in NET/0 resolution for partial-node allocations |
| NCCL fails before any collective operation starts (initialization-only failure) | Custom topology XML may not account for NIC fusion topology |
| Error only occurs on multi-GPU/multi-node jobs, not single-GPU | NIC fusion merges multiple PCIe functions of a single dual-port NIC into one NCCL NET device; on partial-node allocations, the merged topology may be internally inconsistent, and NCCL cannot resolve NET/0 |
Which systems are affected
- NVIDIA H100/H200 with InfiniBand NDR 400G (dual-port NICs with PCIe bifurcation)
- Partial-node Slurm allocations where not all GPUs/NICs are assigned
- NCCL 2.26.2 on systems with NIC fusion topology
- Systems with NCCL_TOPO_FILE custom XML configurations
How to confirm this is the problem
Use this checklist to test the hypothesis against a small reproduction. No single line proves the root cause, so preserve the preceding events and compare one variable at a time.
- ✓Reproduce the failure from a clean checkpoint/seed: the symptom must appear without warm-up state from a previous run.
- ✓Verified signal present: Could not find NET with id 0 during NCCL initialization
- ✓Verified signal present: Could not find a path for pattern during NCCL initialization
- ✓Verified signal present: NCCL fails before any collective operation starts (initialization-only failure)
- ✓Verified signal present: Error only occurs on multi-GPU/multi-node jobs, not single-GPU
- ✓A targeted fix from the "How to fix it" section eliminates or substantially reduces the symptom within one validation pass.
Root cause
- NIC fusion merges multiple PCIe functions of a single dual-port NIC into one NCCL NET device; on partial-node allocations, the merged topology may be internally inconsistent, and NCCL cannot resolve NET/0
- NCCL 2.26.2 has a specific regression in NET/0 resolution for partial-node allocations
- Custom topology XML may not account for NIC fusion topology
The fix and how to prevent it
How to fix it
- Set NCCL_NET_MERGE_LEVEL=LOC to disable NIC-level merging (keeps PCIe functions separate)
- Upgrade to NCCL 2.27.x which has improved NIC fusion topology handling
- Avoid NCCL 2.26.2 on partial-node IB allocations, use 2.26.1 or 2.27+
- Set NCCL_IB_HCA explicitly to the correct device name to bypass topology discovery
Step-by-step remediation
- 1Set NCCL_NET_MERGE_LEVEL=LOC to disable NIC-level merging (keeps PCIe functions separate)
- 2Upgrade to NCCL 2.27.x which has improved NIC fusion topology handling
- 3Avoid NCCL 2.26.2 on partial-node IB allocations, use 2.26.1 or 2.27+
- 4Set NCCL_IB_HCA explicitly to the correct device name to bypass topology discovery
How to prevent it
- Pin NCCL to 2.27.x or later on systems with dual-port NDR IB NICs
- Use NCCL_NET_MERGE_LEVEL=LOC in the default NCCL configuration
- Test NCCL initialization on partial-node allocations before production deployment
- Maintain a validated NCCL version matrix for each GPU server SKU
Save this diagnosis and catch the next crash automatically
All root cause, fix, and prevention steps above are free to read. Create a free account with any email or GitHub to keep your saved diagnosis history across the encyclopedia and run cloud checks, or use a work email below for the 30-day Team evaluation. No card required.
Or start a 30-day free Team trial (work email)
Verified work email unlocks all 14 fleet diagnostic tools, Slack alerts, and team history for 30 days. No card and no automatic charge.
Diagnose your own log automatically
The root cause and fix steps above stay free. Create a free account to analyze full job logs, attribute the first failed rank, and keep saved incident history.
Sign up free. Analyze your cluster logsNo credit card. Daily allowance follows verified trust tier. Instant access.
Diagnose this failure in VS Code
Select the traceback or open the failed terminal, then run Denpex locally to inspect matched failure patterns, supporting evidence and next checks without uploading the log. Verify recommendations against your workload before changing production.
Install the free VS Code extensionNCCL errors in context
An NCCL error can follow an earlier worker failure. The hub connects documented collective errors with their interpretation limits, worker evidence and configuration checks.
Compare related nccl errorsRelated failures to investigate next
Don't just read the fix, diagnose your run
The encyclopedia explains documented failure patterns. Denpex investigates your logs, configuration and stack, shows the supporting evidence, and asks for missing details when needed.