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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPU Device Error: Uncaught (in promise) TypeError: lib$1.exports.detectGPUDevice is not a function #319
Comments
This has happened to me also with electron and react 18 (hidden webpack 5). Same electron was able to run it with parcel. |
@Luix-dev if you share more details I might be able to figure out a bit. |
Thank you! What information do you require?
If the project itself would be a bigger help, here's the git link: If you want to try it in obsidian you'll have to clone the folder into the plugins folder. Thanks in advance! |
I haven't found any solutions to this problem. |
@devluixos I have managed to identify whats wrong with obsidian but I do not have yet the solution (almost). the issue is that obsidian is electron and probably has the feature |
Hey WebLLM Team! 馃専
I've been diving into integrating WebLLM within an Obsidian plugin and stumbled upon a little hiccup. Running on Windows 11 with an Intel processor (which should have integrated graphics), I encountered the following error when trying to get my chat module up and running:
TypeError: lib$1.exports.detectGPUDevice is not a function
This pops up during the ChatModule's reload method execution. Here's a quick peek at the code causing the problem:
Since the plugin runs inside Obsidian, I'm curious if the environment might be affecting WebGPU support or if there's something else at play. Any tips, tricks, or insights you could share would be super appreciated!
Thanks in advance!
The text was updated successfully, but these errors were encountered: