5ee15165df
- 添加 esaxx-rs 依赖库 (0.1.10) - 更新 zip 依赖从 7.2.0 到 8.5.1 - 更新 crc-catalog 依赖从 2.4.0 到 2.5.0 - 为 Windows MSVC 目标添加构建配置,禁用静态 CRT 链接 - 移除本地 vendor 路径补丁,改用 crates.io 版本 chore(aha-ui): 更新前端项目配置和界面 - 将 CSS 文件路径从 src/App.css 改为 src/index.css - 更新 HTML 标签语言属性为 zh-CN - 修改页面标题为"AHA 模型启动器" - 移除默认的 vite 图标链接 - 为前端添加 Windows 构建配置 Co-authored-by: Copilot <copilot@github.com>
62 lines
1.8 KiB
TOML
62 lines
1.8 KiB
TOML
[package]
|
|
name = "aha"
|
|
version = "0.2.5"
|
|
edition = "2024"
|
|
repository = "https://github.com/jhqxxx/aha"
|
|
license = "Apache-2.0"
|
|
description = "aha model inference library, now supports Qwen(2.5VL/3/3VL/3.5/ASR/3Embedding/3Reranker), MiniCPM4, VoxCPM(0.5B/1.5/2), 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)"
|
|
|
|
[dependencies]
|
|
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 }
|
|
serde = "1.0.226"
|
|
serde_json = "1.0.145"
|
|
anyhow = "1.0.100"
|
|
ffmpeg-next = { version = "8.0.0", optional = true }
|
|
image = "0.25.8"
|
|
reqwest = { version = "0.13", features = ["blocking"] }
|
|
base64 = "0.22.1"
|
|
num = "0.4.3"
|
|
minijinja = "2.12.0"
|
|
tokenizers = "0.22.1"
|
|
# aha_openai_dive = { version = "1.4", features = ["stream"] }
|
|
uuid = { version = "1.18.1", features = ["v4"] }
|
|
# chrono = "0.4"
|
|
rocket = { version = "0.5.1", features = ["serde_json", "json"] }
|
|
tokio = "1.47.1"
|
|
hound = "3.5.1"
|
|
clap = { version = "4.5.51", features = ["derive"] }
|
|
modelscope = "0.1.5"
|
|
dirs = "6.0.0"
|
|
sysinfo = "0.33"
|
|
url = "2.5.7"
|
|
rayon = "1.10"
|
|
# rubato = "1.0.0"
|
|
# audioadapter-buffers = "2.0.0"
|
|
realfft = "3.5.0"
|
|
symphonia = { version = "0.5.5", features = ["mp3", "wav"] }
|
|
serde_yaml = "0.9.34"
|
|
zip = "8.5.1"
|
|
half = "2.7.1"
|
|
byteorder = "1.5.0"
|
|
sentencepiece = "0.13.1"
|
|
ahash = "0.8.12"
|
|
derive_builder = "0.20.2"
|
|
kaldi-native-fbank = "0.1.0"
|
|
esaxx-rs = "0.1.10"
|
|
|
|
|
|
[features]
|
|
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"]
|
|
|
|
[lints.clippy]
|
|
needless_range_loop = "allow"
|
|
single_range_in_vec_init = "allow"
|
|
manual_div_ceil = "allow"
|
|
|