Compact, Inspectable Training Infrastructure
Building open-source machine learning runtimes where memory allocation, gradient propagation, and distributed collectives are explicit and reproducible on consumer hardware.
Why Build Another ML Runtime?
Production frameworks excel at broad operator coverage and mature kernel libraries, but ship as multi-gigabyte Python distributions with dynamic caching allocators and deep dispatch stacks.
Dark Forest explores a complementary design point: pre-allocated static GPU memory arenas, strided host tensors with explicit tape autograd, and self-contained <12 MB compiled binaries that run directly on Linux, Windows, or headless edge hardware.
Correctness is tested automatically against PyTorch reference runs across forward passes, backward gradients, and multi-step optimizer trajectories.
Benchmarks and collective TCP ring all-reduce primitives target accessible consumer GPUs and standard Ethernet/TCP sockets without requiring proprietary interconnects.