2025-09-21 10:13:18 +08:00
|
|
|
[package]
|
|
|
|
|
name = "aha"
|
2025-11-23 19:41:56 +08:00
|
|
|
version = "0.1.2"
|
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"
|
2025-11-23 19:41:56 +08:00
|
|
|
description = "aha model inference library, now supports Qwen2.5VL, MiniCPM4, VoxCPM, Qwen3VL, and DeepSeek-OCR"
|
2025-09-21 10:13:18 +08:00
|
|
|
|
|
|
|
|
[dependencies]
|
2025-10-26 23:40:10 +08:00
|
|
|
candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.9.1", tag = "0.9.1"}
|
|
|
|
|
candle-nn = { git = "https://github.com/huggingface/candle.git", version = "0.9.1", tag = "0.9.1"}
|
|
|
|
|
candle-transformers = { git = "https://github.com/huggingface/candle.git", version = "0.9.1", tag = "0.9.1"}
|
|
|
|
|
candle-flash-attn = { git = "https://github.com/huggingface/candle.git", version = "0.9.1", tag = "0.9.1", optional = true }
|
2025-09-22 16:38:12 +08:00
|
|
|
serde = "1.0.226"
|
|
|
|
|
serde_json = "1.0.145"
|
|
|
|
|
anyhow = "1.0.100"
|
|
|
|
|
ffmpeg-next = "8.0.0"
|
|
|
|
|
image = "0.25.8"
|
|
|
|
|
reqwest = { version = "0.12.23", features = ["blocking"] }
|
|
|
|
|
base64 = "0.22.1"
|
|
|
|
|
num = "0.4.3"
|
|
|
|
|
minijinja = "2.12.0"
|
|
|
|
|
tokenizers = "0.22.1"
|
2025-10-27 10:55:40 +08:00
|
|
|
aha_openai_dive = {version = "1.3.2", features = ["stream"]}
|
2025-09-22 23:49:58 +08:00
|
|
|
uuid = { version = "1.18.1", features = ["v4"]}
|
|
|
|
|
chrono = "0.4.42"
|
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"] }
|
|
|
|
|
modelscope = "0.1.0"
|
|
|
|
|
dirs = "6.0.0"
|
2025-09-22 23:49:58 +08:00
|
|
|
|
2025-09-22 16:38:12 +08:00
|
|
|
[features]
|
|
|
|
|
flash-attn=["candle-flash-attn"]
|
|
|
|
|
cuda=["candle-nn/cuda", "candle-core/cuda", "candle-transformers/cuda"]
|
2025-11-22 23:27:14 +08:00
|
|
|
|
|
|
|
|
[lints.clippy]
|
|
|
|
|
needless_range_loop = "allow"
|