The whole dayMon 12 Oct 2026
AI Compass
WeeklyArchiveAbout

Qwen’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.

Logo: QwenCover by AI Compass

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.

Six charts for Qwen 3.8 2.4T: after 48 training steps, QwenGyre is 1.784 times faster than the asynchronous baseline and 1.213 times faster than the shared-GPU one, with similar training and evaluation scores
Qwen’s training runs on Qwen 3.8 2.4T; Async and Colocate are the asynchronous and shared-GPU baselinesImage: Qwen

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.

Qwen release timeline (4 launches tracked)

  1. Shipped next10 Nov 2026
    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.

  2. Shipped next16 Nov 2026
    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%.

  3. Shipped next26 Nov 2026
    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.

Explore the full Qwen dossier or browse all research releases.

Also in the Monday 12 October edition

Read all 8 launches on one page
  1. 01
  2. 02
  3. 03
  4. 04
  5. 05
  6. 06
  7. 08

Spotted an error? Email aicompass@ashutoshai.com or tag @ai_for_success on X

Daily & Weekly Briefing

Get the 5-minute AI briefing

Every confirmed AI launch from primary sources, in your inbox between 9:30 and 10:30 AM IST.

1-click unsubscribe · Privacy

! Please enter a valid email address (for example, you@domain.com).

Morning Edition Alerts

Get a 1-click alert at 9:30 AM IST

One quiet browser alert when each daily or Sunday Weekly edition goes live between 9:30 and 10:30 AM IST. No email required. Privacy