update qwen2.5vl

This commit is contained in:
jhqxxx
2025-09-22 23:49:58 +08:00
parent 0b0076cdc9
commit fdfdfedeb4
7 changed files with 1300 additions and 74 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ impl ModelType {
model_path: &str,
device: Option<&Device>,
dtype: Option<DType>,
) -> Result<Box<dyn GenerateModel>> {
) -> Result<Box<impl GenerateModel>> {
match model_type {
ModelType::Qwen2_5VL => {
let model = Qwen2_5VLGenerateModel::init(model_path, device, dtype)?;