scripod.com

How Cursor Trained Composer on Fireworks: Distributed Infrastructure for High-Performance RL

Training Data

Shownote

Cursor's Federico Cassano and Fireworks' Dmytro Dzhulgakov explain how they collaborated to build Composer as a specialized foundation model. The core insight: models have finite capacity in their weights, and allocating all those bits to the singular task of software engineering in Cursor frees the model to be both better at the task and far more efficient at inference. Rather than start from pre-training and work up, they took an unconventional top-down approach — mid-training and RL on top of an open-source base to get a useful model into users' hands fast, then specializing the model around real Cursor usage. With Fireworks providing distributed infrastructure, Composer delivers frontier-class coding performance with the speed of a much smaller model. Hosted by Sonya Huang, Sequoia Capital

Highlights

This podcast explores the development of Composer, a specialized AI model for software engineering, created by Cursor in collaboration with Fireworks. The discussion reveals how focusing a model's entire capacity on a single task can lead to superior performance and efficiency, challenging the notion that larger, general-purpose models are always better. The conversation details the unconventional, top-down approach taken to build this model, prioritizing rapid deployment and real-world user feedback.
00:00
Specialized models allocate all weights to a single task.
05:30
The approach prioritizes rapid user value over full pre-training.
13:58
Optimized engines can achieve a 1:3 ratio.
19:20
Lossless compression of model deltas for fast cross-cluster shipping
42:35
The most powerful RL environment is your own production system.

Chapters

Why build a specialized model for software engineering?
00:00
The unconventional path: mid-training and RL on an open-source base.
05:30
The asynchronous pipeline: maximizing GPU utilization for RL training.
11:17
Global clusters and compression: the infrastructure behind distributed RL.
16:40
From simulation to production: using real user data for reinforcement learning.
27:06

Transcript

Federico Cassano: You need all the infrastructure to run these environments that have to mimic as closely as possible what a user's computer would look like. And it's very important, as closely as possible, because sometimes the model can actually figure o...