TRL AsyncGRPOTrainer 树注意力支持线性注意力,提速最高 3.46x

SergioPaniego · x · 2026-10-27

TRL 的 AsyncGRPOTrainer tree attention 现已支持线性注意力(linear attention)模型,最高加速 3.46 倍。

技术实现:

配图基准(1x H100,BF16,真实 AsyncGRPO step):Qwen3.5-0.8B 在 grpo-g1-64k 场景提速 3.84x、agent-fork-long 4.36x;Qwen3.5-2B 最高 4.24x,且部分场景 baseline 直接 OOM,而 tree packing 方案仍可运行。

原文链接 →

「Infra」频道最新

更多「Infra」频道 AI 资讯 →