Files
aha/tests/config_tests.rs
T

13 lines
428 B
Rust
Raw Normal View History

2025-09-22 16:38:12 +08:00
use aha::models::qwen2_5vl::config::Config;
2025-09-22 23:58:08 +08:00
use anyhow::Result;
2025-09-22 16:38:12 +08:00
#[test]
fn qwen2_5vl_config() -> Result<()> {
// cargo test qwen2_5vl_config -- --nocapture
let model_path = "/home/jhq/huggingface_model/Qwen/Qwen2.5-VL-3B-Instruct/";
let config_path = model_path.to_string() + "/config.json";
let config: Config = serde_json::from_slice(&std::fs::read(config_path)?)?;
println!("{:?}", config);
Ok(())
2025-09-22 23:58:08 +08:00
}