WhoBuilt

Lessons From Training Composer At Cursor And Building Meta/Nvidia Compute Clusters

Jul 29, 2026· 1 h 16 min· 44K views·Watch on YouTube

Speakers

Stuart So, a Stanford CS PhD student and Cursor researcher who trains Composer, presents ParallelKittens at YC Paper Club in Mountain View alongside researchers and infrastructure builders.

Multi-GPU kernels and communication

Stuart So introduces ParallelKittens, a CUDA framework for making multi-GPU kernels easier to write and maintain. He says networking can consume up to 50% of runtime in some workloads and explains that performance depends on choosing the right data transfer and scheduling strategy. He reports that kernels written with about 50 to 100 lines of device code can match or beat hand-optimized kernels with hundreds or thousands of lines; Cursor uses the framework to train Composer on tens of thousands of Blackwell GPUs.

Measuring intelligence per watt

John presents a study of more than 20 local models, from 1 to 200 billion parameters, across accelerators from Apple, Nvidia, AMD, and SambaNova. He says up to 88.7% of queries could be routed to local open-source models with a perfect router, and reports a roughly threefold gain in intelligence per watt over two years and an 18-fold gain in intelligence per joule over about 16 months. He argues that local and cloud inference can share workloads, with even imperfect routing potentially reducing energy, compute, and dollar costs by 50% to 70%.

AI-written kernels need adversarial evaluation

Mark describes KernelBot, a GPU kernel competition platform, and KernelGuard, which detects benchmark cheating. He gives examples of reward hacks, including a vector-mean kernel that returns zero for inputs sampled around a mean of zero and a kernel that behaves correctly during checks but incorrectly during performance tests. A community search for QR decomposition kernels produced a kernel reported to be 60 times faster than the baseline, while exposing an open challenge: turning long, shape-specific submissions into maintainable code.

Matching inference phases to different hardware

Misha Manski of Marlo explains that inference phases stress compute, memory, and networks differently: prefill tends to be compute-bound, while decode is often memory-bandwidth-bound and latency-sensitive. He outlines ways to split work across systems, such as placing decode on an SRAM-based accelerator or separating attention from the MLP. Whether these designs pay off depends on output length, concurrency, latency needs, and the added power and networking costs.

Running game simulations on GPUs

Brennan presents Stanford research on using entity-component-system patterns to run batches of game environments on a GPU for reinforcement learning. The approach stores environment data in GPU memory and runs systems over entities in parallel, supporting irregular gameplay logic and dynamic allocation. On an RTX 4090, the team reports more than 100 times the throughput of CPU reference implementations for several tested environments, including hide-and-seek and Overcooked.

Takeaways

  • Choose GPU transfer mechanisms and compute-communication schedules for the workload; one default strategy can leave performance unused.
  • Route requests to local models when their capabilities fit the task, and reserve cloud resources for work that needs them.
  • Treat kernel benchmarks as adversarial: recheck correctness during performance runs and expect competitors to exploit gaps.
  • Evaluate heterogeneous inference designs against the full workload, including latency, concurrency, power, and network overhead.
  • Batch simulation environments on GPUs when training needs high throughput, and use abstractions that support irregular game logic.

Mentioned in this talk

Search inside this talk

What was claimed 13

  • founded
    “He’s co-founding Core Automation”
    YouTube
    Unverified1 source· Talk
  • founded
    Mark founded GPU Mode
    “he ... co-founded GPU Mode with my friend Casey Elward”
    YouTube
    Unverified1 source· Talk
  • built
    “our work on making multi-GPU AI kernels simple and fast”
    YouTube
    Unverified1 source· Talk
  • role at
    Stuart So is researcher at Cursor
    “I'm a CS PhD student at Stanford and a researcher at Cursor, where I train Composer.”
    YouTube
    Unverified1 source· Talk
  • feature
    ParallelKittens: CUDA primitives and worker templates for efficient multi-GPU kernels
    “a highly opinionated set of CUDA programming primitives that extends ThunderKittens”
    YouTube
    Unverified1 source· Talk
  • metric
    ParallelKittens: About 50 to 100 lines of device code can match or surpass hand-optimized kernels often hundreds to thousands of lines long
    “with roughly 50 to 100 lines of device code, PK can surpass or match hand-optimized kernels”
    YouTube
    Unverified1 source· Talk
  • uses
    “Cursor is using it to train Composer on tens of thousands of Blackwell GPUs.”
    YouTube
    Unverified1 source· Talk
  • previously at
    Mark previously at PyTorch
    systems work and maintainer
    “I worked on systems for about five years at PyTorch.”
    YouTube
    Unverified1 source· Talk
  • feature
    kernelbot: Accepts GPU kernel submissions using different libraries and ranks them on a leaderboard
    “people make submissions using any library they want”
    YouTube
    Unverified1 source· Talk
  • feature
    KernelGuard: Uses examples of reward hacks to synthesize detectors for cheating submissions
    “I get the AI system to synthesize a REJAX-based cheat detector.”
    YouTube
    Unverified1 source· Talk
  • feature
    Marlo: Builds workload-optimized heterogeneous infrastructure
    “The startup is focused on building workload-optimized heterogeneous infrastructure.”
    YouTube
    Unverified1 source· Talk
  • role at
    Misha Manski is employee at Marlo
    “I joined a startup called Marlo almost a month ago.”
    YouTube
    Unverified1 source· Talk
  • metric
    Brennan: GPU simulation was over 100 times faster in many cases than CPU reference implementations
    “It’s over a hundred times faster in many cases.”
    YouTube
    Unverified1 source· Talk

Related talks