diff --git a/tests/config_tests.rs b/tests/config_tests.rs index dfa9476..fce726e 100644 --- a/tests/config_tests.rs +++ b/tests/config_tests.rs @@ -27,6 +27,7 @@ fn minicpm4_config() -> Result<()> { #[test] fn voxcpm_config() -> Result<()> { // cargo test -F cuda,flash-attn minicpm4_config -- --nocapture + // cargo test -F cuda minicpm4_config -- --nocapture let model_path = "/home/jhq/huggingface_model/openbmb/VoxCPM-0.5B/"; let config_path = model_path.to_string() + "/config.json"; let config: VoxCPMConfig = serde_json::from_slice(&std::fs::read(config_path)?)?; diff --git a/tests/messy_test.rs b/tests/messy_test.rs index cde122e..7a0d990 100644 --- a/tests/messy_test.rs +++ b/tests/messy_test.rs @@ -4,7 +4,7 @@ use anyhow::Result; #[test] fn messy_test() -> Result<()> { let device = candle_core::Device::Cpu; - let wav_path = "./assets/audio/example.wav"; + let wav_path = "./assets/audio/voice_01.wav"; let audio_tensor = load_audio_with_resample(wav_path, device, Some(16000))?; println!("audio_tensor: {}", audio_tensor); diff --git a/tests/test_qwen2_5vl.rs b/tests/test_qwen2_5vl.rs index d346f33..ffab284 100644 --- a/tests/test_qwen2_5vl.rs +++ b/tests/test_qwen2_5vl.rs @@ -72,7 +72,7 @@ async fn qwen2_5vl_stream() -> Result<()> { "type": "image", "image_url": { - "url": "file://./assets/img/ocr_test.png" + "url": "file://./assets/img/ocr_test1.png" } }, {