They kindly provide instructions to run it (even on Apple M1).
> Find an error initializing the WebGPU device TypeError: adapter.requestAdapterInfo is not a function
No idea how to fix it.
I use some basic libre cad programs to plan my dream house project. And their renderings are pretty non-photorealistic.
Are there any upscalers that can take an inside or outside house render and make it look like something from Pinterest? Meaning the input is an image, not text?
Replicate sometimes give you free use (I forget if this model does), but if you pay then an image output will cost you about one cent.
Give it your image, write a prompt (something like "a modern living room"), choose your ControlNet model from the drop-down, and submit.
If you choose depth map, for example, it will generate its best guess depth map for your image and use that to steer the Stable Diffusion output. It's fascinating, and a lot of fun to play with.
[1] https://replicate.com/jagilley/controlnet
Edit: I'd love to see what you produce, if you do use it.
At huggingface: https://huggingface.co/spaces/hysts/ControlNet
Play around with the different models, you might get better results with some vs others.
For example: https://nmkd.itch.io/t2i-gui
The web stable diffusion directly puts stable diffusion model in your browser, and it runs directly through client GPU on users’ laptop. This means there is no queueing time for the server’s response. It also means more opportunities for client server co-optimizations, since essentially the “client” and “server” are both the single laptop. The web stable diffusion is also friendly for personalization and privacy. Since everything runs only on the client side and no interaction with server is needed, you can imagine to have your own style stable diffusion deployed and demonstrated on the web without sharing the model to anyone else, and you can also run with personalized model input (e.g., the text prompt in this case) without letting others know.
Thanks for your interest again! And we are happy to hear your feedback on your experiences and the functionalities you would like us to add in the future.
What happens when someone wants to update/upgrade the model to a newer version? Can they just get a “diff” and “patch” their model, or do they have to download a whole new one?
https://github.com/cmdr2/stable-diffusion-ui
It installs in and runs from a single folder, so it's nice and tidy.
The linked version runs a version of the stable diffusion model in the webbrowser, so it uses your own CPU (and in the case GPU) via the APIs provided by the web browser. This specific implementation uses an API called WebGPU which isn't yet widely supported.
Tested on Intel MacOS 12.5 PC with AMD 8GB RX 580 GPU, about 28 secs for 20 steps, surprisingly fast too. I did have to go to chrome://flags and enable "Unsafe WebGPU" even on Chrome Canary (113.0.5656.0) before it would work, otherwise I just got "no adapter" errors.
I had issues compiling it on my own computer, but the demo version at https://mlc.ai/web-stable-diffusion/#text-to-image-generatio... works fine.
17s DPM (20 steps), 41s PNDM (50 steps)
Before reading what they used I assumed they would run tch-rs (torchlib bindings for rust) on wgpu and ship it via wasm.