You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running an embedded v8 engine with Dawn integrated for webgpu that doesn't support import. On older versions of onnxruntime, I was polyfilling fetch to supply ort-wasm-simd-threaded.wasm and ort-wasm-simd-threaded.jsep.wasm, loaded during the startup of the environment, which worked for version 1.17.0 of onnxruntime.
Trying to update to the most recent version for better webGPU support, the system for loading modules was massively changed in commit 036fcd9 to use the Worker API (which is also unsupported in my environment), as well as dynamic imports. Is there any way to default the behaviour back to fetch/eval that use to exist, or alternative method I can polyfill to make things work? I can't polyfill import since it's a keyword.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm running an embedded v8 engine with Dawn integrated for webgpu that doesn't support
import
. On older versions of onnxruntime, I was polyfilling fetch to supplyort-wasm-simd-threaded.wasm
andort-wasm-simd-threaded.jsep.wasm
, loaded during the startup of the environment, which worked for version 1.17.0 of onnxruntime.Trying to update to the most recent version for better webGPU support, the system for loading modules was massively changed in commit 036fcd9 to use the Worker API (which is also unsupported in my environment), as well as dynamic imports. Is there any way to default the behaviour back to fetch/eval that use to exist, or alternative method I can polyfill to make things work? I can't polyfill import since it's a keyword.
Beta Was this translation helpful? Give feedback.
All reactions