Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

I am getting no available backend found error in a browser environment #1159

Open
1 of 5 tasks
Nithur-M opened this issue Jan 19, 2025 · 3 comments
Open
1 of 5 tasks
Labels
bug Something isn't working

Comments

@Nithur-M
Copy link

System Info

"@huggingface/transformers": "^3.3.1",

Chrome

Environment/Platform

  • Website/web-app
  • Browser extension
  • Server-side (e.g., Node.js, Deno, Bun)
  • Desktop app (e.g., Electron)
  • Other (e.g., VSCode extension)

Description

I am getting the following error in a browser extension:
Error loading model: Error: no available backend found. ERR: [webgpu] Error: Cannot find module 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.3.1/dist/ort-wasm-simd-threaded.jsep.mjs'

Please let me know if there is any fix for this.

Reproduction

Install the latest version and try to run it in a browser extension

@Nithur-M Nithur-M added the bug Something isn't working label Jan 19, 2025
@qdrk
Copy link

qdrk commented Jan 20, 2025

Same here, trying to use in the background script. Also see discussion here: microsoft/onnxruntime#20991

@Nithur-M
Copy link
Author

I am seeing a different issue than mentioned in the above discussion @qdrk

@qdrk
Copy link

qdrk commented Jan 20, 2025

I am seeing a different issue than mentioned in the above discussion @qdrk

You are right, this looks different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants