webonnx / wonnx

A WebGPU-accelerated ONNX inference run-time written 100% in Rust, ready for native and the web
Other
1.54k stars 54 forks source link

Upgrade to wgpu 0.16.0 #163

Closed pixelspark closed 1 year ago

pixelspark commented 1 year ago

Just released:

https://github.com/gfx-rs/wgpu/releases/tag/v0.16.0

I attempted a migration to 0.15.3 before in https://github.com/webonnx/wonnx/pull/140 and that wasn't that complicated (just needs some changes to the request_device code and some minor shader changes).

Also now we need to change type to alias. Hopefully this works on the web as well (that was the issue keeping is from upgrading to 0.15.3).