onnxruntime-web/webgpu not found in next js #22200
Labels
ep:WebGPU
ort-web webgpu provider
platform:web
issues related to ONNX Runtime web; typically submitted using template
Describe the issue
I am trying to use onnxruntime-web/webgpu in Next.js, but for some reason, the module cannot be found.
I have fine-tuned a ResNet-50 model for classification, and I want to use onnxruntime-web/webgpu for faster processing, but the module is not found.
Am I missing something here? maybe I'm not very familiar with web development but I've followed all the instructions listed in the documentation
To reproduce
npx create-next-app@latest
npm install onnxruntime-web
import onnxruntime-web/webgpu
import * as ort from 'onnxruntime-web/webgpu';
Error Screenshot
Urgency
No response
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.19.2
Execution Provider
'webgpu' (WebGPU)
The text was updated successfully, but these errors were encountered: