Skip to content

Update Kimi-K2.6 B300 NVFP4 recipe / 更新 Kimi-K2.6 B300 NVFP4 配置#626

Open
Ankur-singh wants to merge 1 commit into
vllm-project:mainfrom
Ankur-singh:recipe/kimi-k2.6-nvfp4
Open

Update Kimi-K2.6 B300 NVFP4 recipe / 更新 Kimi-K2.6 B300 NVFP4 配置#626
Ankur-singh wants to merge 1 commit into
vllm-project:mainfrom
Ankur-singh:recipe/kimi-k2.6-nvfp4

Conversation

@Ankur-singh

Copy link
Copy Markdown

Summary

Validation

  • node scripts/build-recipes-api.mjs
    • ✓ JSON API: 147 models ... 8 strategies, 2 platforms
  • generated-command checks confirm:
    • the native-offload feature emits SimpleCPUOffloadConnector
    • the DCP command excludes EAGLE3 and TOKENSPEED_MLA
    • public/nvidia/Kimi-K2.6-NVFP4.json is generated
  • source InferenceX sweep: https://github.com/SemiAnalysisAI/InferenceX/actions/runs/29158176591

Source

中文说明

验证

  • node scripts/build-recipes-api.mjs
    • ✓ JSON API: 147 models ... 8 strategies, 2 platforms
  • 生成命令检查确认:
    • 启用原生卸载功能后会生成 SimpleCPUOffloadConnector
    • DCP 命令不会包含 EAGLE3 和 TOKENSPEED_MLA
    • 成功生成 public/nvidia/Kimi-K2.6-NVFP4.json
  • InferenceX 源扫描运行:https://github.com/SemiAnalysisAI/InferenceX/actions/runs/29158176591

cc @faradawn for review

Document the validated NVFP4 EAGLE3, DCP, and native CPU KV offload paths from InferenceX PR #2158.

中文:补充 InferenceX PR #2158 已验证的 Kimi-K2.6 NVFP4 B300 EAGLE3、解码上下文并行和原生 CPU KV 缓存卸载配置。

Signed-off-by: Ankur-singh <ankusingh@nvidia.com>
@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vllm-recipes Ready Ready Preview, Comment Jul 11, 2026 7:31pm

Request Review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Kimi-K2.6 model configuration to support NVIDIA B300 and Blackwell GPUs, bumping the minimum vLLM version to 0.25.0, pinning the NVIDIA docker image to a nightly build, and introducing a native CPU KV offload feature. The nvfp4 variant is updated with optimized parameters, and the markdown guide is expanded to document these new serving paths. Feedback suggests adding VLLM_USE_SIMPLE_KV_OFFLOAD: "1" to the nvfp4 variant's extra_env so that the environment variable is correctly generated in the UI command when the CPU KV offload feature is enabled.

Comment on lines 117 to +119
extra_env:
VLLM_USE_FLASHINFER_MOE_FP4: "1"
VLLM_FLASHINFER_ALLREDUCE_BACKEND: "trtllm"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The guide specifies export VLLM_USE_SIMPLE_KV_OFFLOAD=1 for the native CPU KV offload path. However, since features in the command builder do not support contributing environment variables, this environment variable won't be generated in the UI command when the native_cpu_kv_offload feature is enabled. To ensure the generated UI commands work seamlessly, consider adding VLLM_USE_SIMPLE_KV_OFFLOAD: "1" to the nvfp4 variant's extra_env.

    extra_env:
      VLLM_USE_FLASHINFER_MOE_FP4: "1"
      VLLM_FLASHINFER_ALLREDUCE_BACKEND: "trtllm"
      VLLM_USE_SIMPLE_KV_OFFLOAD: "1"

@ivanium ivanium left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good and self contained. We can remove the synthetic spec decoding args.

- "--attention-backend"
- "TOKENSPEED_MLA"
- "--speculative-config"
- '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4,"rejection_sample_method":"synthetic","synthetic_acceptance_length":3.24}'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove synthetic args:

Suggested change
- '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4,"rejection_sample_method":"synthetic","synthetic_acceptance_length":3.24}'
- '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4,}'

--max-num-batched-tokens 16384 \
--stream-interval 10 \
--enable-prefix-caching \
--speculative-config '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4,"rejection_sample_method":"synthetic","synthetic_acceptance_length":3.24}'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here:

Suggested change
--speculative-config '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4,"rejection_sample_method":"synthetic","synthetic_acceptance_length":3.24}'
--speculative-config '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4}'

--max-num-batched-tokens 16384 \
--stream-interval 10 \
--enable-prefix-caching \
--speculative-config '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4,"rejection_sample_method":"synthetic","synthetic_acceptance_length":3.24}' \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--speculative-config '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4,"rejection_sample_method":"synthetic","synthetic_acceptance_length":3.24}' \
--speculative-config '{"method":"eagle3","model":"lightseekorg/kimi-k2.6-eagle3-mla","num_speculative_tokens":4}' \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants