Repository navigation
[Backport] [release/v0.1.22] [JIT] [Bugfix] Add hipccl include path for libhipcxx (ROCM-35101) - #8961
Merged
Conversation
(cherry picked from commit 2791c05)
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
Backport #8864 (
2791c05) torelease/v0.1.22so a release tag carries thelibhipcxx include-path fix.
Tracking: ROCM-35101. Related: ROCM-35091, ROCM-34983. Both ROCM defects are
TheRock promotion blockers.
Motivation
ROCm SDK nightlies from
10.3.0a20261125ship libhipcxx only under${ROCM_HOME}/include/hipccl, and rocThrust no longer falls back to::std.AITER's JIT uses its own copy of
cpp_extension.py, so the PyTorch-side fix(ROCm/pytorch #4069/#4070/#4071) does not reach it.
The SGLang UFB nightly image pins a raw AITER commit from this era and builds
AITER with
PREBUILD_KERNELS=0, so the image builds fine and the failureappears only at runtime, when the server JIT-builds a kernel pulling in
Thrust headers:
The scheduler dies during startup; 37 SGLang accuracy and perf tests fail this
way on the 10.3.0a20261127 nightly.
Why this release line
The SGLang v0.5.21 UFB image's AITER revision is
acf8fdf93(theAITER_COMMIT_DEFAULTon SGLang'samd_marchbranch).release/v0.1.22already contains that commit and is only 9 commits ahead of it, and its head is
exactly tag
v0.1.22.post1. Tagging av0.1.22.post2from this branch letsthat image move from a raw-commit pin to a supported release tag across a
4-day, release-blessed delta — rather than jumping three months of AITER.
If maintainers would rather land this only on newer lines:
mainalready hasthe fix, so any tag cut from
mainafter 2026-11-30 carries it, and thecherry-pick also applies clean to
release/v0.1.24,release/v0.1.29andrelease/v0.1.30.Changes
git cherry-pick -x 2791c05, no conflicts. Added lines are byte-identical tothe commit on
main:include_paths()inaiter/jit/utils/cpp_extension.py: for HIP extensions,append
<rocm_include>/hipccland<devel_include>/hipcclwhen eachdirectory exists.
14 insertions, no deletions, one file. Guarded by
os.path.exists, so a ROCminstall without
hipcclbehaves exactly as before.Testing
No unit test: this changes an include path. The real test is a SGLang server
start on a ROCm build shipping
include/hipccl, which needs the UFB imagere-pinned to a tag cut from this branch.
Breaking Changes
None.
🤖 Generated with Claude Code