Instructions to use nitrosocke/redshift-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/redshift-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("nitrosocke/redshift-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 nitrosocke 👋, 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(nitrosocke/redshift-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.08063e8
-
Add `scale_factor` to vae config. (#22)
- Add `scale_factor` to vae config. (7306029904ec3961f60a1038ce4eebbfa91dbd2d) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>8efe7e6
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#17)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (85f6ec58252f8a06c905ff3b8de8b1da8c95bdde) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>143bda7
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#10)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (76e73f69b058b06ca53399af827820ed18250d59) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>7302e41
-
Update README.md
4d5357f -
Update README.md
d34dac8 -
Update README.md
afabec3 -
add gradio demo (#7)
- add gradio demo (a574cd38e2662ead6694ca1437e0fa43d8826096) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>777714b
-
uploading diffusers (#3)
- Add Diffusers weights for (b09d5930227a8770e0fabe16c7b515b28460641c) Co-authored-by: Kevin <Kevin@users.noreply.huggingface.co>cfa394e -
Update README.md
1890805 -
Update README.md
af6490c -
Update README.md
2c8823a -
Delete images/test.txt
309ef78 -
Upload 2 files
119deef -
Create images/test.txt
20db695 -
Delete images/test.txt
2e9b84d -
Create images/test.txt
a64423e -
Update README.md
6612094 -
Upload redshift-diffusion-v1.ckpt
cc6bbe6 -
initial commit
0e7e536