update init

This commit is contained in:
jhqxxx
2025-09-25 12:44:17 +08:00
parent b28b6aa25d
commit ae36194a4b
6 changed files with 70 additions and 8 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ impl ModelType {
ModelType::MiniCPM4 => {
let model = MiniCPMGenerateModel::init(model_path, device, dtype)?;
Ok(Box::new(model)as Box<dyn GenerateModel>)
}
}
}
}
}