mlc-ai / mlc-ai/web-stable-diffusion

WebGPU: TypeError: adapter.requestAdapterInfo is not a function

Open
#67 8 comments 9 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.