feat(转换工具): 1. 更新依赖库 burn,启用 wgpu、fusion 和 autotune 特性 2. 修改主程序以使用 Wgpu 设备进行模型转换 3. 更新输出信息以反映 GPU 加速

This commit is contained in:
2026-07-08 15:22:00 +08:00
parent e235edee4a
commit 564b1e4a09
3 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ path = "src/main.rs"
[dependencies]
minicpm-convert = { path = "../../crates/minicpm-convert" }
burn = { version = "0.21", default-features = false, features = ["std", "flex"] }
burn = { version = "0.21", default-features = false, features = ["std", "wgpu", "fusion", "autotune"] }
anyhow = "1.0"