@latest_post
Setting up Stable Diffusion 1.4 on Linux in 2023
In April 2023, I used the original CompVis Stable Diffusion repository to generate images locally without being a Python developer. My goal was to run a command like this:
python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms
Historical note: This article records a Stable Diffusion 1.x setup from 2023. It depends on old model checkpoints, Miniforge and package versions, repository code, and safety-checker internals. I have not revalidated it as a current installation guide. Use the documentation for your chosen modern Stable Diffusion tool instead of copying these commands unchanged.