Instructions to use stablediffusionapi/md40 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/md40 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/md40", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/pytorch_model.bin from stablediffusionapi/md40: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/stablediffusionapi/md40/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://stablediffusionapi/md40/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/stablediffusionapi/md40/resolve/main/text_encoder/pytorch_model.bin
246 MB
- Xet hash:
- cdde00ec8e16950fb778e3d96328ff41904fac15479d3017e1aca2b528d53988
- Size of remote file:
- 246 MB
- SHA256:
- a74588dd82cd7852799ecc2587ca06d97e40bdc62cc1cd17d3a4383bb439d04c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.