-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Web] BiRefNet_T not working on webgpu #21968
Comments
I looked briefly at this: the model takes a lot of memory for activations and will not work with wasm32. |
hi @guschmue, thanks for your support. It's great if you can make it works on webgpu (at least with high-end gpus). About the memory, you means we can only run this model with wasm64 right? |
If we can make GatherND and ScatterND working on WebGPU, by using external data side-loading it is possible to make it work in wasm32. And there is an ongoing effort to support wasm64 build. |
Possibly related: https://huggingface.co/onnx-community/DepthPro-ONNX also throws an error for me:
Another error:
The model works correctly in Node.js (CPU) |
https://huggingface.co/briaai/RMBG-2.0 is a new birefnet-based model for state-of-the-art background removal. Would be useful to test too! |
Hi, just a kindly check if there have been any updates or progress regarding this issue? Thank you |
The |
hi, how about this? |
Describe the issue
https://huggingface.co/onnx-community/BiRefNet_T does not work on webgpu
To reproduce
See https://huggingface.co/onnx-community/BiRefNet_T
Urgency
No response
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.19
Execution Provider
'webgpu' (WebGPU)
The text was updated successfully, but these errors were encountered: