mirror of
https://github.com/karpathy/nanochat.git
synced 2025-12-06 04:12:13 +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" },
|
||||
],
|
||||
]
|
||||
# rebuild if rustbpe is modified
|
||||
cache-keys = [{ file = "pyproject.toml" }, {file = "rustbpe/**"}]
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = ["rustbpe"]
|
||||
|
|
|
|||
|
|
@ -15,3 +15,11 @@ module-name = "rustbpe"
|
|||
bindings = "pyo3"
|
||||
manifest-path = "Cargo.toml"
|
||||
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