mirror of
https://github.com/karpathy/nanochat.git
synced 2026-02-22 03:20:23 +00:00
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.
16 lines
288 B
TOML
16 lines
288 B
TOML
[package]
|
|
name = "rustbpe"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
dary_heap = "0.3"
|
|
indexmap = "2.2"
|
|
fancy-regex = "0.16.1"
|
|
log = "0.4.28"
|
|
pyo3 = { version = "0.26", features = ["extension-module"] }
|
|
pyo3-log = "0.13.1"
|
|
ahash = "0.8.12"
|
|
rayon = "1.11.0"
|
|
compact_str = "0.9.0"
|