NVLink SHARP (NVLS) multicast initialization failure
NVLS initialization failures occur while NCCL is preparing NVSwitch multicast resources for collective offload. Diagnose support, allocation, software state, and fabric health separately instead of treating every NVLS message as the same defect.
Capture the first NVLS or multicast error, determine whether NVLS was forced or automatically selected, and replay the same collective with NVLS disabled. Inspect Fabric Manager, NVSwitch health, and stack compatibility before deciding whether the failure is resource, fabric, or software owned.
- Symptom
CUDA_ERROR_SYSTEM_NOT_READY- Root cause
- NCCL could not create, bind, or use the multicast resources required by the selected NVLS path. The causal owner can be unsupported or forced configuration, unavailable resources, inconsistent software components, or unhealthy fabric state. A later Xid, timeout, or communicator abort is not enough to choose among those causes without the first NVLS and system log evidence.
- Recommended fix
NCCL_DEBUG=INFO- How Denpex helps
- Denpex investigates NVLink SHARP (NVLS) multicast initialization failure 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
NVLink SHARP is an NCCL transport path that offloads supported collective work into the NVSwitch domain. An NVLS initialization failure means NCCL could not complete that setup. It does not by itself prove slot exhaustion, a broken GPU, or an NCCL regression.
Is this what broke your run? Paste your log.
You're reading about NVLink SHARP (NVLS) multicast initialization failure. 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)
NVIDIA documents three NVLS selection modes: disabled, forced, and automatic. Forced mode fails initialization when required resources cannot be allocated, while automatic mode can decline the path when the platform does not support it. Other documented failures can include system-not-ready or Fabric Manager state. The first emitted signature determines which branch to investigate.
What you'll observe
- NCCL communicator initialization fails before a collective can run.
- Training or inference may report only a later communicator failure or timeout.
- A broad NVLS error label can collapse unsupported configuration, allocation failure, software incompatibility, and unhealthy NVSwitch state into one diagnosis.
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 |
|---|---|
| NCCL logs name the NVLS subsystem or multicast group setup before the final failure. | NCCL could not create, bind, or use the multicast resources required by the selected NVLS path. |
| The application may report CUDA_ERROR_SYSTEM_NOT_READY during multicast binding. | The causal owner can be unsupported or forced configuration, unavailable resources, inconsistent software components, or unhealthy fabric state. |
| System logs may report Fabric Manager absence or an NVSwitch-related error. | A later Xid, timeout, or communicator abort is not enough to choose among those causes without the first NVLS and system log evidence. |
| The same collective can complete after NVLS is disabled. | NCCL could not create, bind, or use the multicast resources required by the selected NVLS path. |
Which systems are affected
- Supported Hopper or later GPU systems with third-generation or later NVSwitch
- NCCL jobs that select NVLink SHARP
- Systems whose Fabric Manager and NVSwitch state participate in multicast setup
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.
- ✓Locate the first line containing NVLS, multicast, cuMulticast, or an NVLS source file and preserve preceding context.
- ✓Confirm the resolved value of NCCL_NVLS_ENABLE and whether the platform is expected to support NVLS.
- ✓Run one unchanged minimal collective with NVLS disabled.
- ✓If that passes, compare Fabric Manager, NVSwitch health, and software versions against a known-good system.
- ✓Re-enable the intended setting and require both the minimal collective and production-sized control to pass.
Root cause
- NCCL could not create, bind, or use the multicast resources required by the selected NVLS path.
- The causal owner can be unsupported or forced configuration, unavailable resources, inconsistent software components, or unhealthy fabric state.
- A later Xid, timeout, or communicator abort is not enough to choose among those causes without the first NVLS and system log evidence.
The fix and how to prevent it
How to fix it
- Record whether NCCL_NVLS_ENABLE is unset, 0, 1, or 2, and capture NCCL_DEBUG=INFO with the INIT, GRAPH, and NVLS subsystems.
- Replay one identical minimal collective with NCCL_NVLS_ENABLE=0. Treat a pass as localization to the NVLS path, not as the final root cause.
- Check Fabric Manager service state, GPU health, and NVSwitch or platform diagnostics on the failing system.
- If the platform is healthy, compare the driver, CUDA runtime, NCCL, and Fabric Manager versions against the platform's supported combination.
- After correction, repeat the minimal collective and production-sized message with the intended NVLS setting.
Step-by-step remediation
- 1Keep rank-local INIT, GRAPH, and NVLS logs plus the matching platform event log.
- 2Capture the exact NCCL_NVLS_ENABLE value and the detected topology.
- 3Repeat the same collective once with NVLS disabled and no other change.
- 4Compare Fabric Manager, NVSwitch health, and the supported software combination with a known-good system.
- 5Run both the minimal and production-sized controls with the intended final configuration.
How to prevent it
- Leave NVLS in automatic mode unless the platform qualification requires forced enablement.
- Canary NVLS communicator initialization after any driver, CUDA, NCCL, firmware, or Fabric Manager change.
- Store per-rank NCCL logs and platform health evidence with each failed job.
- Baseline collective correctness and throughput both with and without NVLS so temporary containment has a known cost.
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.
Searchable error signature
CUDA_ERROR_SYSTEM_NOT_READY
NV_ERR_FABRIC_MANAGER_NOT_PRESENTUse this text as a lookup key in logs and upstream issue trackers. It is not presented as a captured customer log. Confirm the cause from your own preceding events, versions, configuration and the cited references.
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.
Why the recommended fix works
The sequence separates transport selection from platform health and software compatibility. It avoids a permanent performance workaround when the real correction is Fabric Manager recovery or a supported stack combination, and it avoids blaming hardware when automatic selection simply found no supported NVLS path.
Code examples
export NCCL_DEBUG=INFO
export NCCL_DEBUG_SUBSYS=INIT,GRAPH,NVLS
export NCCL_DEBUG_FILE=/tmp/nccl_%h_%p.log
# One diagnostic replay only
NCCL_NVLS_ENABLE=0 <same-nccl-test-command>
# Platform evidence
systemctl status nvidia-fabricmanager
nvidia-smi -qThis snippet illustrates the entry-specific check. Verify the installed versions, permissions, target and workload context before using it. A command or API example is not proof of recovery.
Best practices by model family
| Model / Stack | Recommendation | Notes |
|---|---|---|
| Selection | Prefer automatic NVLS selection | Forced enablement is useful for qualification but is designed to fail when resources cannot be allocated. |
| Isolation | Replay with NVLS disabled | This isolates the path while preserving the workload, ranks, and message size. |
| Return to service | Verify correctness and throughput | A successful initialization alone does not prove production-sized collectives are healthy. |
With the fix vs without the fix
| Dimension | With the fix | Without the fix |
|---|---|---|
| NVLS disabled | No multicast resources are allocated | The job uses another NCCL transport path |
| NVLS forced | Initialization fails when NVLS resources cannot be allocated | Useful for qualification, risky as an unexplained production default |
| NVLS automatic | NCCL selects the path when support and resources are available | The platform can continue without NVLS when it is unavailable |
Diagnostic note
“A clean run with NVLS disabled proves the failing path, not the failing part. Preserve that distinction in the incident. Otherwise a temporary transport rollback becomes a false hardware diagnosis or an unsupported permanent tuning rule.”
Visual fingerprint
first NVLS signature
|
v
record selection mode
|
v
same collective, NVLS off
|
+-- passes --> inspect fabric, resources, stack
+-- fails --> find earlier non-NVLS owner
|
v
re-enable and verifyDiagnose 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
Frequently asked questions
Questions engineers and on-call staff commonly ask about this failure.
What does an NVLS initialization error mean?
Does disabling NVLS fix the system?
Should NVLS be forced on?
What proves recovery?
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.