Repository navigation
fix(inference): guard FlashInfer trtllm all-reduce fallback on SM100 - #4934
Merged
Merged
Conversation
mikasenghaas
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When NVSwitch multicast is unavailable on a B200 host (for example cuMulticastBindMem failing with CUDA_ERROR_ILLEGAL_STATE), vLLM falls back from FlashInfer mnnvl to backend=trtllm, which produced 100% NaN/corrupted generations on Qwen3.5-397B-A17B at TP=8. This adds an interim vLLM patch in apply_shared_vllm_patches to disallow the trtllm fallback on SM100+ at TP>=8 (falling through to CUSTOM/PYNCCL instead while keeping healthy hosts on mnnvl) and to pass trigger_completion_at_end=True on trtllm in standalone FlashInferAllReduce.all_reduce, matching allreduce_rms_fusion.py (tracked upstream in vllm-project/vllm#64420).
No breaking changes; healthy NVSwitch hosts continue using backend=mnnvl unchanged. Verified with ruff check/format and an isolated unit check covering SM100 TP=8/TP=4 resolution, idempotency, and trigger_completion_at_end behavior.