mirror of
https://github.com/karpathy/nanochat.git
synced 2025-12-06 12:22:18 +00:00
fixing rebuild of rustbpe, if its is changed
This commit is contained in:
parent
47960bdbf2
commit
bdeacffdae
|
|
@ -70,8 +70,6 @@ conflicts = [
|
||||||
{ extra = "gpu" },
|
{ extra = "gpu" },
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
# rebuild if rustbpe is modified
|
|
||||||
cache-keys = [{ file = "pyproject.toml" }, {file = "rustbpe/**"}]
|
|
||||||
|
|
||||||
[tool.uv.workspace]
|
[tool.uv.workspace]
|
||||||
members = ["rustbpe"]
|
members = ["rustbpe"]
|
||||||
|
|
|
||||||
|
|
@ -15,3 +15,11 @@ module-name = "rustbpe"
|
||||||
bindings = "pyo3"
|
bindings = "pyo3"
|
||||||
manifest-path = "Cargo.toml"
|
manifest-path = "Cargo.toml"
|
||||||
features = ["pyo3/extension-module"]
|
features = ["pyo3/extension-module"]
|
||||||
|
|
||||||
|
[tool.uv]
|
||||||
|
cache-keys = [
|
||||||
|
{ file = "pyproject.toml" },
|
||||||
|
{ file = "src/**/*.rs" },
|
||||||
|
{ file = "Cargo.toml" },
|
||||||
|
{ file = "Cargo.lock" }
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user