如果这个周末你只读一篇长文:
介绍运行框架适配器:让你喜欢的模型适配你的运行框架,以提升性能、降低成本(由 @yb2698 牵头)。
Qwen3.8-27B 在 Pi 中的 Terminal-Bench 2.1 得分从 39% 升至 55%,而 token 用量只有原来的一半。
- 据帖文,适配后的配置所用 token 数量仅为基线的一半。

Machine Learning Engineer @huggingface 🤗 AI PhD. Technology enables us to be more human. 🏳️🌈
移动鼠标查看每日粉丝变化
如果这个周末你只读一篇长文:
介绍运行框架适配器:让你喜欢的模型适配你的运行框架,以提升性能、降低成本(由 @yb2698 牵头)。
Qwen3.8-27B 在 Pi 中的 Terminal-Bench 2.1 得分从 39% 升至 55%,而 token 用量只有原来的一半。
想开始用强化学习环境训练智能体吗?
这份教程是个不错的入门选择:使用 SFT 和 GRPO 训练 Qwen3-1.7B 玩 Wordle,采用 TRL + OpenEnv。
脚本、笔记本、分步指南……全部开放!
weekend read: our blog with everything you need to start with async RL in TRL, now that it's stable
how it differs from synchronous RL, how to run it, and what you can train with it, from math rewards to agents
AsyncGRPOTrainer is now stable in TRL v1.18.0!
generation and training run at the same time on separate GPUs, instead of taking turns
we wrote up how to run it, what you can train with it and how it compares with GRPOTrainer:
on-policy distillation for agents is now in TRL!
a small agent practices in the same environments you use for RL, and a bigger open model you run yourself scores every step it takes
weekend read, in case you missed it in september
> the trainer and vLLM run as separate HF Jobs > the LoRA adapter travels through a storage bucket > no NCCL needed
async RL in TRL is already training genomic models, math provers and coding agents!
> the RL stage of Carbon-X, a genomic model > a 2B model writing olympiad proofs, in FineEnvs > a 2B model trained inside OpenCode and Harbor, also in FineEnvs > coding agents inside pi, OpenCode and Hermes, from 1.7B to 27B, in harness-hub
and Unsloth, Axolotl and Snowflake's Arctic Platform build their async RL on top of it
async RL in TRL is fast, and now it's stable!
sync RL training alternates between writing answers and learning from them, so part of the GPUs is always waiting. TRL's async trainer does both at the same time
on the same number of training steps you get: > 5h on 16 GPUs instead of 20h on 8 > about the same reward at every step > 2x the GPUs, but about half the GPU-hours
how it works and how to run it:
async RL in TRL comes with ready-to-run examples!
> Qwen3-0.6B learning math on 2 GPUs > Qwen3-8B with LoRA, syncing 160 MB per step instead of 16 GB > a coding agent trained inside its own harness, on 1 HF Job > a team of 4 agents learning to work together
ICYMI, Inkling 2 Mini @thinkymachines is out, a 26B looped transformer (3.4B active) small enough to run on your laptop
you can already fine-tune it with TRL!
the example teaches it to read analog clocks, going from 0% to 87% read to the second after 53 min of LoRA on one H100
Ever wondered what GPU kernels actually are?
Here’s the answer in one tweet:
Compute kernels are functions that perform computational work like matrix mulitplications, normalizations, etc. When we launch a GPU kernel, we spawn multiple threads each doing the same task (with different input and memory pointers) in parallel.
GPU architectures differ across manufacturers. Developers use programming APIs, languages and compilers to targets each devices.
NVIDIA - CUDA Runtime - CUDA C++ AMD - HIP within ROCm - HIP C++ Apple - Metal - Metal Shading Language
To abstract away these low level APIs, we have high level programming languages for each of them too.
NVIDIA - CUDA C++ AMD - HIP C++ Apple - Metal Shading Language
The language describes the computation, the compiler translates it into GPU work, and the API handles resources and launches the work.
Libraries like PyTorch, GGML, MLX, provide tensor operations on top of this infrastructure. When you request an operation, the framework selects a backend and its implementation.
With the Kernels on the Hub we want to make optimized implementations easier to distribute and reuse across frameworks and hardware.
The v0.19.0 kernels release adds support for MLX kernel packages with a Metal backend. This takes a step forward in the goal we have set up to reach.
If you have any queries about the release, or kernels in general, drop a comment and I or the team will get back to you. 🔥
async RL in TRL skips the repeated work!
in GRPO every answer in a group repeats the same prompt, and in agent runs every turn repeats the whole conversation. TRL's async trainer packs them as a tree, so shared tokens go through the model once
> about 3x faster training steps when answers share their history > about a third of the memory (35 GiB to 13.5 GiB on Qwen3-1.7B) > on an agentic RL run, the same reward with 26x less trainer compute
how it works:
could a 2B model be proving millennium problems soon? not sure, but it's already training 👀 👀 👀
0.22 → 0.41 on held-out olympiad proofs, straight from the base model, everything open
we RL trained a 2B model to write better math proofs with a custom harness 📐
> 0.22 → 0.41 on held-out proofs, from the base model, no SFT > ~280-line harness on @harborframework + OpenEnv > trained completely on @huggingface infra (spaces + jobs + datasets + buckets) using AsyncGRPO in TRL > env, harness, model and evals all open-source
weekend read: what happens when you let 1,000 agents build a chatbot together for 9 days?
great data report on open models, with lots of data from HF of course, really recommend reading it
also great to see reports like this coming out of the 🇪🇸 Spanish open model ecosystem, so congrats to the team
Wait a minute! 💣 Dropping a megatone today! Our best data report is out! State of Open Models is available now! 👉 t.co/58D4Km80U5
An extensive data report about open models ecosystem to understand better what's happening now.
Some of the best insight from the report: 1. Qwen leads downloads, but DeepSeek is the most used model per company 2. DeepSeek is the most used open lab over the last 2 years 3. Kimi 3.1 Pro is Opus 5.5 level for coding, but open models still have gaps 4. Open models can solve the same task with the same or better success rate for less than half the price of closed ones. But closed models still win in speed. 5. Companies are using more and more open models to combine them with closed models. 6. Labs and neo-clouds are 91% of token traffic for open models. Big clouds are only 9%.
This is just a piece of the cake we cooked for you. Look at the data and tell us your opinion :)
Tons of data analyzed from the best sources: @huggingface @Cloudflare @OpenRouter @EpochAIResearch @ValsAI @ArtificialAnlys @jetbrains @StackOverflow @MenloVentures @tryramp @vercel @SemiAnalysis_ @novita_labs @helmcode
A lot of data you can explore. Help us spread the word! Share the report 🤗
who's coming to @PyTorch Day Japan 2026 (Dec 10) 🇯🇵?
I'll be there with @adithya_s_k talking about how to turn real data into RL environments, rewards and GRPO training!
register here: t.co/TUBndOZSbn
Hugging Face 团队成员,分享 AI 模型、内核编程与开源机器学习资源。
Hugging Face 社区机器学习工程师,分享协作智能体与小模型训练实验。
Thinking Machines Lab 官方账号,发布 Inkling 模型、训练研究和 Tinker 模型定制进展。
Hugging Face 研究负责人,关注开源 AI、多智能体协作与大规模模型训练。