All pages
Why SexpGPU
A Python experiment is a program that happens to contain an experiment: the loop, gradient accumulation, evaluation cadence, checkpointing, mixed precision and device placement are rewritten for every idea, and each rewrite is a place for a silent bug. A shape mistake surfaces an hour into a paid GPU. A schedule off by one step changes the result unseen. Two runs differ in more than the one thing meant to change. An agent doing research makes the same mistakes faster; it needs feedback in seconds, errors that say what to fix, and output it can read without parsing a log.
One file is the experiment
A .sx file states the experiment and nothing else: the data it reads, the
model, the objective, the optimizer and the run. The compiler owns what is the
same in every experiment: the training loop, autodiff, gradient accumulation,
evaluation cadence, checkpoints, precision and kernels. See
the run file.
Errors before the GPU
sexpgpu check compiles the whole experiment and checks every shape in under a
second, with no GPU and no data. Every diagnostic has a code, the line in your
file, the expected and actual facts, and a fix when one is known. See
check and diagnostic codes.
The plan and the run agree
Everything a run may vary is declared in the file as a knob, a variant or a
sweep, and selected before the file is read. sexpgpu explain prints what the
compiler made of it (parameters, optimizer groups, one training step, memory),
and sexpgpu diff shows what differs between two runs and nothing else. See
knobs and explain.
A real language
The authoring language is Common Lisp, evaluated at compile time: closures, macros, gensyms, multiple values, lambda lists. A macro can write an ablation grid, and a library can carry the diagnostics its author knows to look at. No Lisp runs during training. See It is Common Lisp.
One binary
A run is one process reading one file, with no Python and no toolchain.
sexpgpu bundle packs the binary, the sources and the data into one directory
that runs on any GPU box, and --resume latest makes it survive preemption. See
bundle.
Next: install, then the quickstart. Agents should read working as an agent.