--- license: mit pretty_name: Agentic kernel generation, eval trajectories tags: [triton, gpu-kernels, kernelbench, evaluation] viewer: false --- # Eval trajectories Multi-turn rollouts on the 100 test tasks of [kiplingliu/akg-data](https://huggingface.co/datasets/kiplingliu/akg-data) (KernelBench Level 2), 1 sample per task, 3 turns, temperature 1.0 / top_p 0.95, graded by KernelGYM on A100 40 GB GPUs (`scripts/baseline.slurm` and `scripts/harness.py` of [agentic-kernel-generation-distiled](https://github.com/arianbeh/agentic-kernel-generation-distiled)). | File | Model | |---|---| | `baseline-qwen3-0.6b-s1-noprefix-3582860.jsonl` | Qwen/Qwen3-0.6B, zero-shot | | `baseline-qwen3-1.7b-s1-noprefix-3582861.jsonl` | Qwen/Qwen3-1.7B, zero-shot | | `eval-sft-qwen3-0.6b-s1-3612802.jsonl` | akg-sft-qwen3-0.6b (SFT on coldstart_sft, 2 epochs) | | `eval-sft-qwen3-1.7b-s1-3612803.jsonl` | akg-sft-qwen3-1.7b (SFT on coldstart_sft, 2 epochs) | | `baseline-drkernel-8b-nothink-s1-3613335.jsonl` | hkust-nlp/drkernel-8b (the OPD teacher), no-think template | | `baseline-drkernel-8b-s1-3613301.jsonl` | hkust-nlp/drkernel-8b, its own template with thinking on | | `eval-opd-sft-qwen3-1.7b-step30-s1-3614371.jsonl` | akg-opd-qwen3-1.7b, step 30 (OPD from drkernel-8b) | | `eval-opd-sft-qwen3-1.7b-step50-s1-3614370.jsonl` | akg-opd-qwen3-1.7b, step 50 (OPD from drkernel-8b) | Each line is one trajectory: `problem_id`, `task_name`, `sample`, the operator tags, and `turns`, a list of `{turn, response, kernel_code, result}`, where `result` is KernelGYM's grading (`compiled`, `correctness`, `decoy_kernel`, `speedup`, error details). A kernel counts as correct when `correctness` is true, `decoy_kernel` is false and it has a speedup. All runs use the no-think chat template except `baseline-drkernel-8b-s1-3613301`. Best by turn 3 (`scripts/harness.py`'s metrics): the zero-shot and SFT students 0% correct; drkernel-8b 87% correct, fast@1.2 53% (no-think) and 81%, 45% (thinking); akg-opd-qwen3-1.7b 29%, 16% at step 30 and 38%, 21% at step 50. ```python import json from huggingface_hub import hf_hub_download path = hf_hub_download("kiplingliu/akg-eval", "baseline-qwen3-0.6b-s1-noprefix-3582860.jsonl", repo_type = "dataset") trajectories = [json.loads(line) for line in open(path)] ```