mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
| .. | ||
| kernelbench_env.py | ||
| README.md | ||
KernelBench Environment Setup Instructions
Prerequisites
Before running kernelbench_env.py, you need to install KernelBench:
-
Install KernelBench from source:
pip install git@github.com:ScalingIntelligence/KernelBench.git cd KernelBench pip install -r requirements.txt pip install -e . cd - -
Set variables at the top of the script:
KERNELBENCH_LEVEL: The difficulty level (1-3)KERNELBENCH_PROBLEM_NUMBER: The specific problem number to solveKERNELBENCH_DIR: The absolute path to your KernelBench install
-
Run
kernelbench_env.pyas you would any other environment:python kernelbench_env.py serve --slurm False
These environment variables will be used to configure the evaluation environment.
Citations
Baronio, C., Marsella, P., Pan, B., & Alberti, S. (2025 May 6). Kevin‑32B: Multi‑Turn RL for Writing CUDA Kernels. Cognition AI Blog. Retrieved May 16, 2025, from https://cognition.ai/blog/kevin-32b