Commit Graph

4 Commits

Author SHA1 Message Date
Ruhollah Majdoddin
bdeacffdae
fixing rebuild of rustbpe, if its is changed 2025-10-30 19:38:16 +01:00
Ruhollah Majdoddin
47960bdbf2
uv workspace
The original installation does not work properly:
- `uv pip show nanochat` worked but importing from a script outside
  the nanochat directory failed.
- rustbpe got installed as a module not a package.

Fix by creating a uv workspace with:
- nanochat: Python package (uv_build backend, depends on rustbpe)
- rustbpe: Rust extension package (maturin backend)
- moving nanochat to src/, as required by uv.

Also updates speedrun.sh, dependency versions, and cleans trailing
whitespace.
2025-10-30 19:38:16 +01:00
Andrej Karpathy
9467d83cf2 fix memory leak bug in rust tokenizer ty @mitsuhiko 2025-10-19 23:54:31 +00:00
karpathy
3a5e0bc50b initial commit 2025-10-13 06:49:24 -07:00