执行摘要
添加 DeepSeek-V4-Flash 演示 notebook
Add a runnable DeepSeek-V4-Flash demo notebook showing how to serve the model with SGLang and use its long-context capability for research paper synthesis.
该 PR 适合作为入门参考,尤其是需要快速体验 DeepSeek-V4-Flash 长上下文能力的用户。但技术人员若关注推理引擎深度优化,可跳过此 PR。
正确性讨论:审查者 zjixia 指出 separate_reasoning 仅拆分 reasoning_content 字段,并不实际启用推理,导致“Think-High”调用实际上是非推理模式(提交的输出中推理块字数为 0)。正确的做法是使用 extra_body={"chat_template_kwargs": {"thinking": True}}。PR 作者随后更新了 Notebook 并重新运行。
设计讨论:审查者要求在 DeepSeek-V4 cookbook 中添加指向 Notebook 的链接,并修正了 --speculative-algorithm EAGLE 参数的缺失问题。PR 作者均予以采纳。
参与讨论