Repository navigation
chore: bump apache-tvm-ffi 0.1.9 -> 0.1.11 - #47
Merged
Fridge003 merged 1 commit intoJun 18, 2026
Merged
Conversation
Bump the apache-tvm-ffi pin in both the sgl-deep-gemm wheel (sgl_deep_gemm/pyproject.toml) and the legacy deep_gemm source build (setup.py). 0.1.11 is the known-good target (0.1.12 has the duplicate __ffi_repr__ import-abort regression, tile-ai/tilelang#2367). Note: a consistent released wheel also requires bumping TVM_FFI_VER in sglang's docker/sgl-deep-gemm.Dockerfile (the build-time ABI used to compile _C.so) in lockstep — tracked as a separate SGLang PR. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
MartinHua
marked this pull request as ready for review
June 17, 2026 00:27
MartinHua
added a commit
to MartinHua/sglang
that referenced
this pull request
Jun 17, 2026
Bump TVM_FFI_VER (the build-time apache-tvm-ffi the release-whl-deepgemm.yml workflow installs to compile the sgl-deep-gemm wheel's _C.so) from 0.1.9 to 0.1.11, to match the wheel's runtime pin moving to 0.1.11 in sgl-project/DeepGEMM#47. Build-time and runtime tvm-ffi must agree for an ABI-consistent wheel. 0.1.11 (not 0.1.12) avoids the __ffi_repr__ import-abort regression (tile-ai/tilelang#2367). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Fridge003
approved these changes
Jun 18, 2026
Fridge003
pushed a commit
that referenced
this pull request
Jun 20, 2026
Helicoplacoidea
pushed a commit
to Helicoplacoidea/DeepGEMM
that referenced
this pull request
Aug 31, 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.
What
Bump the
apache-tvm-ffipin0.1.9→0.1.11in the two (only) places it appears in this repo:sgl_deep_gemm/pyproject.toml— runtime dependency of the publishedsgl-deep-gemmwheelsetup.py—install_requiresof the legacydeep_gemmsource buildWhy 0.1.11 (and not the latest 0.1.12)
0.1.12has a duplicate__ffi_repr__import-abort regression (tile-ai/tilelang#2367).0.1.11is the known-good target. Both are on PyPI.Verification
Built the wheel against tvm-ffi
0.1.11and validated on both architectures.Hopper (H100):
_C.socompiles clean (sm90);sgl_deep_gemm/run_tests.shsingle-GPU suite passes (test_bf16,test_einsum,test_fp8_fp4,test_hyperconnection,test_layout,test_attention).test_mega_moe_hopper.py --num-processes 8passes on an 8×H100 SXM (NVLink) node (~805 TFLOPS).test_mega_moe_hopper.py --accuracy: 28/28 scenarios, diff=0.0006 (tol 0.07).Blackwell (B300, sm103):
_C.socompiles clean (sm103, auto-detected — no arch override needed).deepseek-ai/DeepSeek-V4-Flash(TP=4, fp4 MoE); GSM8K accuracy 0.93–0.96, 0 invalid across two runs.🤖 Generated with Claude Code