update code format

This commit is contained in:
jhqxxx
2025-10-26 21:57:53 +08:00
parent 6244ffe324
commit 0e4ca66aca
12 changed files with 54 additions and 52 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ fn voxcpm_weight() -> Result<()> {
fn qwen3vl_weight() -> Result<()> {
let model_path = "/home/jhq/huggingface_model/Qwen/Qwen3-VL-4B-Instruct/";
let model_list = find_type_files(model_path, "safetensors")?;
let device = Device::Cpu;
for m in &model_list {
let weights = safetensors::load(m, &device)?;
@@ -60,4 +60,4 @@ fn qwen3vl_weight() -> Result<()> {
}
println!("model_list: {:?}", model_list);
Ok(())
}
}