AI Practices AI实践 4h ago Updated 1h ago 更新于 1小时前 50

Experiment with Qwen3.8-Flash-Next 176B Model on NVIDIA GB300 NVL72 for Agentic Coding 在 NVIDIA GB300 NVL72 上实验 Qwen3.8-Flash-Next 176B 模型用于智能体编程

Alibaba released Qwen3.8-Flash-Next, a 176B-parameter multimodal MoE model previewing the upcoming Qwen4 architecture, with a native 262K-token context window extensible to 1M tokens via YaRN The model introduces a hybrid Gated DeltaNet (GDN) + Qwen Sparse Attention (QSA) architecture, where 3 of every 4 layers use GDN to compress historical context into fixed-size recurrent states, while the remaining layer uses QSA for precise retrieval QSA achieves up to 7.6x prefill speedup and 4.9x decoding Qwen3.8-Flash-Next是阿里巴巴176B参数多模态MoE模型,原生支持262K token上下文(可通过YaRN扩展至1M),专为Agentic Coding等长上下文场景设计 创新采用Gated DeltaNet (GDN) + Qwen Sparse Attention (QSA)混合架构:3/4层使用GDN压缩历史上下文为固定状态,1/4层使用QSA进行精确检索,解决长上下文推理瓶颈 QSA通过micro-block聚合和块级重要性估计实现显著加速:相比全注意力机制,prefill加速7.6倍、decoding加速4.9倍,在1M token上下文下prefill吞吐量达Q

68
Hot 热度
72
Quality 质量
74
Impact 影响力

Analysis 深度分析

TL;DR

  • Alibaba released Qwen3.8-Flash-Next, a 176B-parameter multimodal MoE model previewing the upcoming Qwen4 architecture, with a native 262K-token context window extensible to 1M tokens via YaRN
  • The model introduces a hybrid Gated DeltaNet (GDN) + Qwen Sparse Attention (QSA) architecture, where 3 of every 4 layers use GDN to compress historical context into fixed-size recurrent states, while the remaining layer uses QSA for precise retrieval
  • QSA achieves up to 7.6x prefill speedup and 4.9x decoding speedup over full attention, with 8.6x prefill throughput gains over Qwen3.7-Plus at 1M-token contexts
  • Running on NVIDIA GB300 NVL72 (72 Blackwell Ultra GPUs), the model delivers over 16K tokens/sec per GPU and scales from local workstations to rack-scale production deployment
  • NVIDIA provides end-to-end support through SGLang, vLLM, TensorRT-LLM, NeMo AutoModel, and NeMo RL for fine-tuning and inference

Why It Matters

This model represents a significant step toward practical long-context AI systems, directly addressing the compute and memory bottlenecks that have limited real-world agentic coding and document processing workflows. The hybrid GDN-QSA architecture offers a compelling blueprint for balancing compression efficiency with retrieval accuracy at scale. For practitioners, the availability of model weights and Day-0 NVIDIA stack support lowers the barrier to experimenting with million-token context applications.

Technical Details

  • Model Architecture: 176B total parameters (including 51B N-gram embeddings), 6B activated per token in a MoE configuration. Three out of four layers use Gated DeltaNet (GDN) for recurrent compression of historical context into fixed-size states, eliminating KV cache growth. The remaining layer uses Qwen Sparse Attention (QSA), which aggregates tokens into micro-blocks for block-level importance estimation and selective retrieval.
  • Context & Efficiency: Native 262,144-token context window, extensible to 1M tokens via YaRN. QSA reduces attention, compute, and indexing overhead by operating at the block level rather than token level, avoiding the scaling costs of previous sparse-attention approaches.
  • Benchmark Performance: Up to 7.6x prefill speedup and 4.9x decoding speedup over full attention at 1M-token contexts. In cache-heavy online serving (90% prefix-cache hit rate), achieved 8.6x prefill throughput over Qwen3.7-Plus.
  • Hardware & Deployment: Validated on NVIDIA GB300 NVL72 (72 Blackwell Ultra GPUs, 130 TB/s NVLink), delivering >16K tokens/sec/GPU and >200 tokens/sec per user. Also supported on NVIDIA DGX Station, DGX Spark, and RTX PRO 6000 workstations. Inference stacks include SGLang, vLLM, and TensorRT-LLM; fine-tuning via NeMo AutoModel (SFT/LoRA) and NeMo RL.

Industry Insight

  • The GDN-QSA hybrid architecture signals a shift away from pure dense attention toward mixed recurrent-sparse designs for long-context serving, likely influencing future model architectures across the industry as context windows continue to expand.
  • The seamless scaling path from local workstation prototyping to rack-scale GB300 NVL72 deployment demonstrates NVIDIA's strategy of unifying the developer experience across hardware tiers, making it easier for teams to iterate locally and productionize at scale without model or pipeline changes.
  • Alibaba releasing model weights as a "preview" of Qwen4 suggests an increasingly competitive open-weight ecosystem where early access to architectural innovations becomes a key differentiator for developer adoption and ecosystem lock-in.

TL;DR

  • Qwen3.8-Flash-Next是阿里巴巴176B参数多模态MoE模型,原生支持262K token上下文(可通过YaRN扩展至1M),专为Agentic Coding等长上下文场景设计
  • 创新采用Gated DeltaNet (GDN) + Qwen Sparse Attention (QSA)混合架构:3/4层使用GDN压缩历史上下文为固定状态,1/4层使用QSA进行精确检索,解决长上下文推理瓶颈
  • QSA通过micro-block聚合和块级重要性估计实现显著加速:相比全注意力机制,prefill加速7.6倍、decoding加速4.9倍,在1M token上下文下prefill吞吐量达Qwen3.7-Plus的8.6倍
  • 在NVIDIA GB300 NVL72(72个Blackwell Ultra GPU)上实现每GPU超16K tokens/sec推理速度,支持从本地DGX/工作站到机架级部署的无缝扩展
  • 作为Qwen4架构预览版开源权重,NVIDIA提供SGLang/vLLM/TensorRT-LLM推理栈及NeMo AutoModel/RL微调工具链的Day-0支持

为什么值得看

本文展示了长上下文推理的最新架构突破,通过GDN+QSA混合设计有效解决KV cache膨胀和注意力计算瓶颈,为Agentic AI等需要超长上下文的场景提供实用解决方案。模型作为Qwen4预览版开源,结合NVIDIA GB300 NVL72的硬件优化,为开发者提供了从原型到生产的全栈工具链参考。

技术解析

  • 混合架构设计:采用3层Gated DeltaNet (GDN) + 1层Qwen Sparse Attention (QSA)的交替结构。GDN将历史上下文压缩为固定大小的循环状态,消除KV cache随序列长度增长的问题;QSA将序列聚合为micro-blocks,进行块级重要性估计和检索,降低注意力计算开销。
  • 性能优化数据:在1M token上下文场景下,QSA相比全注意力机制实现7.6倍prefill加速和4.9倍decoding加速;在90% prefix-cache命中率测试中,prefill吞吐量达到Qwen3.7-Plus的8.6倍。
  • 硬件部署方案:在NVIDIA GB300 NVL72(72 GPU NVLink域,130 TB/s带宽)上实现每GPU超16K tokens/sec推理速度(>200 tokens/sec/用户)。支持从NVIDIA DGX Station、DGX Spark集群到RTX PRO 6000工作站的本地原型开发,可扩展至机架级生产部署。
  • 工具链支持:NVIDIA提供SGLang、vLLM、TensorRT-LLM、TokenSpeed等推理引擎的Day-0支持;NeMo AutoModel支持PyTorch原生微调(含LoRA/SFT),NeMo RL提供强化学习训练配方。

行业启示

  • 长上下文推理架构演进:GDN+QSA混合设计代表了突破传统注意力计算瓶颈的新方向,通过状态压缩与稀疏检索的结合,为1M+ token上下文应用提供了可落地的技术方案,预示未来模型架构将更注重上下文效率而非单纯扩大参数。
  • 硬件-模型协同优化趋势:NVIDIA GB300 NVL72的130 TB/s NVLink带宽与MoE模型的专家路由需求高度匹配,展示了专用硬件架构对释放大模型潜力的关键作用,建议开发者关注硬件选型与模型特性的匹配度。
  • 开源预览版战略价值:以Qwen4预览形式提前开放权重,既收集开发者反馈又建立生态标准,配合NVIDIA全栈工具链支持,形成"模型-硬件-工具"三位一体的开发者体验,这种开放策略可能成为大模型发布的新范式。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Open Source 开源 LLM 大模型 GPU GPU Code Generation 代码生成 Agent Agent