-
Notifications
You must be signed in to change notification settings - Fork 835
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
V3 - WebGPU Whisper in Chrome Extention #925
Comments
Successfully able to import. Realized that we manually have to build it inside node modules. Link Will check if this works as expected or not. Thanks! |
Can you try |
Tried it, that worked. But when we use Currently, I was able to build and import without errors by going to node modules and installing packages and then building it. Trying to implement an open source application for meeting note taker. Where we can record the meetings (with audio) and then later transcribe it and ask questions all locally in the extension. I think it would be possible with v2 with CPU maybe. Trying to figure out if we can utilize GPU. It would be very helpful as meetings could be 1-2 hours and on CPU it might be super long wait.
Thank you so much for such fast response @xenova. If you have any thoughts / ideas / suggestions please let me know. |
@chandeldivyam did you ever figure out an import structure to make this work in the extensions? Struggling with this myself |
I recently updated the browser extension example here: https://github.com/huggingface/transformers.js-examples/tree/main/browser-extension Could you try that out and see if that fixes your issue? |
Question
Can webGPU accelerated whisper run in a chrome extension?
I checked the space and found the dependency
"@xenova/transformers": "github:xenova/transformers.js#v3"
which I imported in a chrome extension. When I tried to import it, it didn't work.I might be doing something I don't know maybe. What could the issue here be?
What I can understand is that it is trying to search for a ts/tsx/js/jsx file (as specified in the
webpack.config.js
and it is unable to get it.The text was updated successfully, but these errors were encountered: