[CI] Fix cutlass import error: restore nvidia-cutlass-dsl force-reinstall#21182
Merged
Kangyan-Zhou merged 1 commit intomainfrom Mar 23, 2026
Merged
[CI] Fix cutlass import error: restore nvidia-cutlass-dsl force-reinstall#21182Kangyan-Zhou merged 1 commit intomainfrom
Kangyan-Zhou merged 1 commit intomainfrom
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
…tall The CUDA dependency install refactor (#21017) accidentally removed the force-reinstall of nvidia-cutlass-dsl. Docker images ship nvidia-cutlass-dsl-libs-base 4.3.5; upgrading to 4.4.2 can delete the .pth file without reliably recreating it (pip race condition), causing stage-b/c jobs to fail with ModuleNotFoundError: No module named 'cutlass'.
Collaborator
Author
|
/tag-and-rerun-ci |
8b17c0c to
1bf3b33
Compare
rainj-me
approved these changes
Mar 23, 2026
0-693
pushed a commit
to 0-693/sglang
that referenced
this pull request
Mar 25, 2026
…tall (sgl-project#21182) Co-authored-by: Alison Shao <alison.shao@mac.lan>
JustinTong0323
pushed a commit
to JustinTong0323/sglang
that referenced
this pull request
Apr 7, 2026
…tall (sgl-project#21182) Co-authored-by: Alison Shao <alison.shao@mac.lan>
yhyang201
pushed a commit
to yhyang201/sglang
that referenced
this pull request
Apr 22, 2026
…tall (sgl-project#21182) Co-authored-by: Alison Shao <alison.shao@mac.lan>
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.
Summary
nvidia-cutlass-dslforce-reinstallModuleNotFoundError: No module named 'cutlass'across all runner types (5090, H100, B200)nvidia-cutlass-dsl-libs-base4.3.5, butpyproject.tomlrequires>=4.4.1. During the pip upgrade, the.pthfile (which makesimport cutlasswork) gets deleted but is not reliably recreated — a pip race condition. The force-reinstall ensures the.pthfile is always present.nvidia-cutlass-dsl-libs-base4.4.2 baked in, so the upgrade doesn't happen at CI runtimeFailing jobs: https://github.com/sgl-project/sglang/actions/runs/23418883303/job/68120071432, https://github.com/sgl-project/sglang/actions/runs/23421614705/job/68127702256
Test plan
python3 -c 'import cutlass; import cutlass.cute;'verification step