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
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
Hey Avrik 👋, Your model repository seems to contain logic to load a feature extractor that is deprecated, which you should notice by seeing the warning: ``` transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. warnings.warn( ``` when running `pipe = DiffusionPipeline.from_pretrained(Avrik/mirrors-edge-diffusion)`.This PR makes sure that the warning does not show anymore by replacing `CLIPFeatureExtractor` with `CLIPImageProcessor`. This will certainly not change or break your checkpoint, but onlymake sure that everything is up to date. Best, the 🧨 Diffusers team.06090b7
-
Add `scale_factor` to vae config. (#4)
- Add `scale_factor` to vae config. (f6876e99755fffbe4538191cef344eb385a373c3) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>213970d
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#3)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (91a71b4cd8775635178ee32468d790da7bb20dca) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>6356f78
-
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