mlc-ai / web-stable-diffusion

Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.
https://mlc.ai/web-stable-diffusion
Apache License 2.0
3.51k stars 220 forks source link

Fails on Windows (and Android) with "maxStorageBufferBindingSize exceeds limit. requested=1024MB, limit=128MB." #35

Closed oscarbg closed 1 year ago

oscarbg commented 1 year ago

Hi, testing latest Chrome Canary on Windows and Android.. Win RTX 4070 Android Poco F3 both fails with: "Find an error initializing the WebGPU device Error: Cannot initialize runtime because of requested maxStorageBufferBindingSize exceeds limit. requested=1024MB, limit=128MB."

also changed boot launch to: --enable-dawn-features=disable_robustness but that doesn't make a difference.. thanks..

DustinBrett commented 1 year ago

This sounds similar to my issue I noticed on web-llm.

Canary decreased maxStorageBufferBindingSize limit? (!119)

DustinBrett commented 1 year ago

As of 116.0.5833.0 this is now fixed in Canary. So I think it was indeed browser related.

oscarbg commented 1 year ago

thanks! closing..

fuerpy commented 6 months ago

@oscarbg hi~I'm currently starting to port this project to run on android and I just finished reading through the walkthrough code. To my understanding, I change the target in the build function to mali or Adreno for android and can get a .so that will run on android, is this correct? Did you run it successfully on android please?