# Entropy Research Lab

> Entropy Research Lab is an independent open-source research effort founded by Swasthik Shetty, developing Dark Forest (a machine learning runtime in Rust and CUDA) and Lunaite (an experimental checkpointed task-graph sandbox).

Dark Forest implements 64-byte aligned strided host tensors, iterative tape autograd, pre-allocated static GPU execution graphs, custom fused CUDA kernels, and TCP ring all-reduce collectives. It compiles into a standalone `< 12 MB` native binary (excluding shared GPU driver and CUDA toolkit libraries) without Python runtime dependencies, and is verified to `2.38e-7` maximum step loss delta against PyTorch 2.4 across 200 MLP training steps.

## Core Systems

- [Dark Forest Overview](https://entropy.surf/products/dark-forest): Open-source Rust and CUDA machine learning runtime (`darkforest-core`, `darkforest-cuda`, `darkforest-py`, `models`).
- [Lunaite Prototype](https://entropy.surf/products/lunaite): Experimental typed DAG task scheduler with serialized state checkpoints and deterministic rollback on failed validation predicates.
- [Project Maximus Roadmap](https://entropy.surf/roadmap): Four-phase roadmap covering PyTorch eager parity, static graph IR, functional transformations, and native kernel optimization.

## Quickstart & Documentation

- [Quickstart Guide](https://entropy.surf/docs/quickstart): Add `darkforest-core` to `Cargo.toml` and run a 5-step `TapeMLP` + `AdamW` training loop or workspace verification binaries.
- [Technical Documentation](https://entropy.surf/docs): Guides and API references covering strided layouts, iterative tape autograd, CUDA setup, and TCP ring all-reduce.
- [Architecture RFCs](https://entropy.surf/research): Numbered specifications (RFC-001 through RFC-005) and parity verification reports.

## Benchmarks & Status

- [Benchmarks & Parity](https://entropy.surf/benchmarks): Standalone binary footprint (`< 12 MB` vs `> 1,800 MB`), 200-step MLP parity (`2.38e-7`), single-thread Ryzen 9 CPU step latency (`0.42 ms` vs `0.48 ms`), and `PENDING` GPU suite trackers.
- [Verification Status](https://entropy.surf/status): Status of unit tests, view-op fuzzing runs, and pending Milestone 2 checks.

## Framework Comparisons

- [Dark Forest vs PyTorch](https://entropy.surf/compare/dark-forest-vs-pytorch)
- [Dark Forest vs JAX](https://entropy.surf/compare/dark-forest-vs-jax)
- [Dark Forest vs TensorFlow](https://entropy.surf/compare/dark-forest-vs-tensorflow)
- [Dark Forest vs Candle](https://entropy.surf/compare/dark-forest-vs-candle)
- [Dark Forest vs Burn](https://entropy.surf/compare/dark-forest-vs-burn)
- [Dark Forest vs TinyGrad](https://entropy.surf/compare/dark-forest-vs-tinygrad)

## Open Source & Repositories

- [Open Source & RFC Workflow](https://entropy.surf/open-source)
- [Contributing Guide](https://entropy.surf/contribute)
- [Dark Forest GitHub Repository](https://github.com/hallow-mk3/Dark-Forest)
- [Lunaite GitHub Repository](https://github.com/hallow-mk3/Lunaite)
- [Consolidated LLM Reference](https://entropy.surf/llms-full.txt)
