Update CLAUDE.md#674
Open
Micky774 wants to merge 4 commits into
Open
Conversation
Micky774
requested review from
ipanfilo,
wangye805 and
wenchenvincent
as code owners
July 20, 2026 16:48
ipanfilo
approved these changes
Jul 22, 2026
ipanfilo
requested changes
Jul 22, 2026
| - **Python import flow**: framework selection happens in `transformer_engine/__init__.py` (driven by `NVTE_FRAMEWORK`); native `.so` resolution happens in `transformer_engine/common/__init__.py`. Start tracing from these two files for any import or framework-selection issue — function names inside may change, but the entry points are stable. | ||
| - **Build orchestration**: `setup.py` + helpers in `build_tools/` + CMake. ROCm vs CUDA backend detection lives in `build_tools/utils.py` — grep there (and for `NVTE_USE_ROCM`) for current behavior. | ||
| - **3rdparty submodules**: read `.gitmodules` for the current set and commit pins to determine current submodules. | ||
| - **AITER source**: the tree QoLA/TE actually builds is cloned on-demand to `3rdparty/QoLA/build/third_party/aiter` at the commit pinned in `transformer_engine/common/ck_fused_attn/qola_manifest.toml`. The in-tree `3rdparty/*/aiter` checkouts are stale — read the built tree (and check its HEAD) when reasoning about the linked ABI. |
Collaborator
There was a problem hiding this comment.
It is actually cloned to build/cmake/ck_fused_attn/qola/third_party/aiter/
Contributor
Author
There was a problem hiding this comment.
Updated, good catch
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.
Description
Add a small section explaining the role of AITER with the new QoLA build system, as well as some comments on developing with ck_jit.
Fixes # (issue)
Type of change
Changes
Please list the changes introduced in this PR:
Checklist: