Fast path for power users to validate the setup, explore capabilities, and run a meaningful experiment.
- Bootstrap env:
bash setup.bash(requires uv once). - Activate env:
source .venv/bin/activate(use.cshvariant for tcsh/csh). - Discover commands:
make hand list configs:make lc.
- Fast tests:
make t(excludes slow tests). - Smoke-train all core archs:
make tqa(1 epoch, limited batches). - Launch TensorBoard:
make tensorboardand open http://localhost:6006.
- Short comparison run:
make zca(3 epochs each; check logs underlogs/train/runs/). - Tip: Use
trainer=mpson macOS;trainer=gpuif you have CUDA.
- MNIST CNN baseline:
make ecm(orpython src/train.py experiment=cnn_mnist). - CIFAR quick validation suite:
make cbqa(optional, ~15 min).
- Switch model:
python src/train.py model=mnist_vit_38k trainer.max_epochs=1. - Override hyperparams:
python src/train.py model.optimizer.lr=1e-3 data.batch_size=128. - Add quick limits:
python src/train.py +trainer.limit_train_batches=10 +trainer.limit_val_batches=5.
- MNIST CNN reaches ~99.1% (full run); ViT can reach 99.5% (longer).
- MNIST/CIFAR auto-download on first use; allow time.
- Checkpoints must be local (remote URL loading is disabled).
- VIMH on macOS MPS: set
num_workers: 0if you see DataLoader issues.