Loading…
Topic
Qwen
6 posts about Qwen. Every summary links to the original.
- 6 posts
- 3 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Swarms, Flocks, Gangs: How to build, train, and evaluate multi-agent systems
Multi-agent systems introduce complexity without guaranteed performance gains, as adding agents changes context, budget, and system complexity. The post reproduces an information-aggregation task where four agents share a single Qwen3-0.6B policy and must learn to communicate private integer assignments to produce a correctly sorted list. Training uses centralized training with decentralized execution, a shared team reward, and GRPO via TRL’s async_grpo_s3_aggregation.py on two H200 GPUs. The key question is whether communication actually helps or merely consumes more compute, tested by comparing communicating and independent agents at matched token budgets. At 75 updates, the team solves most checked problems but has not converged to the cleanest communication pattern, showing that success, token use, and communication structure must be read together.
Distilling Kimi-K3.1-Pro into Qwen3.8-27B: Teaching a model a new language
Qwen3.8-27B, a popular small language model, cannot write Lao and instead answers in Thai when asked for Lao, scoring 5.5 chrF++ on the FLORES-200 test set. The authors used Kimi-K3.1-Pro as a teacher and distilled its Lao translation ability into Qwen3.8-27B via off-policy distillation with Together Post-Training. After training on about 3,800 of Kimi-K3.1-Pro’s translations, the student scored 44.3 chrF++, reaching 93% of the teacher’s score, and wrote Lao on every test sentence. Adding about 1,000 Kimi-K3.1-Pro Thai translations to the training data prevented regression in Thai, which had collapsed in earlier runs. All experiments together cost $260, and the code and settings are available in the post-training cookbook.
Qwen4 Max is live on Together AI
Together AI launched Qwen4 Max, Alibaba’s flagship 2.4-trillion-parameter sparse mixture-of-experts model, on its Serverless Inference platform with a 1M-token context window. The post demonstrates a single-request test: the model received a bug report and all 344 files of the Tornado repository (652,519 tokens) without retrieval or tool use. In 72 seconds, it returned a patch that passes the maintainers’ regression tests and the full 1,673-test suite. The model independently identified a precedent in tornado/iostream.py that the maintainers also cited in their own fix. Sale pricing through November 22, 2026, is $1.05 per 1M input tokens, $0.0525 per 1M cached input tokens, and $3.15 per 1M output tokens.
Qwen3 TTS is now available on Together AI
Together AI now hosts Qwen3 TTS, an open text-to-speech model that separates speaker identity from delivery style. Developers choose one of nine preset voices and control tone and emotion with a plain-language instruction such as “excited and upbeat.” Each voice supports 10 languages, including Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, and Italian. The model is available on Together Serverless Inference and dedicated endpoints at $20 per 1M characters, with first audio in as little as 97ms. Audio can be streamed over HTTP with server-sent events or via a WebSocket API for incremental text input.
Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost
Training reinforcement learning-based LoRA adapters inside a specific agent harness improves model accuracy and efficiency for that harness and task combination. The post presents a reusable recipe for training such harness adapters, using Qwen3.8-27B as the base model and three harnesses: Pi, OpenCode, and Hermes Agent. The adapters are trained with GRPO using TRL’s AsyncGRPOTrainer, with rollouts executed inside the harness itself via Harbor integration. Results show that each harness adapter outperforms the base model on benchmarks like Terminal-Bench 2.1, achieving higher pass@1 scores while using fewer tokens. The three adapters were also merged into a single super adapter that works across all three harnesses without modification.
Reducing Qwen training time by 6x on AI Runtime
The post describes systematic performance optimization to reduce fine-tuning time for the Qwen 3.8 27B model on AI Runtime from 7 hours 44 minutes to 1 hour 17 minutes, a 6x improvement. The baseline showed 98% GPU utilization, but torch traces revealed the CPU was stalling the GPU with too many small operations. Installing manually fused kernels such as flash-linear-attention and causal-conv1d reduced the number of GPU operations by 15x and improved training speed by 3.7x. Further gains came from switching from 2D padded batches to 1D packed tensors with correct position_ids, which reduced the number of batches by 36% and eliminated dynamic shape recompilation. The post emphasizes measuring what matters beyond GPU utilization and leveraging pre-built community kernels and efficient batching.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.