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-10-26 14:24:02 +08:00
|
|
|
"candle-wasm-examples/*",
|
2023-09-27 21:15:30 +08:00
|
|
|
"candle-wasm-tests",
|
2024-03-30 22:49:37 +08:00
|
|
|
"tensor-tools",
|
2023-06-22 16:59:00 +08:00
|
|
|
]
|
2023-11-06 14:45:07 +08:00
|
|
|
exclude = [
|
|
|
|
"candle-flash-attn",
|
|
|
|
"candle-kernels",
|
2023-11-10 02:53:14 +08:00
|
|
|
"candle-metal-kernels",
|
2023-11-06 14:45:07 +08:00
|
|
|
"candle-onnx",
|
|
|
|
]
|
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]
|
2024-05-03 17:17:05 +08:00
|
|
|
version = "0.5.1"
|
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]
|
2024-03-21 17:56:41 +08:00
|
|
|
ab_glyph = "0.2.23"
|
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"
|
2024-05-03 17:17:05 +08:00
|
|
|
candle = { path = "./candle-core", package = "candle-core", version = "0.5.1" }
|
|
|
|
candle-datasets = { path = "./candle-datasets", version = "0.5.1" }
|
|
|
|
candle-flash-attn = { path = "./candle-flash-attn", version = "0.5.1" }
|
|
|
|
candle-kernels = { path = "./candle-kernels", version = "0.5.1" }
|
|
|
|
candle-metal-kernels = { path = "./candle-metal-kernels", version = "0.5.1" }
|
|
|
|
candle-nn = { path = "./candle-nn", version = "0.5.1" }
|
|
|
|
candle-onnx = { path = "./candle-onnx", version = "0.5.1" }
|
|
|
|
candle-transformers = { path = "./candle-transformers", version = "0.5.1" }
|
2023-07-16 14:47:17 +08:00
|
|
|
clap = { version = "4.2.4", features = ["derive"] }
|
2023-12-20 16:54:19 +08:00
|
|
|
criterion = { version = "0.5.1", default-features=false }
|
2024-06-01 14:18:35 +08:00
|
|
|
cudarc = { version = "0.11.4", features = ["std", "cublas", "cublaslt", "curand", "driver", "nvrtc", "f16", "cuda-version-from-build-system", "dynamic-linking"], default-features=false }
|
2024-03-03 01:50:01 +08:00
|
|
|
fancy-regex = "0.13.0"
|
2024-06-01 14:19:34 +08:00
|
|
|
gemm = { version = "0.18.0", 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"] }
|
2024-05-22 03:43:35 +08:00
|
|
|
hound = "3.5.1"
|
2024-03-21 17:56:41 +08:00
|
|
|
image = { version = "0.25.0", default-features = false, features = ["jpeg", "png"] }
|
|
|
|
imageproc = { version = "0.24.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"
|
2024-01-10 23:27:59 +08:00
|
|
|
memmap2 = { version = "0.9.3", features = ["stable_deref_trait"] }
|
2023-07-16 14:47:17 +08:00
|
|
|
num_cpus = "1.15.0"
|
|
|
|
num-traits = "0.2.15"
|
2024-03-30 04:58:15 +08:00
|
|
|
parquet = { version = "51.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"
|
2024-01-16 05:34:40 +08:00
|
|
|
safetensors = "0.4.1"
|
2023-07-19 21:04:38 +08:00
|
|
|
serde = { version = "1.0.171", features = ["derive"] }
|
2023-11-10 01:55:09 +08:00
|
|
|
serde_plain = "1.0.2"
|
2023-07-16 14:47:17 +08:00
|
|
|
serde_json = "1.0.99"
|
|
|
|
thiserror = "1"
|
2024-04-22 23:10:46 +08:00
|
|
|
tokenizers = { version = "0.19.1", 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-09-23 22:43:11 +08:00
|
|
|
yoke = { version = "0.7.2", features = ["derive"] }
|
2024-04-22 22:23:27 +08:00
|
|
|
zip = { version = "1.1.1", default-features = false }
|
2023-12-13 23:58:36 +08:00
|
|
|
metal = { version = "0.27.0", features = ["mps"]}
|
2023-07-16 14:47:17 +08:00
|
|
|
|
2023-07-07 02:01:21 +08:00
|
|
|
[profile.release-with-debug]
|
|
|
|
inherits = "release"
|
|
|
|
debug = true
|