Conversation
csahithi
requested review from
BBuf,
DarkSharpness,
HydraQYH,
celve and
yuan-luo
as code owners
March 20, 2026 02:17
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Collaborator
|
It seems that this is a duplicate of #20874 . Thanks for your contribution. We will get it merged ASAP |
Collaborator
Author
@DarkSharpness thank you for sharing the existing PR! Hoping it will be merged soon since it is a blocking bug for GB200 |
Collaborator
Author
|
closing this PR since the change is now merged |
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.
Motivation
On CUDA 13+,
_get_nvfp4_cuda_arch_list()appends"10.3a"to the arch list for any Blackwell device that isn'tsm_103a. This causes the JIT compiler to generate code for multiple architectures (e.g."10.0a 10.3a"on GB200).This is causing cross-compilation,
__CUDA_ARCH__ = 1030 != SGL_CUDA_ARCH = 1000, causing the assertion to fail and crashing FP4 model startup.Observed this on GB200:
Modifications
Remove the cross-arch addition. Each device now compiles only for its own architecture, keeping
__CUDA_ARCH__andSGL_CUDA_ARCHin sync.Checklist
Review Process
/tag-run-ci-label,/rerun-failed-ci,/tag-and-rerun-ci