CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation
See the codeCUDA-Agent is the first known RL-trained model to surpass advanced models such as Claude Opus-4.6 and Gemini 3 Pro on high-performance CUDA kernel generation. It achieves state-of-the-art results on KernelBench, consistently outperforming the torch.compile baseline across difficulty levels, with especially strong gains on the hardest cases. To support the LLM-based CUDA generation community, we have released our training data, expert-designed SKILL.md and agent environment.

We released the training dataset CUDA-Agent-Ops-6K:
torch and transformerstorch.compile
agent_workdir Overviewagent_workdir is a standardized agent workspace example for the full loop:
implement CUDA kernels -> compile -> verify correctness -> profile performance -> iterate.
Key files in this directory:
SKILL.md: workflow constraints and optimization rules for agent executionmodel.py: original PyTorch baseline modelmodel_new.py: optimized model using the custom CUDA extensionbinding.cpp / binding_registry.h: shared Python binding registration infrastructurekernels/: custom CUDA/C++ kernels and their bindingsutils/compile.py + utils/compile.sh: extension build scriptsutils/verification.py: correctness validation scriptutils/profiling.py: performance comparison against baseline and torch.compileCommon commands (run inside agent_workdir):
bash utils/compile.sh
python3 -m utils.verification
python3 -m utils.profiling

(top 24 of 36)
2,136 followers · starred Mar 2026
1,177 followers · starred Aug 2026
137 followers · starred Mar 2026
491 followers · starred Mar 2026
CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation
See the codeCUDA-Agent is the first known RL-trained model to surpass advanced models such as Claude Opus-4.6 and Gemini 3 Pro on high-performance CUDA kernel generation. It achieves state-of-the-art results on KernelBench, consistently outperforming the torch.compile baseline across difficulty levels, with especially strong gains on the hardest cases. To support the LLM-based CUDA generation community, we have released our training data, expert-designed SKILL.md and agent environment.

We released the training dataset CUDA-Agent-Ops-6K:
torch and transformerstorch.compile
agent_workdir Overviewagent_workdir is a standardized agent workspace example for the full loop:
implement CUDA kernels -> compile -> verify correctness -> profile performance -> iterate.
Key files in this directory:
SKILL.md: workflow constraints and optimization rules for agent executionmodel.py: original PyTorch baseline modelmodel_new.py: optimized model using the custom CUDA extensionbinding.cpp / binding_registry.h: shared Python binding registration infrastructurekernels/: custom CUDA/C++ kernels and their bindingsutils/compile.py + utils/compile.sh: extension build scriptsutils/verification.py: correctness validation scriptutils/profiling.py: performance comparison against baseline and torch.compileCommon commands (run inside agent_workdir):
bash utils/compile.sh
python3 -m utils.verification
python3 -m utils.profiling

(top 24 of 36)
2,136 followers · starred Mar 2026
1,177 followers · starred Aug 2026
137 followers · starred Mar 2026
491 followers · starred Mar 2026