58 lines
1.6 KiB
TOML
58 lines
1.6 KiB
TOML
[workspace]
|
|
members = [
|
|
"candle-core",
|
|
"candle-datasets",
|
|
"candle-examples",
|
|
"candle-nn",
|
|
"candle-pyo3",
|
|
"candle-transformers",
|
|
"candle-wasm-examples/llama2-c",
|
|
"candle-wasm-examples/whisper",
|
|
]
|
|
exclude = [
|
|
"candle-flash-attn",
|
|
"candle-kernels",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Minimalist ML framework."
|
|
repository = "https://github.com/huggingface/candle"
|
|
keywords = ["blas", "tensor", "machine-learning"]
|
|
categories = ["science"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[workspace.dependencies]
|
|
accelerate-src = { version = "0.3.2" }
|
|
anyhow = { version = "1", features = ["backtrace"] }
|
|
byteorder = "1.4.3"
|
|
clap = { version = "4.2.4", features = ["derive"] }
|
|
cudarc = { version = "0.9.13", features = ["f16"] }
|
|
# TODO: Switch back to the official gemm implementation once it has caught up.
|
|
gemm = { version = "0.15.5", package = "candle-gemm" }
|
|
hf-hub = "0.2.0"
|
|
half = { version = "2.3.1", features = ["num-traits", "rand_distr"] }
|
|
image = { version = "0.24.7", default-features = false, features = ["jpeg", "png"] }
|
|
intel-mkl-src = { version = "0.8.1", features = ["mkl-static-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"
|
|
safetensors = "0.3.1"
|
|
serde = { version = "1.0.171", features = ["derive"] }
|
|
serde_json = "1.0.99"
|
|
thiserror = "1"
|
|
tokenizers = { version = "0.13.3", default-features = false }
|
|
tracing = "0.1.37"
|
|
tracing-chrome = "0.7.1"
|
|
tracing-subscriber = "0.3.7"
|
|
wav = "1.0.0"
|
|
zip = { version = "0.6.6", default-features = false }
|
|
|
|
[profile.release-with-debug]
|
|
inherits = "release"
|
|
debug = true
|