mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00
27 lines
854 B
TOML
27 lines
854 B
TOML
[package]
|
|
name = "candle-transformers"
|
|
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.1.0", package = "candle-core" }
|
|
hf-hub = { workspace = true}
|
|
candle-nn = { path = "../candle-nn", version = "0.1.0" }
|
|
intel-mkl-src = { workspace = true, optional = true }
|
|
tokenizers = { workspace = true, features = ["onig"] }
|
|
rand = { workspace = true }
|
|
wav = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
accelerate = ["dep:accelerate-src", "candle/accelerate", "candle-nn/accelerate"]
|
|
cuda = ["candle/cuda", "candle-nn/cuda"]
|
|
mkl = ["dep:intel-mkl-src", "candle/mkl", "candle-nn/mkl"]
|