Skip to content

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.

Quick answer

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.
Communication#nvls#nvlink#sharp#multicast#nvswitch#nccl

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.

Live diagnosis, no signup

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.

training_logs.txt
No log to hand? Try one:

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

3 free cloud diagnoses per day

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.

SymptomPossible 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

  1. 1Keep rank-local INIT, GRAPH, and NVLS logs plus the matching platform event log.
  2. 2Capture the exact NCCL_NVLS_ENABLE value and the detected topology.
  3. 3Repeat the same collective once with NVLS disabled and no other change.
  4. 4Compare Fabric Manager, NVSwitch health, and the supported software combination with a known-good system.
  5. 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.

Use your company email, for example alex@yourcompany.com.

Who qualifies?

Company email domains activate the free 30-day Team evaluation (up to 50 diagnoses a day) after an email and domain check, whatever mail provider you use. If we cannot verify your domain automatically, support reviews it: write to support@denpex.com. Free local diagnosis in the editor extension needs no account.

Using a personal email (Gmail, Outlook, Naver, QQ) or solo cluster? Create a free $0 account (no work email required) to save 7-day history and unlock AI fallback, or send a cluster crash log for a live walkthrough.
Already have an account? Sign in

Searchable error signature

search key
CUDA_ERROR_SYSTEM_NOT_READY
NV_ERR_FABRIC_MANAGER_NOT_PRESENT

Use 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 logs

No 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

snippet
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 -q

This 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 / StackRecommendationNotes
SelectionPrefer automatic NVLS selectionForced enablement is useful for qualification but is designed to fail when resources cannot be allocated.
IsolationReplay with NVLS disabledThis isolates the path while preserving the workload, ranks, and message size.
Return to serviceVerify correctness and throughputA successful initialization alone does not prove production-sized collectives are healthy.

With the fix vs without the fix

DimensionWith the fixWithout the fix
NVLS disabledNo multicast resources are allocatedThe job uses another NCCL transport path
NVLS forcedInitialization fails when NVLS resources cannot be allocatedUseful for qualification, risky as an unexplained production default
NVLS automaticNCCL selects the path when support and resources are availableThe 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

NVLS initialization decision path
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 verify
Transport isolation comes before a claim about resource exhaustion, hardware failure, or software regression.

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 extension

NCCL 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 errors

Frequently asked questions

Questions engineers and on-call staff commonly ask about this failure.

What does an NVLS initialization error mean?
It means NCCL could not complete NVLink SHARP multicast setup. The first error and a controlled replay are needed to distinguish support, resources, software, and fabric state.
Does disabling NVLS fix the system?
It can contain the incident by selecting another NCCL path. It does not repair or identify the underlying NVLS failure.
Should NVLS be forced on?
Forced mode is useful when a qualification must fail if NVLS is unavailable. Automatic mode is safer for general operation because unsupported or unavailable NVLS can be skipped.
What proves recovery?
The intended NVLS configuration must initialize successfully, the same collective must complete, and platform health must remain clean through the agreed observation window.

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.