no available backend found. ERR: [webgpu] backend not found.
#4
by
Yourcodebuddy
- opened
Hi,
I am trying to load Xenova/modnet in a Nextjs project using @huggingface/transformers. It is not working as during initialization I get this error "no available backend found. ERR: [webgpu] backend not found".
I have Graphics acceleration and chrome://flags/#enable-unsafe-webgpu enabled.
I am sharing my code. Please take a look and help.
I found the problem. The onnx runtime web version should match the hugging face transformers dependency version. Reference - https://github.com/microsoft/onnxruntime/issues/16456
Yourcodebuddy
changed discussion status to
closed