nanoGPT Trainer

Karpathy's nanoGPT — CPU-sharded training on GCP Cloud Run

CPU-Only
Model-Parallel
Model Architecture
6 layers, 6 heads, 384 dim
Training Parameters
CPU Sharding & Hardware
4

CPU sharding splits gradient accumulation across 4 parallel threads. Effective batch = 64 × 1 × 4 = 256 tokens/step.

Resource Estimate
Calculating...
About nanoGPT

Andrej Karpathy's nanoGPT — the simplest, fastest repository for training/finetuning medium-sized GPTs.

This tool generates CPU-sharded configs that split gradient accumulation across multiple threads for model-parallel training without GPU.

Supports: scratch training, GPT-2 fine-tuning, Shakespeare/OpenWebText datasets.

AI Disclosure: This platform uses generative AI. All outputs are AI-generated, may be inaccurate or incomplete, and are provided for informational purposes only. They do not constitute legal, financial, tax, medical, psychological, engineering, or other professional advice, and no professional relationship is created by use of this service. Verify all outputs with a qualified professional before relying on them. Do not input regulated data (PHI, PII, MNPI, ITAR/EAR, CUI, privileged material) unless your organization has explicitly validated this surface for such use.
Virtual tokens • Educational purposes only
© 2026 Kineteq.ai