Files

65 lines
1.4 KiB
TOML

[package]
name = "mistralrs-quant"
readme = "README.md"
authors = ["Eric Buehler"]
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
license.workspace = true
homepage.workspace = true
[dependencies]
candle-core.workspace = true
candle-nn.workspace = true
half.workspace = true
serde.workspace = true
serde_json.workspace = true
lazy_static.workspace = true
paste.workspace = true
tracing.workspace = true
rayon.workspace = true
byteorder.workspace = true
float8.workspace = true
once_cell.workspace = true
metal = { workspace = true, optional = true }
thiserror.workspace = true
yoke.workspace = true
memmap2.workspace = true
safetensors.workspace = true
regex.workspace = true
hf-hub.workspace = true
tokio.workspace = true
[features]
cuda = [
"candle-core/cuda",
"candle-nn/cuda",
"dep:bindgen_cuda"
]
nccl = ["cuda", "candle-core/nccl"]
metal = ["candle-core/metal", "candle-nn/metal", "dep:metal"]
accelerate = ["candle-core/accelerate", "candle-nn/accelerate"]
ring = []
cuda-11040 = []
cuda-11050 = []
cuda-11060 = []
cuda-11070 = []
cuda-11080 = []
cuda-12000 = []
cuda-12010 = []
cuda-12020 = []
cuda-12030 = []
cuda-12040 = []
cuda-12050 = []
cuda-12060 = []
cuda-12080 = []
cuda-12090 = []
[build-dependencies]
bindgen_cuda = { workspace = true, optional = true }