Troubleshooting
Common Issues#
-
Plugin not loading:
- Verify
NCCL_PROFILER_PLUGIN=otelis set - Check that
LD_LIBRARY_PATHincludes the plugin directory - Ensure the plugin library exists and is executable
- With
NCCL_DEBUG=INFO, look forPROFILER/Plugin: libnccl-profiler-otel.so: ... cannot open shared object file, which means a library the plugin depends on is missing. Runlddon the plugin to find it.
- Verify
-
No metrics being sent:
- Verify
NCCL_PROFILER_OTEL_TELEMETRY_ENDPOINTis correctly set - Check that
NCCL_PROFILER_OTEL_ENABLE=1(default) - Check that
NCCL_PROFILER_OTEL_TELEMETRY_ENABLE=1(default) - Verify OpenTelemetry collector is running and accessible
- Verify
-
Connection issues:
- Verify the OpenTelemetry collector is running and accessible
- Check network connectivity to the collector endpoint
- Ensure the endpoint URL format is correct (
http://host:port)
-
Buffer overflow warnings:
- Increase window trigger settings if events are generated too quickly
- Check that telemetry thread is processing windows in time
- Verify system has sufficient CPU for background processing
-
No collective metrics with vLLM 0.29 or later:
- vLLM has several all-reduce backends and only falls back to NCCL when none of them applies.
--disable-custom-all-reduceonly disables vLLM's custom all-reduce, not the backends below. - Since vLLM 0.29.0, FlashInfer all-reduce is enabled by default and bypasses NCCL.
Set
VLLM_ALLREDUCE_USE_FLASHINFER=0. - PyTorch symmetric-memory all-reduce is also enabled by default and bypasses NCCL on GPUs with
compute capability 9.0, 10.0, 10.3 or 10.7 (for example H100, H200, B200, GB200, B300).
On these GPUs, also set
VLLM_ALLREDUCE_USE_SYMM_MEM=0. Check the compute capability withnvidia-smi --query-gpu=name,compute_cap --format=csv. - Routing all-reduces through NCCL can be slower than these backends for small messages.
- vLLM has several all-reduce backends and only falls back to NCCL when none of them applies.
Debug Logging#
Enable trace logging for detailed debugging:
# Build with trace logging
make TRACE=1
# Run with NCCL debug output
export NCCL_DEBUG=INFO
export NCCL_PROFILER_PLUGIN=otel
# ... other environment variables
This will provide detailed logs about plugin initialization, metric collection, and telemetry export.