OPENAI BUILD WEEK · DEVELOPER TOOLS

Train the model.
Trust the path.

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.

Native PyTorch Beta 0.9.8 T4-aware
Picotron banner
CHECKPOINT.safetensors+ architecture config
FALLBACKSexplicitnot silent
DECODER-ONLY✦DDP✦SAFE FALLBACKS✦SAFETENSORS✦DATA INTERLEAVING✦CONFIG-FIRST✦ DECODER-ONLY✦DDP✦SAFE FALLBACKS✦SAFETENSORS✦DATA INTERLEAVING✦CONFIG-FIRST✦

Fast paths are useful.
Silent failure is not.

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.

01

Strict configuration

Missing, incompatible, and unknown fields fail at load time.

02

Portable state

Safetensors weights, optimizer sidecars, and native architecture records travel together.

03

Measured claims

CPU tests prove logic. Target hardware proves CUDA speed and memory behavior.

Start with a real,
valid configuration.

Choose an architecture and data source. The preview is generated locally in your browser; it does not launch training.

Model shape
Attention
Data and runtime

One command.
Visible stages.

Preprocessing is never hidden behind a “training” label. The CLI reports when it is building or reusing a cache, then starts the run.

01

Inspect config

Find HF dataset specifications and deterministic cache paths.

→
02

Reuse or preprocess

Skip a complete cache; otherwise call the existing tokenization tool with progress.

→
03

Train

Open memmaps, construct the native model, and begin next-token optimization.

picotron --config config.yaml

NATIVE DECODER

One model class.
Explicit switches.

The native PicotronDecoderModel is a decoder-only Transformer. Each option is validated before construction, not improvised by a loose config parser.

Read the model audit ↗
Token IDs
↓
Embeddings RoPE / learned
↓
Attention MHA / GQA / MLA
FFN SwiGLU / MoE
↓
Vocabulary logits

Know what is ready
and what falls back.

Optional acceleration is useful only when the implementation and hardware both support it.

TRAINING PATH

Triton RMSNorm

Fused forward with a mathematically checked PyTorch backward. Actual GPU benefit still needs measurement.

TRAINING PATH

Triton SwiGLU

Fused activation forward with a mathematically checked PyTorch backward.

FALLBACK GUARDED

RoPE & attention kernels

Optional paths do not replace the PyTorch training path when unavailable or unsupported.

FALLBACK GUARDED

Cross entropy & AdamW

Training remains on PyTorch when the guarded fused paths cannot safely serve it.

IMPLEMENTED

Checkpoint state

Safetensors weights, optimizer sidecars, and native architecture config.json.

IMPLEMENTED

DDP / ZeRO

CPU distributed tests exercise synchronization and state-sharding math; CUDA remains target-GPU work.

EXPERIMENTAL

SFT / DPO adapters

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.”

WEIGHTSrun.safetensors
STATErun.optimizer.pt
ARCHITECTUREconfig.json

SELF-DESCRIBING NATIVE CHECKPOINTS

Never guess the
architecture again.

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_model
Can I run Picotron on a T4?

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.

Does the site start a run or send my config anywhere?

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.

Can I use an existing Hugging Face causal LM?

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.

What happens when an optional backend fails?

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

Build it. Verify it.
Then scale it.

Copied to clipboard