Strict configuration
Missing, incompatible, and unknown fields fail at load time.
OPENAI BUILD WEEK · DEVELOPER TOOLS
Picotron is a from-scratch, decoder-only LLM pretraining framework built around explicit configuration, safe fallbacks, and verification before scale. Experimental SFT and DPO adapters extend the project beyond native pretraining.
THE POINT
Picotron keeps the reference path close. Optional acceleration is opt-in, hardware-aware, and guarded. CUDA-specific behavior still needs a real GPU check; the page will not pretend otherwise.
Missing, incompatible, and unknown fields fail at load time.
Safetensors weights, optimizer sidecars, and native architecture records travel together.
CPU tests prove logic. Target hardware proves CUDA speed and memory behavior.
INTERACTIVE CONFIG
Choose an architecture and data source. The preview is generated locally in your browser; it does not launch training.
THE PIPELINE
Preprocessing is never hidden behind a “training” label. The CLI reports when it is building or reusing a cache, then starts the run.
Find HF dataset specifications and deterministic cache paths.
Skip a complete cache; otherwise call the existing tokenization tool with progress.
Open memmaps, construct the native model, and begin next-token optimization.
picotron --config config.yamlNATIVE DECODER
The native PicotronDecoderModel is a decoder-only Transformer. Each option is validated before construction, not improvised by a loose config parser.
STATUS, NOT HYPE
Optional acceleration is useful only when the implementation and hardware both support it.
Fused forward with a mathematically checked PyTorch backward. Actual GPU benefit still needs measurement.
Fused activation forward with a mathematically checked PyTorch backward.
Optional paths do not replace the PyTorch training path when unavailable or unsupported.
Training remains on PyTorch when the guarded fused paths cannot safely serve it.
Safetensors weights, optimizer sidecars, and native architecture config.json.
CPU distributed tests exercise synchronization and state-sharding math; CUDA remains target-GPU work.
Script-first adapters can train compatible causal-LM models. Treat them as experimental and validate your own model and data path.
T4 compatibility means “designed to fall back safely and select fp16,” not “every optional kernel is benchmarked or guaranteed faster.”
SELF-DESCRIBING NATIVE CHECKPOINTS
Native checkpoint directories save an architecture sidecar along with weights. Reload a Picotron model from the checkpoint record instead of recreating its GQA, NoPE, MoE, MLA, or positional settings manually.
from picotron.serialize import load_native_modelFAQ
That is a target environment for the project. The hardware policy selects fp16 on Turing/T4 and rejects bf16 there. Run a small Kaggle smoke test before a long job; performance and memory claims are configuration-specific.
No. The config builder is client-side JavaScript only. It produces a YAML preview and copy button; it does not upload data, contact the Hub, or execute commands.
Yes: experimental SFT and DPO adapters accept compatible causal-LM logits contracts. The native pretraining CLI constructs Picotron's own decoder model from its strict configuration.
Optional acceleration is guarded. Picotron reports the issue and returns to the relevant PyTorch path rather than silently continuing on an unknown implementation.
PICOTRON 0.9.8 BETA