Date: 2026-05-18
Use the v1 sparse-edge architecture as the default base for future work.
The matched stress run below shows better speed, lower VRAM, and stronger learning signal for v1.
Command used on both repositories:
python3 brain3d.py --grid 48 --steps 200 --strong-input --3d-inputsEnvironment:
- GPU: NVIDIA GeForce GTX 1050 (4 GB)
- PyTorch: 2.6.0+cu126
- Python env:
/tmp/RetroCodeMess/pyenv-qtun-cu126
| Model | Steps/s | Post-init VRAM | Post-sim VRAM | Final VRAM | Corr (L/R) | Spike (L/R) | Weight Delta |
|---|---|---|---|---|---|---|---|
| v1 | 28.04 | 217 MiB | 351 MiB | 239 MiB | 0.707 / 0.752 | 1.000 / 0.938 | +11,014,204 |
| v2 | 10.71 | 1075 MiB | 1965 MiB | 1965 MiB | 0.002 / -0.004 | 0.000 / 0.000 | +0.000000 |
- Added
--device {auto,cpu,cuda}CLI option. - Added fail-fast CLI validation for
--gridand--steps. - Added CUDA OOM graceful retry on CPU (single retry) for both
--device autoand--device cuda. - Added elapsed-time print and cross-pattern correlation prints for easier benchmarking.
Only keep changes that improve at least one of:
- learning signal,
- throughput,
- VRAM efficiency,
without regressing the other two materially.