Tutorials
Tutorials
A hands-on series of Jupyter notebooks that builds from first principles to production patterns. Each notebook is self-contained and runnable; work through them in order for a guided introduction, or jump to a topic you need.
Prerequisites: Python 3.12+. A few later notebooks import
torch.nn, so install PyTorch to run those cells, or just read along.
| # | Tutorial | What you'll learn |
|---|---|---|
| 1 | Why Laco | The problem Laco solves and the lie-typing idea |
| 2 | First Steps | call, partial, instantiate: the core loop |
| 3 | Lazy Call & Partial | Deferred construction and partial application |
| 4 | Hyperparameters & Interpolation | Parameters, references, and ${...} interpolation |
| 5 | Loading, Saving & the CLI | Round-tripping configs and overrides from the command line |
| 6 | Nested Configs & Containers | Composing configs and working with containers |
| 7 | Typed Groups & Schemas | Group placeholders and schema-checked composition |
| 8 | Pipeline Configs | Multi-stage pipelines as configuration |
| 9 | Tasks & the App Loop | Wiring configs into a runnable application |
| 10 | Tracing | Inspecting how a config resolves |
| 11 | Production Patterns | Reproducibility and scaling to real experiments |
New here? Start with Why Laco, then First Steps.