Files
aha/Cargo.toml
T

63 lines
1.8 KiB
TOML
Raw Normal View History

2025-09-21 10:13:18 +08:00
[package]
name = "aha"
2026-04-06 19:32:25 +08:00
version = "0.2.5"
2025-09-21 10:13:18 +08:00
edition = "2024"
2025-09-21 10:17:21 +08:00
repository = "https://github.com/jhqxxx/aha"
license = "Apache-2.0"
2026-04-06 19:32:25 +08:00
description = "aha model inference library, now supports Qwen(2.5VL/3/3VL/3.5/ASR/3Embedding/3Reranker), MiniCPM4, VoxCPM/1.5, DeepSeek-OCR/2, Hunyuan-OCR, PaddleOCR-VL/1.5, RMBG2.0, GLM(ASR-Nano-2512/OCR), Fun-ASR-Nano-2512, LFM(2/2.5/2VL/2.5VL)"
2025-09-21 10:13:18 +08:00
[dependencies]
2026-02-24 16:34:06 +08:00
candle-core = { version = "0.9.2" }
candle-nn = { version = "0.9.2" }
candle-transformers = { version = "0.9.2" }
candle-flash-attn = { version = "0.9.2", optional = true }
2025-09-22 16:38:12 +08:00
serde = "1.0.226"
serde_json = "1.0.145"
anyhow = "1.0.100"
2025-12-09 15:52:26 +08:00
ffmpeg-next = { version = "8.0.0", optional = true }
2025-09-22 16:38:12 +08:00
image = "0.25.8"
2026-03-30 00:44:41 +08:00
reqwest = { version = "0.13", features = ["blocking"] }
2025-09-22 16:38:12 +08:00
base64 = "0.22.1"
num = "0.4.3"
minijinja = "2.12.0"
tokenizers = "0.22.1"
2026-03-31 12:30:12 +08:00
# aha_openai_dive = { version = "1.4", features = ["stream"] }
2026-01-15 21:57:12 +08:00
uuid = { version = "1.18.1", features = ["v4"] }
2026-03-31 12:30:12 +08:00
# chrono = "0.4"
2025-11-05 14:46:03 +08:00
rocket = { version = "0.5.1", features = ["serde_json", "json"] }
2025-09-22 23:49:58 +08:00
tokio = "1.47.1"
2025-10-03 22:25:58 +08:00
hound = "3.5.1"
2025-11-05 14:46:03 +08:00
clap = { version = "4.5.51", features = ["derive"] }
2026-03-30 00:44:41 +08:00
modelscope = "0.1.5"
2025-11-05 14:46:03 +08:00
dirs = "6.0.0"
sysinfo = "0.33"
2025-12-11 19:33:30 +08:00
url = "2.5.7"
rayon = "1.10"
2026-01-07 21:46:01 +08:00
# rubato = "1.0.0"
# audioadapter-buffers = "2.0.0"
realfft = "3.5.0"
symphonia = { version = "0.5.5", features = ["mp3", "wav"] }
2026-01-15 21:57:12 +08:00
serde_yaml = "0.9.34"
2026-01-30 22:04:23 +08:00
zip = "7.2.0"
half = "2.7.1"
byteorder = "1.5.0"
2026-02-07 00:26:03 +08:00
sentencepiece = "0.13.1"
2026-03-11 17:30:28 +08:00
ahash = "0.8.12"
2026-03-31 12:30:12 +08:00
derive_builder = "0.20.2"
2025-09-22 23:49:58 +08:00
[patch.crates-io]
esaxx-rs = { path = "vendor/esaxx-rs" }
2025-09-22 23:49:58 +08:00
2025-09-22 16:38:12 +08:00
[features]
2026-01-15 21:57:12 +08:00
flash-attn = ["candle-flash-attn"]
cuda = ["candle-nn/cuda", "candle-core/cuda", "candle-transformers/cuda"]
metal = ["candle-nn/metal", "candle-core/metal", "candle-transformers/metal"]
ffmpeg = ["ffmpeg-next"]
2025-11-22 23:27:14 +08:00
[lints.clippy]
2025-12-03 17:21:01 +08:00
needless_range_loop = "allow"
2025-12-11 19:33:30 +08:00
single_range_in_vec_init = "allow"
2026-01-07 21:46:01 +08:00
manual_div_ceil = "allow"
[dev-dependencies]