Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
anime
art
general
MichaelFan
stable-diffusion
stable-diffusion-diffusers
Instructions to use Yntec/OpenLexica with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Yntec/OpenLexica with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Yntec/OpenLexica", 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
Update vae/config.json
Browse files12345610 unmodified lines1718192021222324{"_class_name": "AutoencoderKL","_diffusers_version": "0.28.0.dev0","act_fn": "silu","block_out_channels": [128,10 unmodified lines"force_upcast": true,"in_channels": 3,"latent_channels": 4,"latents_mean": null,"latents_std": null,"layers_per_block": 2,"norm_num_groups": 32,"out_channels": 3,12345610 unmodified lines171819202122{"_class_name": "AutoencoderKL","_diffusers_version": "0.19.0.dev0","act_fn": "silu","block_out_channels": [128,10 unmodified lines"force_upcast": true,"in_channels": 3,"latent_channels": 4,"layers_per_block": 2,"norm_num_groups": 32,"out_channels": 3,
vae/config.json+1-3