diff --git a/src/setup.rs b/src/setup.rs index 747de70..1455506 100644 --- a/src/setup.rs +++ b/src/setup.rs @@ -17,7 +17,7 @@ const MODEL_SHA256: &str = "c6bf5e0df765f9d5b43bc9e0536d4b4b3e7d40bdf5ecf13e45f1 const MODEL_ROOT: &str = "sherpa-onnx-nemotron-3.5-asr-streaming-0.6b-560ms-int8-2026-06-11"; const MODEL_NAME: &str = "nemotron-3.5-asr-streaming-0.6b-560ms-int8"; const FINAL_MODEL_URL: &str = "https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8.tar.bz2"; -const FINAL_MODEL_SHA256: &str = "5793d0fd397c5778d2cf2126994d58e9d56b1be7c04d13c7a15bb1b4eafb16bf"; +const FINAL_MODEL_SHA256: &str = "1495e91b59d7fc53ddca91f3431758ec99f8fa253fdb0e1e851be0f72b14b0f9"; const FINAL_MODEL_ROOT: &str = "sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8"; const LLAMA_URL: &str = "https://github.com/ggml-org/llama.cpp/releases/download/b10258/llama-b10258-bin-ubuntu-vulkan-x64.tar.gz"; const LLAMA_SHA256: &str = "21e2ca510aa05f5814adfab82e4cb2d31641596aa9a8780ae05132c731ebe75a"; diff --git a/tests/runtime_smoke.rs b/tests/runtime_smoke.rs index a05d0f6..0b618c4 100644 --- a/tests/runtime_smoke.rs +++ b/tests/runtime_smoke.rs @@ -1,3 +1,15 @@ +//! End-to-end checks against the runtimes installed by `whispers setup`. +//! +//! The engine host defaults to the current executable, which is the test +//! binary here, so point it at the real CLI: +//! +//! ```sh +//! cargo install --path . --locked && whispers setup +//! WHISPERS_ENGINE_HOST=$(command -v whispers) \ +//! WHISPERS_TEST_ENHANCE_MODEL=~/.local/share/whispers/rewrite/Qwen_Qwen3.5-4B-Q4_K_M.gguf \ +//! cargo test --test runtime_smoke -- --ignored --test-threads=1 +//! ``` + use whispers::config::Config; use whispers::config::EnhancementConfig; use whispers::engine::EngineClient;