[ROCm] Remove tilelang as a hard ROCm dependency#992
Merged
Conversation
tilelang is used only for the DeepSeek V4 MHC kernels on AMD, with `has_tilelang()` guards everywhere so the unfused fallback path is taken when it is absent. Making it a hard install_requires causes two problems: 1. The TVM shared library bundled with tilelang aborts (SIGABRT) on some Strix Halo CI runners during pytest collection, killing the entire test process before any test runs. 2. It adds ~48 MiB of TVM machinery to every ROCm vLLM installation even on systems that never run DeepSeek V4. Remove tilelang from requirements/rocm.txt, requirements/build/rocm.txt, and requirements/test/rocm.in. Users who want the fused MHC path can install it manually: `pip install tilelang==0.1.10`. Signed-off-by: Matthias Gehre <matthias.gehre@amd.com>
roberteg16
approved these changes
Jun 9, 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.
tilelang is used only for the DeepSeek V4 MHC kernels on AMD, with
has_tilelang()guards everywhere so the unfused fallback path is taken when it is absent. Making it a hard install_requires causes two problems:Remove tilelang from requirements/rocm.txt, requirements/build/rocm.txt, and requirements/test/rocm.in.
Fixes CI failure