Diffusers
ConsistencyModelPipeline
generative model
unconditional image generation
consistency-model
Instructions to use openai/diffusers-cd_bedroom256_lpips with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use openai/diffusers-cd_bedroom256_lpips with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("openai/diffusers-cd_bedroom256_lpips", 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
warnings
#1
by j35t3r - opened
Should I care about these warnings?
unet/diffusion_pytorch_model.safetensors not found
Loading pipeline components...: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 2/2 [00:07<00:00, 3.93s/it]
0%| | 0/10000 [00:00<?, ?it/s]/home/user/.conda/envs/cuda--11-1-1--pytorch--1-9-0/lib/python3.9/site-packages/diffusers/configuration_utils.py:134: FutureWarning: Accessing config attribute `sigma_min` directly via 'CMStochasticIterativeScheduler' object attribute is deprecated. Please access 'sigma_min' over 'CMStochasticIterativeScheduler's config object instead, e.g. 'scheduler.config.sigma_min'.
deprecate("direct config name access", "1.0.0", deprecation_message, standard_warn=False)