Instructions to use Avrik/mirrors-edge-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Avrik/mirrors-edge-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Avrik/mirrors-edge-diffusion", 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 Avrik 👋, 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.91a71b4
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#2)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (2874f26b6be6d2ed8c56f79cb092cdd4b8f480cb) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>b891e20
-
Upload MirrorsEdge.safetensors with huggingface_hub
c8a0c18
-
Update README.md
faed901
-
Update README.md
0573b69 -
Upload diffusion_pytorch_model.bin
ab8a752 -
Upload diffusion_pytorch_model.bin
2634b7c -
Upload pytorch_model.bin
f040da1 -
Upload pytorch_model.bin
a9f47a1 -
Upload model_index.json
43de09a -
Create vae/config.json
78d7712 -
Create unet/config.json
5d3570e -
Upload 4 files
4526fc2 -
Create tokenizer/merges.txt
dee943e -
Create text_encoder/config.json
08b1126 -
Create scheduler/scheduler_config.json
d48824d -
Create safety_checker/config.json
fbe1a2f -
Create feature_extractor/preprocessor_config.json
8142ebd -
Delete vae/a
9d24ae3 -
Delete unet/a
3ac736f -
Delete tokenizer/a
4b8df93 -
Delete text_encoder/a
dc755bf -
Delete scheduler/a
3040e65 -
Delete safety_checker/a
d38d5db -
Delete feature_extractor/a
73905ec -
Create vae/a
d8303eb -
Create unet/a
16b9c67 -
Create tokenizer/a
75886d0 -
Create text_encoder/a
df58085 -
Create scheduler/a
adcfeb7 -
Create safety_checker/a
9fe71cb -
Create feature_extractor/a
fee9f52 -
Update README.md
749a973 -
Update README.md
cc86f1a -
Update README.md
d37fd9c -
Update README.md
ba90c00 -
Update README.md
9f1a071 -
Update README.md
b448c18 -
Upload mirrors-edge-examples-small.jpg
2fc3329 -
Upload MirrorsEdge.ckpt
b7262ea
-
initial commit
963ae1b