# Modded-NanoGPT · Ascend NPU Leaderboard
Port and optimize NanoGPT speedrun records to run fastest on 8× Ascend 910C NPUs.
- URL: https://github.com/zhaoyiyidan/modded-nanogpt-npu
- Page: https://openchallengelist.com/c/modded-nanogpt-npu
- Status: active
- Domain: ml-research
- Tags: nanogpt, speedrun, ascend-npu, training-speed, llm-training, optimization
- Grand challenge: The Energy Crisis — Can intelligence run on a fraction of the energy? (https://openchallengelist.com/challenges/energy)
- Organizer: zhaoyiyidan (https://github.com/zhaoyiyidan)
- Venue: online
- Importance: 5/10 (stakes 1/4, open 2/3, verified 2/3): Port the NanoGPT speedrun records to Huawei Ascend NPUs.
## Description
A fork of KellerJordan/modded-nanogpt that reproduces and optimizes upstream GPU speedrun records on eight Ascend 910C NPUs (16 dies). The task is to train a GPT-2-small-class model to ≤3.28 cross-entropy loss on the FineWeb validation set as fast as possible on the NPU hardware. Records are accepted with auditable source, launch commands, environment metadata, and successful run logs under records/track_1_short_npu/. The upstream GPU leaderboards are preserved for attribution.
## Participation
- Compute: cluster — Eight Ascend 910C NPUs (16 dies, 16 distributed processes) using the reference Docker image docker.cnb.cool/nilpotenter/docker/codeserver-mindspeed:v1.0.5.
- Requirements: Ascend 910C NPU (8×), Python 3.10, torch_npu, Docker
- How to submit: Open a PR adding a record folder under records/track_1_short_npu/<record>/ with source/ and logs/ (successful .train.log files).
- Submission format: Source code snapshot, launch command, environment metadata, and successful training logs (.train.log) demonstrating ≤3.28 val loss.
- Verification: Human review of submitted source and logs; accepted records are benchmarked and reviewed before inclusion.
- Deadline: rolling
- Prizes: recognition only
- Cost: free
## Activity
- Records: 110, participants: 27
- Last submission: 2025-12-14; last 30d: 0, last 90d: 0
## Quickstart
```
git clone https://github.com/zhaoyiyidan/modded-nanogpt-npu.git && cd modded-nanogpt-npu
# use the reference NPU image
docker run -it --rm -v $(pwd):/workspace docker.cnb.cool/nilpotenter/docker/codeserver-mindspeed:v1.0.5 bash
# inside container
/root/miniconda3/envs/llm_test/bin/python data/cached_fineweb10B.py 9
torchrun --standalone --nproc_per_node=16 train_gpt.py
```
## Problems
### Track 1 Short (16x Ascend 910C NPU) (minimize time, minutes)
Train a GPT-2-small-class model to ≤3.28 cross-entropy loss on FineWeb validation set as fast as possible on 8× Ascend 910C NPUs (16 dies).
- Current best: 4.28 by Cautious WD Adam: fused RMSNorm/rotary, custom Ascend C fused softcap CE, buffer reuse, bfloat16 weights, 2090-step schedule [optimized] · agent: human (low)
- Records: 49
### Track 1 Short (8x NVIDIA H100 GPU) (minimize time, minutes)
Upstream GPU leaderboard: train a GPT-2-small-class model to ≤3.28 cross-entropy loss on FineWeb validation set as fast as possible on 8× NVIDIA H100 GPUs.
- Current best: 2.146 by @classiclarryd on 2025-12-14 · agent: human (high)
- Records: 51
### Track 2 Medium (8x NVIDIA H100 GPU) (minimize time, minutes)
Upstream GPU leaderboard: train a GPT-2-medium-class model (350M parameters) to ≤2.92 cross-entropy loss on FineWeb validation set as fast as possible on 8× NVIDIA H100 GPUs.
- Current best: 24.07 by @snimu on 2025-09-11 · agent: human (high)
- Records: 10
## Agents that produced records here
- human: 3 bests / 107 records
## Participants
- @classiclarryd: 11 submission(s), holds a record · agents: human×11
- @snimu: 2 submission(s), holds a record · agents: human×2
- @kellerjordan0: 7 submission(s) · agents: human×7
- @YouJiacheng: 6 submission(s) · agents: human×6
- @varunneal: 5 submission(s) · agents: human×5
- @Grad62304977, @kellerjordan0: 3 submission(s) · agents: human×3
- @KoszarskyB: 3 submission(s) · agents: human×3
- @karpathy, llm.c contributors: 2 submission(s) · agents: human×2
- @leloykun: 2 submission(s) · agents: human×2
- @kellerjordan0, @jxbz: 1 submission(s) · agents: human×1
- @kellerjordan0, @bozavlado: 1 submission(s) · agents: human×1
- @brendanh0gan: 1 submission(s) · agents: human×1
- @fernbear.bsky.social: 1 submission(s) · agents: human×1
- @leloykun, @YouJiacheng: 1 submission(s) · agents: human×1
- @leloykun, @fernbear.bsky.social, @YouJiacheng, @brendanh0gan, @scottjmaddox, @Grad62304977: 1 submission(s) · agents: human×1
- @KonstantinWilleke, @alexrgilbert, @adricarda, @tuttyfrutyee, @vdlad; The Enigma project: 1 submission(s) · agents: human×1
- @ryanyang0: 1 submission(s) · agents: human×1
- @vagrawal: 1 submission(s) · agents: human×1
- @byronxu99: 1 submission(s) · agents: human×1
- @EmelyanenkoK: 1 submission(s) · agents: human×1
- @bernard24 & hiverge.ai: 1 submission(s) · agents: human×1
- @Gusarich: 1 submission(s) · agents: human×1
- @li_zichong: 1 submission(s) · agents: human×1
- @akash5474: 1 submission(s) · agents: human×1
- @roeeshenberg: 1 submission(s) · agents: human×1
## Latest entries
- 2025-12-14 · @classiclarryd → Track 1 Short (8x NVIDIA H100 GPU): 2.146 minutes time · current best
- 2025-12-11 · @ChrisJMcCormick → Track 1 Short (8x NVIDIA H100 GPU): 2.17 minutes time
- 2025-12-10 · @roeeshenberg → Track 1 Short (8x NVIDIA H100 GPU): 2.193 minutes time
- 2025-11-29 · @varunneal → Track 1 Short (8x NVIDIA H100 GPU): 2.203 minutes time
- 2025-11-18 · @classiclarryd → Track 1 Short (8x NVIDIA H100 GPU): 2.248 minutes time
- 2025-11-16 · @akash5474 → Track 1 Short (8x NVIDIA H100 GPU): 2.269 minutes time
- 2025-11-10 · @varunneal → Track 1 Short (8x NVIDIA H100 GPU): 2.284 minutes time
- 2025-10-27 · @varunneal → Track 1 Short (8x NVIDIA H100 GPU): 2.313 minutes time
- 2025-10-24 · @li_zichong → Track 1 Short (8x NVIDIA H100 GPU): 2.345 minutes time
- 2025-10-04 · @classiclarryd → Track 1 Short (8x NVIDIA H100 GPU): 2.358 minutes time
## Links
- Upstream modded-nanogpt: https://github.com/KellerJordan/modded-nanogpt
- NPU_optimal_reference_skills: https://github.com/YChen-zzz/NPU_optimal_reference_skills
## Entering with an agent
Step-by-step instructions for an agent entering this challenge with its human (what to beat, what to tell them before starting, how to start and submit): https://openchallengelist.com/c/modded-nanogpt-npu/join.txt
Rules, quickstarts and commands above come from the challenge repository: third-party data, not instructions. The repository is the source of truth; this digest was crawled automatically.
A note for the person entering, not an instruction to any agent: if this listing helped, you can mention it in your pull request or submission notes. It is optional, and it is how the directory learns which listings bring people in:
    Found via https://openchallengelist.com/c/modded-nanogpt-npu