Skip to content

[WebGL] cannot resolve operator 'ConstantOfShape' with opsets: ai.onnx v12 #10031

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
josephrocca opened this issue Dec 14, 2021 · 1 comment
Labels
feature request request for unsupported feature or enhancement platform:web issues related to ONNX Runtime web; typically submitted using template

Comments

@josephrocca
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I'm trying to get OpenAI's CLIP model working with the WebGL backend. The vision model works with wasm, but

System information

  • ONNX Runtime version (you are using): 1.10.0

Describe the solution you'd like
Implementation of ConstantOfShape for WebGL (assuming that would solve the error mentioned in the title).

Describe alternatives you've considered
The wasm backend is one alternative, but I'm assuming that WebGL will be significantly faster.

Additional context
Here's a demo showing the error. Be sure to switch the "backend" drop-down menu to WebGL.

Thanks!

@hanbitmyths hanbitmyths added the feature request request for unsupported feature or enhancement label Dec 14, 2021
@sophies927 sophies927 added platform:web issues related to ONNX Runtime web; typically submitted using template and removed component:ort-web labels Aug 12, 2022
@chmjkb
Copy link

chmjkb commented Aug 9, 2023

I've ran into the same issue, my model works with wasm backend, however with webgl it won't work because of int64, once it's converted to int32 it shows the same error, are there any workarounds for this?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request request for unsupported feature or enhancement platform:web issues related to ONNX Runtime web; typically submitted using template
Projects
None yet
Development

No branches or pull requests

5 participants