mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
32 lines
855 B
TOML
32 lines
855 B
TOML
[package]
|
|
name = "candle-nn"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
accelerate-src = { workspace = true, optional = true }
|
|
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
|
half = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
intel-mkl-src = { workspace = true, optional = true }
|
|
num-traits = { workspace = true }
|
|
rayon = { workspace = true }
|
|
safetensors = { workspace = true }
|
|
serde = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
accelerate = ["dep:accelerate-src", "candle/accelerate"]
|
|
cuda = ["candle/cuda"]
|
|
mkl = ["dep:intel-mkl-src", "candle/mkl"]
|