仔细看一看目前生产中的线性注意力模块、开销 以及深入探索有没有吞吐更高的新线性注意力模块 必须 training free 的
Jump to turn (7)
- 1仔细看一看目前生产中的线性注意力模块、开销 以及深入探索有没有吞吐更高的新线性注意力模块 必须 training free 的
- 2多 subagent 仔细调查 training free 的加速方法 最好有现成模块 sm120 就限制在这个 simplegla 上 等价替换
- 3就要优化 simple gla 开销 就要优化 simple gla 开销 做离线 bench、在线 graph compatitive profile 仔细思
- 4就要优化 simple gla 开销 就要优化 simple gla 开销 做离线 bench、在线 graph compatitive profile 仔细思
- 5SimpleGLA decode 和 prefill 部分 都要看 嗯 而且不要完全依赖于旧的脚本 你要独立思考
- 6也要做在线的 bench
- 7prefill 周边链路优先于重写 GLA recurrence - sigmoid/mul -> FP4 quant -> oproj 还有融合空间。 - 目
- User
仔细看一看目前生产中的线性注意力模块、开销 以及深入探索有没有吞吐更高的新线性注意力模块 必须 training free 的
- Assistant
我会先从当前生产路径入手定位线性注意力实现和调用参数,再看它的实际开销来源;之后再对照 training-free 约束筛选可能替换或改造的线性注意力方案。
- Assistant
工作树已经是 dirty,我会只读分析,不碰这些已有改动。定位结果显示生产启动默认开了
SGLANG_SIMPLE_GLA_DIRECT_DECODE=1、GLA fused qk/norm/rope 和 fused rmsnorm/sigmoid/mul,核心代码在hybrid_linear_attn_backend.py和 MiniCPM 模型层里。 - Assistant