Repository navigation
Conversation
…KV cache), a folder per RTX GPU
…AR deploy example
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 does this PR do?
Adds a decode megakernel for the NVFP4 model on one RTX PRO 6000 (96 GB), at the model's full 260k-token window: on a bf16 KV cache by default, or on an FP8 one with
engine.kv_cache_dtype=fp8_e4m3. The GPU is detected, as for GB300 and the RTX 5090: a recipe sets no switch.pear/models/qwen3_5/deploy/rtx_blackwell/nvfp4/holds a folder per GPU:rtx5090/(the kernel onmain, moved),rtxpro6000/(new) andcommon/csrc/(the four files both include).-DMK_KV_FP8=1).gpu_backend.pyhas a backend per GPU and KV cache dtype, matched by the GPU's name.Fp8KvCacheMixinindeploy/gpu_backend.py, which the GB300 FP8 KV cache PR adds at the same place, so the two merge into one.examples/models/qwen3_8_27b_pear/deploy/gpu/rtxpro6000.yaml(GPU=rtxpro6000). The README's hardware table and News name the RTX PRO 6000. The GB300 FP8 KV cache PR edits the same table.How was it verified?
CI's CPU jobs pass locally (
pre-commit, the tests job'spytestcommand), with new tests for the backend chosen per GPU and KV cache dtype, the builds and the recipe.On the GPUs, the branch against the kernel it was ported from (RTX PRO 6000) and against
main(RTX 5090), in one job on one GPU: the generated code is instruction-identical, on identical inputs the outputs are bitwise equal (theaccuracy gate, its four fallback samplings and the acceptance run's 16 answers), and the verify step's period is within 0.07%.
Decode speed with the DFlash2 checkpoint, measured as the README's GB300 and RTX 5090 figures: 16 logged robot-control conversations (1.9k to 68k tokens of context) through the recipe's server, decode time from the server's own metrics.
Checklist
[module] type: description, for example[envs] fix: the reset of a stale episode. CI checks it against the modules and types of.github/scripts/pr_title.py.pre-commit run --all-filespasses.3rdparty/*/patcheswas exported by the scripts there.