mlc-ai / mlc-ai/web-stable-diffusion
WebGPU: TypeError: adapter.requestAdapterInfo is not a function
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 3.7k
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
When trying to run the application on latest Chrome Canary with Version 133.0.6836.0 (Official Build) canary (64-bit) I get the error : "Generate error, Error: Find an error initializing WebGPU: TypeError: adapter.requestAdapterInfo is not a function"
After doing some research, it appears that the method is now deprecated (see https://developer.mozilla.org/de/docs/Web/API/GPUAdapter/requestAdapterInfo),
WebGPU works and I also tested that this one (not deprecated method), also works for me:
https://developer.mozilla.org/de/docs/Web/API/GPUAdapterInfo
So I hope this helps to fix the problem.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the application for the adapter.requestAdapterInfo entry point and compare its use with the GPUAdapterInfo API linked in the report. Verify the WebGPU initialization path in the stated Chrome Canary version and consider the issue done when initialization completes without this TypeError and adapter information remains available.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100