Instructions to use CompVis/ldm-super-resolution-4x-openimages with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/ldm-super-resolution-4x-openimages with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CompVis/ldm-super-resolution-4x-openimages", 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
Commit History
-
Fix deprecated float16/fp16 variant loading through new `version` API. (#4)
- Fix deprecated float16/fp16 variant loading through new `version` API. (26bb5614dd82ae47cfa1ce24907fcd49132bc457)0b55ddf
-
Update README.md
4fcfe5d -
Update README.md (#1)
- Update README.md (dbca3bb272e42704010d0ba21a41aa3236e06270) Co-authored-by: Muhammad Ahmed <ahmedghani@users.noreply.huggingface.co>167a199
-
Update README.md
45d5e42
-
Create README.md
25f7be8 -
add model
d9db069 -
initial commit
affc3e9