add Qwen3VL model
This commit is contained in:
+11
-2
@@ -1,6 +1,5 @@
|
||||
use aha::models::{
|
||||
minicpm4::config::MiniCPM4Config, qwen2_5vl::config::Qwen2_5VLConfig,
|
||||
voxcpm::config::VoxCPMConfig,
|
||||
minicpm4::config::MiniCPM4Config, qwen2_5vl::config::Qwen2_5VLConfig, qwen3vl::config::Qwen3VLConfig, voxcpm::config::VoxCPMConfig
|
||||
};
|
||||
use anyhow::Result;
|
||||
|
||||
@@ -34,3 +33,13 @@ fn voxcpm_config() -> Result<()> {
|
||||
println!("{:?}", config);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn qwen3vl_config() -> Result<()> {
|
||||
// cargo test -F cuda qwen3vl_config -- --nocapture
|
||||
let model_path = "/home/jhq/huggingface_model/Qwen/Qwen3-VL-4B-Instruct/";
|
||||
let config_path = model_path.to_string() + "/config.json";
|
||||
let config: Qwen3VLConfig = serde_json::from_slice(&std::fs::read(config_path)?)?;
|
||||
println!("{:?}", config);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user