Instructions to use pcuenq/stable-diffusion-v1-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pcuenq/stable-diffusion-v1-4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("pcuenq/stable-diffusion-v1-4", 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
Commit History
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM.
Hey pcuenq 👋, Your model repository seems to contain a stable diffusion checkpoint. We have noticed that your scheduler config currently does not correctly work with the [DDIMScheduler](https://huggingface.co/docs/diffusers/main/en/api/schedulers#diffusers.DDIMScheduler) because `clip_sample` is not set to False and will therefore [incorrectly default to True](https://github.com/huggingface/diffusers/blob/3ce6380d3a2ec5c3e3f4f48889d380d657b151bc/src/diffusers/schedulers/scheduling_ddim.py#L127). The official stable diffusion checkpoints have `clip_sample=False` so that the scheduler config works will **all** schedulers, see: https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/scheduler/scheduler_config.json#L7. We strongly recommend that you merge this PR to make sure your model works correctly with DDIM. Diffusingly, Patrick.43f612c
-
Update README.md
48a1bd8
-
Add safety module functionality to readme (#30)
- Add safety module functionality to readme (861782572d9b8f5e157edee4e3c94dd94ea687d2) Co-authored-by: Nathan Lambert <natolambert@users.noreply.huggingface.co>e9bde7f
-
Update README.md
fdd2974 -
Updating gated access wording to be more serious about license. (#12)
- Updating gated access wording to be more serious about license. (79683f10b9baf65a47e2ecc82cf474358f3275a1) Co-authored-by: Margaret Mitchell <meg@users.noreply.huggingface.co>9b8670f
-
Update README.md
a1cda71 -
Improve usage example (#11)
- Improve usage example (034ae2ed1832d2af18a5b901ef5955a983b45e13)11a3326 -
Update README.md
21b2071 -
Update README.md
48d3f1b -
Update README.md
ffa6ee9
-
Update README.md (#3)
- Update README.md (c1a1d6ed90fa47bc1291d32334cd945dcfed9760) Co-authored-by: Philip Kirkpatrick <SPK-951@users.noreply.huggingface.co>2881c08 -
Update README.md
26c6da0 -
Update README.md
0b2e68a -
Update README.md
2b64332 -
Update README.md
36ae9ff -
Update README.md
f99eae7 -
Update README.md
cf7033c -
Update README.md
f10ed29 -
Update README.md
e5cfb9a -
Update README.md
9852c31 -
Update README.md
cc66b03 -
Update README.md
acd94cc -
Upload v1-variants-scores.jpg
d8bb5ae -
Update README.md
96fe19f -
Update README.md
72b584c -
Update README.md
412dbda -
Create README.md
9c24957
-
add weights
4d5006d -
initial commit
5dcbb0d