2023-06-22 16:59:00 +08:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2023-06-27 17:57:27 +08:00
|
|
|
"candle-core",
|
2023-07-03 18:30:58 +08:00
|
|
|
"candle-examples",
|
2023-07-02 03:36:44 +08:00
|
|
|
"candle-hub",
|
2023-07-10 15:50:09 +08:00
|
|
|
"candle-nn",
|
2023-07-15 02:54:38 +08:00
|
|
|
"candle-pyo3",
|
2023-07-12 20:49:31 +08:00
|
|
|
"candle-transformers",
|
2023-07-14 21:51:46 +08:00
|
|
|
"candle-wasm-example",
|
2023-06-22 16:59:00 +08:00
|
|
|
]
|
2023-07-14 22:52:15 +08:00
|
|
|
exclude = [
|
|
|
|
"candle-kernels",
|
|
|
|
]
|
2023-07-07 02:01:21 +08:00
|
|
|
|
2023-07-16 14:47:17 +08:00
|
|
|
[workspace.dependencies]
|
|
|
|
anyhow = { version = "1", features = ["backtrace"] }
|
|
|
|
byteorder = "1.4.3"
|
|
|
|
clap = { version = "4.2.4", features = ["derive"] }
|
|
|
|
# Re-enable this once 0.9.13 as been released as it would include the cublas-f16 changes
|
|
|
|
# cudarc = { version = "0.9.13", optional = true, features = ["f16"] }
|
|
|
|
cudarc = { git = "https://github.com/LaurentMazare/cudarc.git", branch = "cublas-bf16", features = ["f16"] }
|
|
|
|
futures = "0.3.28"
|
2023-07-17 21:05:39 +08:00
|
|
|
# TODO: Switch back to the official gemm implementation once the following are available.
|
|
|
|
# https://github.com/sarah-ek/gemm/pull/8.
|
|
|
|
# https://github.com/sarah-ek/gemm/pull/9.
|
|
|
|
gemm = { git = "https://github.com/LaurentMazare/gemm.git", branch = "f16-vec-plus-wasm-simd" }
|
2023-07-16 14:47:17 +08:00
|
|
|
half = { version = "2.3.1", features = ["num-traits"] }
|
|
|
|
indicatif = "0.17.5"
|
|
|
|
intel-mkl-src = { version = "0.8.1", features = ["mkl-dynamic-lp64-iomp"] }
|
|
|
|
libc = { version = "0.2.147" }
|
|
|
|
log = "0.4"
|
|
|
|
memmap2 = "0.7.1"
|
|
|
|
num_cpus = "1.15.0"
|
|
|
|
num-traits = "0.2.15"
|
|
|
|
rand = "0.8.5"
|
|
|
|
reqwest = "0.11.18"
|
|
|
|
safetensors = "0.3.1"
|
|
|
|
serde = { version = "1.0.166", features = ["derive"] }
|
|
|
|
serde_json = "1.0.99"
|
2023-07-17 21:05:39 +08:00
|
|
|
sha256 = "=1.1.4"
|
2023-07-16 14:47:17 +08:00
|
|
|
thiserror = "1"
|
|
|
|
tokenizers = { version = "0.13.3", default-features = false, features = ["onig"] }
|
|
|
|
tokio = "1.28.2"
|
|
|
|
tokio-test = "0.4.2"
|
|
|
|
wav = "1.0.0"
|
|
|
|
zip = { version = "0.6.6", default-features = false }
|
|
|
|
|
2023-07-07 02:01:21 +08:00
|
|
|
[profile.release-with-debug]
|
|
|
|
inherits = "release"
|
|
|
|
debug = true
|