Instructions to use tuwonga/dbluth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tuwonga/dbluth with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tuwonga/dbluth", 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 tuwonga 👋, 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(tuwonga/dbluth)`.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.89568b1
-
Add `scale_factor` to vae config. (#4)
- Add `scale_factor` to vae config. (baeaf34f6952691db163d0ab4912cee241d9e1d9) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>d6dcae2
-
Upload dbluth.safetensors
2882dba
-
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. (2c02dc238a56f1c57ce25fddc0ff8e93410c8033) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>90b9ec9
-
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 (35858026a0352ac72645afb0ab66606bd95b1e76) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>75cb8d2
-
Update README.md
e1873bb -
Add Diffusers weights (#1)
- Add Diffusers weights (3d42bb11fc24228a0c71d0fe89024e1b83dce4fd)7b2151d -
Update README.md
73a42fe -
Upload dbluth.ckpt
391eee4 -
Upload 2 files
a47703b -
initial commit
8f3ff0f