---
title: "ParallelKernelBench: Frontier LLMs can't write fast multi-GPU kernels (yet)"
description: "ParallelKernelBench is a benchmark of 87 multi-GPU problems drawn from Megatron-LM, DeepSpeed, DeepEP, TensorRT-LLM, NeMo-RL and non-LLM workloads."
url: "https://swe.quest/articles/parallelkernelbench-frontier-llms-can-t-write-fast-multi-gpu-kernels-yet-416eb937565c8218"
canonical: "https://www.together.ai/blog/parallelkernelbench"
source: "Together AI"
published: "2026-06-23"
difficulty: "hard"
kind: "Research"
reading_minutes: 10
tags: ["ai-coding","evals","hardware","performance","distributed-systems"]
---

# ParallelKernelBench: Frontier LLMs can't write fast multi-GPU kernels (yet)

A post on [Together AI](https://swe.quest/sources/together.md), published 2026-06-23, 10 min read, Research. Original: [https://www.together.ai/blog/parallelkernelbench](https://www.together.ai/blog/parallelkernelbench)

## Summary

ParallelKernelBench is a benchmark of 87 multi-GPU problems drawn from Megatron-LM, DeepSpeed, DeepEP, TensorRT-LLM, NeMo-RL and non-LLM workloads. In each problem a model must replace a PyTorch + NCCL reference with a CUDA kernel that moves data directly over NVLink using symmetric memory. Frontier models do poorly: the best (GPT-5.5) solves 28 problems zero-shot and only 31% beat the baseline even with three samples. Strong models fail mainly on rank coordination, collective ordering and the choice of transfer mechanism, and they rarely use TMA or NVLS. An agentic compile-test-benchmark loop lifted Gemini 3 Pro to 35 correct and 26 faster solutions before plateauing at about 20 steps, though models did produce some novel fast kernels, such as a fused vocab-parallel log-prob for NeMo-RL's GRPO.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)

## Prerequisites

- CUDA kernel programming ([easy posts on Operating systems](https://swe.quest/tags/operating-systems.md?difficulty=easy))
- NCCL collectives
- tensor/expert/context parallelism ([easy posts on Concurrency](https://swe.quest/tags/concurrency.md?difficulty=easy))
- NVLink GPU interconnects ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))

## Keywords

ParallelKernelBench, NVLink, NCCL, CUDA, symmetric memory, NeMo-RL, PyTorch, NVLS

## Related posts

- [Inside multi-node training: How to scale model training across GPU clusters](https://swe.quest/articles/inside-multi-node-training-how-to-scale-model-training-across-gpu-clusters-0a2389f46d13b933.md): Together AI · 2026-01-12 · Medium · 4 min read · Model training, Distributed systems, Hardware, Networking
  Multi-node GPU training spreads foundation model training across many 8-GPU servers by combining data, tensor and pipeline parallelism over NVLink within nodes and InfiniBand/RoCE between them, with periodic checkpointing to survive the near-daily hardware failures of 100-node clusters.
- [Custom Kernels for All from Codex and Claude](https://swe.quest/articles/custom-kernels-for-all-from-codex-and-claude-9d652cbc33fa9001.md): Hugging Face · 2026-02-13 · Medium · 9 min read · AI for coding, Performance engineering, Inference & serving, Hardware, Python
  Hugging Face packaged CUDA kernel expertise (GPU architecture guides for H100/A100/T4, diffusers and transformers integration patterns, vectorized kernel templates, benchmark scripts) into an agent skill that lets Claude and Codex generate complete kernel-builder projects with PyTorch bindings.
- [Learn the Hugging Face Kernel Hub in 5 Minutes](https://swe.quest/articles/learn-the-hugging-face-kernel-hub-in-5-minutes-049114b1e85677a7.md): Hugging Face · 2025-06-12 · Medium · 13 min read · Inference & serving, Performance engineering, Python, Hardware
  Hugging Face's Kernel Hub and \`kernels\` library let PyTorch code download pre-compiled, optimized GPU kernels such as FlashAttention, activations, RMSNorm and quantization kernels with a single \`get\_kernel\` call.
- [How to serve trillions of tokens for trillion-parameter coding agents](https://swe.quest/articles/how-to-serve-trillions-of-tokens-for-trillion-parameter-coding-agents-0508c7c515fa8a14.md): Modal · 2026-09-23 · Hard · 32 min read · Inference & serving, LLMs, Caching, Performance engineering, Hardware
  Modal describes how it serves Moonshot AI's trillion-parameter Kimi K2.6 model for coding-agent traffic at trillions of tokens.
- [Key research and product announcements at the AI Native Conf](https://swe.quest/articles/key-research-and-product-announcements-at-the-ai-native-conf-07f3b657efde83f0.md): Together AI · 2026-03-05 · Hard · 7 min read · Inference & serving, Hardware, Model training, AI agents, Performance engineering
  Together AI announced seven research and product releases spanning GPU kernels, reinforcement learning infrastructure and inference optimization.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
