Closed
[Requirement|需求建议]: 为 `RecurrentGatedDeltaRule` 算子新增 `float32` 类型的 `state`(ssm_state)支持。 #1725
Vi1taAdd on Apr 7Closed at Jul 2
Vi1ta
Apr 7 Comments:
Apr 7 Comments:
/assign @a526214478


Apr 7 Assign a526214478 as responsible person
miaofangzheng
Apr 7 Comments:
Apr 7 Comments:
需求合理,接纳;


jiang-lirui
Apr 7 Comments:
Apr 7 Comments:
感谢你的贡献,代码已review,请查看检视意见


Apr 28 associated Kanban: Transformer
Vi1ta
May 20 Comments:
May 20 Comments:


May 22 Associated pull request
May 27 Assign jiang-lirui as responsible person
jiang-lirui
Jul 2 Comments:
Jul 2 Comments:
代码已合入,issue关闭


Jul 2 changed custom state from 进行中 to 已解决
Jul 2 Close issue
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
vllm-ascend 在适配 Qwen3.5 系列模型(
Qwen3_5GatedDeltaNet)时,模型的ssm_state张量为float32格式。由于torch_npu.npu_recurrent_gated_delta_rule当前不支持float32的ssm_state输入,vllm-ascend 当前为Qwen3_5GatedDeltaNet保留单独的_forward_core实现作为临时规避,无法复用已有的Qwen3NextGatedDeltaNet逻辑。Benefit / Necessity (价值/作用)
在ops-transformer实现高性能算子,提升推理吞吐量,同时也能避免vllm_ascend重复造轮子
Design(设计方案)
修改算子定义,新增
float32类型的state(ssm_state)支持,同时调整tiling和kernel处理逻辑