Instructions to use stabilityai/stable-diffusion-3-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use stabilityai/stable-diffusion-3-medium with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Inference
- Notebooks
- Google Colab
- Kaggle
is there a fp32 model such that it can run on CPU
#188
by deleted - opened
@chizh you can just manually move it to cpu and fp32 I believe.
pipe.to('cpu', dtype=torch.float32)
pipe = StableDiffusion3Pipeline.from_pretrained(
"stabilityai/stable-diffusion-3-medium-diffusers",
low_cpu_mem_usage=False,
text_encoder_3=None,
tokenizer_3=None,
torch_dtype=torch.float32,
use_safetensors=True
)