Hi ,guys. I want to use pure wasm in web page. How to get an example to use resnet50 with pure wasm?
The pipeline might have changed a little bit since then (the codebase is from mid-2020), but I believe other than changing the model to be ResNet50, the only key thing you need to change is the
target-device to be the same as the
Thank you for your reply! I have another question: Does TVM support WEBGL? It seems onnx.js faster than tvm.
This is a bit outwith my area of experience with TVM, however I do recall seeing TVM had WebGL support, as discussed in this 2018 blogpost.
However, this forum discussion in 2020 discussed deprecating in favour of WebGPU, with WebGPU being the backend used in the WASM blogpost linked earlier in this thread.
When you are comparing
onnx.js with TVM, are you using WASM or WebGPU for the