Repository navigation
[Build] Include FlashKDA docker - #5073
Open
qescccczmr wants to merge 2 commits into
Open
qescccczmr wants to merge 2 commits into
qescccczmr wants to merge 2 commits into
Conversation
Collaborator
|
why test docker ci failed ? can you fix it? |
Collaborator
|
In the current implementation branch, merely packaging flashKDA into the image only addresses the issue of the missing FlashKDA dependency in the image; it does not guarantee that kda prefill will use it.Please check |
This branch has not been deployed
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.
Motivation
CUDA 13 images include FLA 0.5.2 but omit FlashKDA, so eligible GLM-5.3 KDA prefill calls cannot use its CUTLASS backend. Package FlashKDA through the existing third-party wheel pipeline used by DeepEP and DeepGEMM.
Modification
d7e3b3a9f448500630fa60fb5200f4f9c9b1fc72and build its wheel only for thecu130target usingpip wheel --no-build-isolation --no-deps. Explicitly compile all upstream-supported architectures for builders without a GPU; bound NVCC/build parallelism.pip install /wheels/*.whl, require the wheel for CUDA 13, and check its import and forward entry point.FLA_FLASH_KDA=0in the CUDA 13 production and development image stages. FLA 0.5.2 checks package availability but does not reject unsupported GPU architectures, so enabling it remains explicit:docker run -e FLA_FLASH_KDA=1 ...on supported SM90+ hardware.FlashKDA remains limited to CUDA 13. Generic runtime requirements and LMDeploy attention/decode implementations are unchanged. This PR is independent of #5071.
The Docker CI follow-up also resolves the latest router release through GitHub's release redirect instead of the rate-limited unauthenticated API, and installs the cuDSS ABI 0 runtime required by Jetson PyTorch wheels with its library directory registered for the dynamic linker.
Validation
git diff --check.libcudss.so.0; the full Jetson runtime check is being rerun in CI.cuobjdumpconfirmed SM90a, SM100a, SM103a and SM120a cubins.FLA_FLASH_KDA=1; setting it to 0 selected Triton. Both output and FP32 recurrent state were finite. Relative RMS differences against Triton were approximately 0.00556–0.00563 (output) and 0.00453–0.00479 (state), for synthetic H=4 inputs.Checklist