2023-06-22 16:59:00 +08:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2023-06-27 17:57:27 +08:00
|
|
|
"candle-core",
|
2023-08-05 15:56:50 +08:00
|
|
|
"candle-datasets",
|
2023-07-03 18:30:58 +08:00
|
|
|
"candle-examples",
|
2023-08-15 21:42:22 +08:00
|
|
|
"candle-book",
|
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-24 19:36:02 +08:00
|
|
|
"candle-wasm-examples/llama2-c",
|
2023-09-10 19:29:37 +08:00
|
|
|
"candle-wasm-examples/segment-anything",
|
2023-07-24 19:36:02 +08:00
|
|
|
"candle-wasm-examples/whisper",
|
2023-08-22 18:56:43 +08:00
|
|
|
"candle-wasm-examples/yolo",
|
2023-09-20 04:31:37 +08:00
|
|
|
"candle-wasm-examples/bert",
|
2023-09-27 13:07:11 +08:00
|
|
|
"candle-wasm-examples/phi",
|
2023-09-27 21:15:30 +08:00
|
|
|
"candle-wasm-examples/t5",
|
|
|
|
"candle-wasm-tests",
|
2023-06-22 16:59:00 +08:00
|
|
|
]
|
2023-09-20 04:31:37 +08:00
|
|
|
exclude = ["candle-flash-attn", "candle-kernels"]
|
2023-08-25 16:35:40 +08:00
|
|
|
resolver = "2"
|
2023-07-07 02:01:21 +08:00
|
|
|
|
2023-08-02 18:12:18 +08:00
|
|
|
[workspace.package]
|
2023-10-01 20:51:57 +08:00
|
|
|
version = "0.3.0"
|
2023-08-02 18:12:18 +08:00
|
|
|
edition = "2021"
|
|
|
|
description = "Minimalist ML framework."
|
|
|
|
repository = "https://github.com/huggingface/candle"
|
|
|
|
keywords = ["blas", "tensor", "machine-learning"]
|
|
|
|
categories = ["science"]
|
2023-08-07 21:11:27 +08:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-08-02 18:12:18 +08:00
|
|
|
|
2023-07-16 14:47:17 +08:00
|
|
|
[workspace.dependencies]
|
2023-08-06 00:25:24 +08:00
|
|
|
accelerate-src = { version = "0.3.2" }
|
2023-07-16 14:47:17 +08:00
|
|
|
anyhow = { version = "1", features = ["backtrace"] }
|
|
|
|
byteorder = "1.4.3"
|
|
|
|
clap = { version = "4.2.4", features = ["derive"] }
|
2023-08-11 01:43:25 +08:00
|
|
|
cudarc = { version = "0.9.14", features = ["f16"] }
|
2023-10-14 16:36:52 +08:00
|
|
|
gemm = { version = "0.16.6", features = ["wasm-simd128-enable"] }
|
2023-08-29 20:14:26 +08:00
|
|
|
hf-hub = "0.3.0"
|
2023-08-15 16:50:38 +08:00
|
|
|
half = { version = "2.3.1", features = ["num-traits", "use-intrinsics", "rand_distr"] }
|
2023-08-09 22:26:44 +08:00
|
|
|
image = { version = "0.24.7", default-features = false, features = ["jpeg", "png"] }
|
2023-08-25 19:47:55 +08:00
|
|
|
imageproc = { version = "0.23.0", default-features = false }
|
2023-07-20 02:41:11 +08:00
|
|
|
intel-mkl-src = { version = "0.8.1", features = ["mkl-static-lp64-iomp"] }
|
2023-07-16 14:47:17 +08:00
|
|
|
libc = { version = "0.2.147" }
|
|
|
|
log = "0.4"
|
2023-09-23 22:43:11 +08:00
|
|
|
memmap2 = { version = "0.7.1", features = ["stable_deref_trait"] }
|
2023-07-16 14:47:17 +08:00
|
|
|
num_cpus = "1.15.0"
|
|
|
|
num-traits = "0.2.15"
|
2023-09-23 22:43:11 +08:00
|
|
|
parquet = { version = "45.0.0" }
|
2023-07-16 14:47:17 +08:00
|
|
|
rand = "0.8.5"
|
2023-08-10 12:33:44 +08:00
|
|
|
rand_distr = "0.4.3"
|
2023-08-11 12:51:58 +08:00
|
|
|
rayon = "1.7.0"
|
2023-08-25 20:50:31 +08:00
|
|
|
rusttype = { version = "0.9", default-features = false }
|
2023-07-16 14:47:17 +08:00
|
|
|
safetensors = "0.3.1"
|
2023-07-19 21:04:38 +08:00
|
|
|
serde = { version = "1.0.171", features = ["derive"] }
|
2023-07-16 14:47:17 +08:00
|
|
|
serde_json = "1.0.99"
|
|
|
|
thiserror = "1"
|
2023-08-14 20:12:17 +08:00
|
|
|
tokenizers = { version = "0.13.4", default-features = false }
|
2023-07-18 02:40:42 +08:00
|
|
|
tracing = "0.1.37"
|
|
|
|
tracing-chrome = "0.7.1"
|
|
|
|
tracing-subscriber = "0.3.7"
|
2023-07-16 14:47:17 +08:00
|
|
|
wav = "1.0.0"
|
2023-09-23 22:43:11 +08:00
|
|
|
yoke = { version = "0.7.2", features = ["derive"] }
|
2023-07-16 14:47:17 +08:00
|
|
|
zip = { version = "0.6.6", default-features = false }
|
|
|
|
|
2023-07-07 02:01:21 +08:00
|
|
|
[profile.release-with-debug]
|
|
|
|
inherits = "release"
|
|
|
|
debug = true
|