Use a rwlock for inner mutability. (#156)

* Use a rw-lock.

* Make clippy happier.
This commit is contained in:
Laurent Mazare
2023-07-13 11:25:24 +01:00
committed by GitHub
parent dfabc708f2
commit 21aa29ddce
3 changed files with 33 additions and 42 deletions

View File

@ -5,7 +5,7 @@ members = [
"candle-kernels",
"candle-hub",
"candle-nn",
# "candle-pyo3",
"candle-pyo3",
"candle-transformers",
]