delete some code

This commit is contained in:
jhqxxx
2026-03-30 20:36:57 +08:00
parent ccbe799b90
commit 363833d8fb
14 changed files with 19 additions and 142 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ impl<'a> Qwen2_5VLGenerateModel<'a> {
let vb = unsafe { VarBuilder::from_mmaped_safetensors(&model_list, dtype, device)? };
let qwen2_5_vl = Qwen2_5VLModel::new(cfg, vb)?;
let model_name = std::path::Path::new(path)
.file_name()
.file_name()
.and_then(|s| s.to_str())
.unwrap_or("qwen2.5vl")
.to_string();