ResearchQwenConfirmed
Story 7 of 8 in the Monday 12 October editionQwen’s QwenGyre framework speeds up training AI agents on hours-long tasks
Alibaba’s Qwen team moves GPUs between running agent tasks and training as the load shifts, and reports training up to 1.85 times faster than when both share the same GPUs.
Alibaba’s Qwen team has published QwenGyre, a framework for training agents with reinforcement learning, in which a model improves by being rewarded for good results. It targets what the paper calls extreme-long-horizon tasks: jobs in which one run may take hours, with hundreds of exchanges between model and environment and close to 1M tokens. The paper, on arXiv, has 12 authors from Alibaba Token Hub at Alibaba Group, the University of Science and Technology of China and Tsinghua University.
QwenGyre has two core parts. Its Elastic Scheduler shifts GPUs back and forth between training and rollouts as the load changes, without stopping runs already in progress. Rollouts are the runs in which the agent attempts tasks to produce training data. Its Trajectory Processor pieces together agent histories that branch, gives credit for partial progress and strips out repeated paths so training costs stay in check. The framework works with existing agent tools without changing them, and every experiment in the paper used Claude Code 2.1.220.
On Qwen 3.8 2.4T, Qwen’s flagship model, with 700k tokens per rollout, the same number of training steps took 75.42 hours with QwenGyre, against 134.55 hours for an asynchronous baseline and 91.47 hours for a shared-GPU baseline.

Across all the paper’s setups, QwenGyre ran 1.38 to 1.78 times faster than the asynchronous baseline and 1.21 to 1.85 times faster than the shared-GPU one on equal GPU budgets, while matching their training scores. The paper doesn’t link to a code release.
Study details
- Paper identifier
- arXiv:2609.33848 (cs.LG and cs.DC, 12 authors across Alibaba, USTC and Tsinghua)
- Flagship test model
- Qwen3.8-2.4T-A95B trained with 700k tokens per rollout via Claude Code 2.1.220
- NL2RepoBench gain
- 52.5% to 58.5% (6.0% absolute gain) across 48 online RL steps
- Wall-clock speedup
- 1.21 to 1.85 times over Colocate and 1.38 to 1.78 times over Async (roughly 44% time cut)
- Core subsystems
- Non-preemptive Elastic Scheduler and prefix-shared Trajectory Processor
Release details & context
NL2RepoBench results and prefix-shared trajectory trees
In the QwenGyre arXiv preprint and Qwen’s technical summary on X, scaling online reinforcement learning to Qwen3.8-2.4T-A95B at 700k tokens per rollout raised NL2RepoBench accuracy by 6.0% absolute, climbing from 52.5% to 58.5% in 48 training steps while trimming wall-clock time by roughly 44% against the asynchronous baseline.
When coding agents such as Claude Code 2.1.220 trigger context compactions, sub-agent delegations or tool retries, rollouts fork into non-linear histories. QwenGyre’s Trajectory Processor collapses those branches into prefix-shared trajectory trees with deduplicated samples and assigns partial-progress rewards even when multi-hour runs hit a timeout, laying infrastructure foundations ahead of Qwen’s Qwen4-Max coding preview on Alibaba Token Plan.
Common questions
How does QwenGyre handle context compactions, sub-agents and timeouts during agent rollouts?
Its Trajectory Processor merges branching executions from compactions, sub-agents and retries into prefix-shared trajectory trees with bounded deduplicated samples, while still scoring partial progress after timeouts.
What benchmark improvement did QwenGyre achieve on Qwen3.8-2.4T-A95B?
Across 48 online RL steps at 700k tokens per rollout, QwenGyre lifted NL2RepoBench performance from 52.5% to 58.5% while cutting training duration from 134.55 hours (Async) to 75.42 hours.
Sources
- PrimaryQwenGyre: An Elastic Reinforcement Learning Framework for Training XLong-Horizon Agentsarxiv.org · The paper on arXiv
- On X@Alibaba_Qwen on X: introducing QwenGyrex.com
Qwen release timeline (4 launches tracked)
- Qwen previews Qwen4-Max flagship model on Alibaba Token Plan
Qwen opens early preview access to Qwen4-Max across Alibaba’s Token Plan, QwenWork, Qoder, the Qwen app and QwenStudio for coding and agentic workflows.
- Qwen launches 2.4T Qwen4-Max MoE model at $1.5 and $4.5 per million
Qwen releases its 2.4T Qwen4-Max multimodal MoE on QwenCloud at $1.5 input, $4.5 output and $0.075 cached reads, cutting Work360 spend 62%.
- Qwen expands Qwen-Audio-3.1 to 65 TTS languages and Chinese dialects
Qwen updates its hosted Qwen-Audio-3.1 ASR, TTS, and Realtime Flash endpoints with expanded multilingual and Chinese dialect coverage.


