mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 02:38:10 +00:00

* Supports more audio formats * Simplify the handling of the different buffer types. * Check the sample rate. --------- Co-authored-by: laurent <laurent.mazare@gmail.com>
34 lines
1.0 KiB
TOML
34 lines
1.0 KiB
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 }
|
|
byteorder = { workspace = true }
|
|
candle = { workspace = true }
|
|
candle-flash-attn = { workspace = true, optional = true }
|
|
candle-nn = { workspace = true }
|
|
intel-mkl-src = { workspace = true, optional = true }
|
|
num-traits = { workspace = true }
|
|
rand = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_plain = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
accelerate = ["dep:accelerate-src", "candle/accelerate", "candle-nn/accelerate"]
|
|
cuda = ["candle/cuda", "candle-nn/cuda"]
|
|
flash-attn = ["cuda", "dep:candle-flash-attn"]
|
|
mkl = ["dep:intel-mkl-src", "candle/mkl", "candle-nn/mkl"]
|
|
metal = ["candle/metal", "candle-nn/metal"]
|