GitHub

TrenTorch

Most people learn ML frameworks by importing them.

We built ours by hand, then made it hit harder.

$ git clone https://github.com/TrenTorch/TrenTorch.git && cd TrenTorch
$ python3 -m venv .venv && source .venv/bin/activate
$ pip install -r requirements.txt && pip install -e .
$ tren setup && tren

On Windows? See the PowerShell steps.

20 progressive modules

Tensor to Transformer, one op at a time: every module builds on the last, nothing skipped.

Just NumPy underneath

No black-box dependency. Every operation traces back to raw NumPy you can read in one sitting.

Systems, not just math

Memory, performance, and scaling analysis built into the curriculum, not bolted on after.

Historical milestones

Rebuild the perceptron, the CNN, the transformer: the actual turning points, not toy examples.