Instructions to use nitrosocke/archer-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/archer-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/archer-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/archer-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.01dd650
-
Add `scale_factor` to vae config. (#8)
- Add `scale_factor` to vae config. (55182807a8d73b8d54c0d65ab1a7ed437d98cbe8) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>a25248e
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#5)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (4ee4470fe56d8837dc6251232425a2630de471fb) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>013f2c2
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#4)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (827bb3fa7d7184a42e20eb4d6e725bf690879807) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>df1bee2
-
Update README.md
e1c832b
-
Update README.md
d0d33e0
-
Update README.md
b76844d -
Add diffusers example (#3)
- Add diffusers example (6e4dac8a9648a3f9be2643f07c664e2e9620ddc9) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>f9ecab4
-
Add Diffusers model (#1)
- Add Diffusers model (a726aa42047536a53bf61885448e82b95ca231de)e2c6509
-
updated prompt information
616aa52 -
Update README.md
27fa72e -
Upload archer-diffusion-dataset.png
a1b16c5 -
updated readme with samples and description
b40b2e6 -
Uploaded samples of output renders
e2e773a -
Initial model upload
2c2ddd4 -
initial commit
6ce3611