diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

about stable-diffusion-v1-5

Open zcswdt opened this issue 3 years ago • 3 comments

Model/Pipeline/Scheduler description

How to download model stable-diffusion-v1-5 to the local disk

image

Open source status

  • [X] The model implementation is available
  • [X] The model weights are available (Only relevant if addition is not a scheduler).

Provide useful links for the implementation

No response

zcswdt avatar Oct 31 '22 08:10 zcswdt

Hi @zcswdt -- you need to get the model directly from the hub (https://huggingface.co/runwayml/stable-diffusion-v1-5). This involves making an account, accepting the conditions / license, and then downloading directly or using the git interface.

natolambert avatar Nov 01 '22 16:11 natolambert

@zcswdt you can use Git or Download the ckpt file directly and convert it to the format you need.

Downloading stable-diffusion-v1-5 and stable-diffusion-inpainting to local disk:

You will need to go to:

  • https://huggingface.co/runwayml/stable-diffusion-v1-5
  • https://huggingface.co/runwayml/stable-diffusion-inpainting.

Review and accept the usage/download agreements before completing the following steps.

Note:

  • stable-diffusion-v1-5 uses 5.10 GB
  • stable-diffusion-inpainting uses 5.10 GB

If your model folders are larger, open stable-diffusion-v1-5 and stable-diffusion-inpainting and delete the .git folders

git clone https://huggingface.co/runwayml/stable-diffusion-v1-5 --branch main --single-branch stable-diffusion-v1-5
git clone https://huggingface.co/runwayml/stable-diffusion-inpainting --branch main --single-branch stable-diffusion-inpainting

Enter in your HuggingFace credentials and the download will start. Once complete, you are ready to start using Stable Diffusion.

Note: You can change the --branch [option] to fp16, bf16, flax or onnx depending on your needs

averad avatar Nov 03 '22 19:11 averad

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Nov 30 '22 15:11 github-actions[bot]