Conversation
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
1deef32 to
cc071e1
Compare
…parallelism Signed-off-by: Xin Yang <xyangx@amazon.com>
| target_layer_num = self.vllm_config.model_config.get_num_layers( | ||
| self.vllm_config.parallel_config) | ||
| self.vllm_config.parallel_config | ||
| ) * self.vllm_config.parallel_config.pipeline_parallel_size |
There was a problem hiding this comment.
Looks like this code assumes the layers are always equally distributed between nodes. Wondering whether it's always the case?
|
This pull request has merge conflicts that must be resolved before it can be |
Engine init died with "NotImplementedError: Pipeline parallelism is not supported for this model" — SpeculativeConfig verifies the draft model against a parallel config that unconditionally inherits the target's pipeline_parallel_size (2), and the Inferact/Kimi-K3-DSpark draft head does not implement SupportsPP. At runtime V1 drafters load ONLY on the final pipeline stage (vllm-project/vllm#16568), effectively draft_pipeline_parallel_size=1, and upstream has no config knob for it — so extend the in-container patch script to verify the draft against a pp=1 view of the parallel config. Idempotent; refuses to patch if the call-site shape changed. 中文:引擎初始化报 "Pipeline parallelism is not supported for this model"—— SpeculativeConfig 用无条件继承目标 pipeline_parallel_size(2) 的并行配置校验 草稿模型,而 Inferact/Kimi-K3-DSpark 草稿头未实现 SupportsPP。V1 运行时草稿 模型仅加载在最后一个流水线阶段(vllm#16568),等效 draft_pipeline_parallel_size=1,且上游无相应配置项——故扩展容器内补丁脚本, 以 pp=1 视图校验草稿模型。补丁幂等,调用点形态变化时拒绝执行。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Engine init died with "NotImplementedError: Pipeline parallelism is not supported for this model" — SpeculativeConfig verifies the draft model against a parallel config that unconditionally inherits the target's pipeline_parallel_size (2), and the Inferact/Kimi-K3-DSpark draft head does not implement SupportsPP. At runtime V1 drafters load ONLY on the final pipeline stage (vllm-project/vllm#16568), effectively draft_pipeline_parallel_size=1, and upstream has no config knob for it — so extend the in-container patch script to verify the draft against a pp=1 view of the parallel config. Idempotent; refuses to patch if the call-site shape changed. 中文:引擎初始化报 "Pipeline parallelism is not supported for this model"—— SpeculativeConfig 用无条件继承目标 pipeline_parallel_size(2) 的并行配置校验 草稿模型,而 Inferact/Kimi-K3-DSpark 草稿头未实现 SupportsPP。V1 运行时草稿 模型仅加载在最后一个流水线阶段(vllm#16568),等效 draft_pipeline_parallel_size=1,且上游无相应配置项——故扩展容器内补丁脚本, 以 pp=1 视图校验草稿模型。补丁幂等,调用点形态变化时拒绝执行。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This PR aims to make speculative decoding compatible with pipeline parallelism.
Commands: