refactor deepseek_ocr/fun_asr_nano generate code

This commit is contained in:
jhqxxx
2026-04-01 19:11:10 +08:00
parent 4626815b56
commit b254d21efc
50 changed files with 1947 additions and 1700 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ fn fun_asr_nano_generate() -> Result<()> {
#[tokio::test]
async fn fun_asr_nano_stream() -> Result<()> {
// RUST_BACKTRACE=1 cargo test -F cuda fun_asr_nano_stream -r -- --nocapture
// RUST_BACKTRACE=1 cargo test -F cuda --test test_fun_asr_nano fun_asr_nano_stream -r -- --nocapture
let save_dir =
aha::utils::get_default_save_dir().ok_or(anyhow::anyhow!("Failed to get save dir"))?;
let model_path = format!("{}/FunAudioLLM/Fun-ASR-Nano-2512/", save_dir);