Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
stable-diffusion
Go to lstein/stable-diffusion for all the best stuff and a stable release. This repository is my testing ground and it's very likely that I've done something that will break it. (by magnusviri)
-
stable-diffusion
Discontinued This version of CompVis/stable-diffusion features an interactive command-line script that combines text2img and img2img functionality in a "dream bot" style interface, a WebGUI, and multiple features and other enhancements. [Moved to: https://github.com/invoke-ai/InvokeAI] (by lstein)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Real-ESRGAN
Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.
-
stable-diffusion-webui
Discontinued Stable Diffusion web UI [Moved to: https://github.com/sd-webui/stable-diffusion-webui] (by hlky)
I eventually had to run export PYTORCH_ENABLE_MPS_FALLBACK=1 too, in my case when adding the functionality to increase image size, using https://github.com/lowfuel/progrock-stable/tree/apple-silicon, inspired by this post https://www.reddit.com/r/StableDiffusion/comments/wxm0cf/comment/iluvq5b/?context=3
I've seen it referenced here https://github.com/CompVis/stable-diffusion/issues/25#issuecomment-1229557323 too, but I think it needs tinkering to allow it to run on a Mac. Looks amazing.
Another Github repo to use GPU is https://github.com/magnusviri/stable-diffusion/tree/apple-silicon-mps-support. I haven't tested it yet, but there's people that have used it successfully as well.
I'm moving to https://github.com/lstein/stable-diffusion. I'll create a guide for that repo too, although the README is pretty self-explanatory. It has a Web Interface and a lot of cool new features. If that is too much for you, you can start with these steps from the post and move there when you are ready! 🔥🔥🔥
Download the code from the Github repo https://github.com/ModeratePrawn/stable-diffusion-cpu and unzip it. Open it on an editor (e.g. VS Code)
Also, try to search for Github repositories e.g. Stable Diffusion AMD. Found https://github.com/darkhemic/stable-diffusion-amd but there's probably more.
Did you use https://github.com/einanao/stable-diffusion/tree/apple-silicon ? Make sure you don't use the main branch, but the apple-silicon branch.
NotImplementedError: The operator 'aten::index.Tensor' is not current implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on https://github.com/pytorch/pytorch/issues/77764. As a temporary fix, you can set the environment variable \PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.`
Update. I got realesrgan-ncnn-vulkan (https://github.com/xinntao/Real-ESRGAN/releases) to work as an upscaler, so I'll be updating the post again. Also, got https://github.com/lowfuel/progrock-stable to work as well
I was looking for a new script that could implement this process directly with the prompt and I found this: https://github.com/jquesnelle/txt2imghd/blob/master/README.md
I saw someone else sharing this thing as well: https://github.com/hlky/stable-diffusion-webui
Download Visual Studio Code (https://code.visualstudio.com/)