dakenf / diffusers.js

diffusers implementation for node.js and browser
https://islamov.ai/diffusers.js/
307 stars 34 forks source link

No wasm backend found. #1

Closed gustavoquincy closed 1 year ago

gustavoquincy commented 1 year ago

Hello, I'm trying out the WebGPU demo and enabled Experimental WebAssembly and JSPI in the Chromium browser. Having loaded the model, after refreshing the page, I was prompted with

no available backend found. ERR: [wasm] RuntimeError: Aborted(both async and sync fetching of the wasm failed). Build with -sASSERTIONS for more info.

Do you know how to fix it?

dakenf commented 1 year ago

Can you open devtools, go to network tab and check why ort-wasm-simd.jsep.wasm could not load?

gustavoquincy commented 1 year ago

Thanks for your suggestion, now it's working, just slow.

Screenshot 2023-07-24 at 17 03 01