Instructions to use tzwm/sd-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tzwm/sd-models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tzwm/sd-models", 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
Upload folder using huggingface_hub
Browse filesFiles changed (3)
11710600201123version https://git-lfs.github.com/spec/v1oid sha256:235745af8d86bf4a4c1b5b4f529868b37019a10f7c0b2e79ad0abca3a22bc6e1size 334641162123version https://git-lfs.github.com/spec/v1oid sha256:735e4c3a447a3255760d7f86845f09f937809baa529c17370d83e4c3758f3c75size 334641190vae/.tzwm_init_vaeAdded+1
vae/sdxl_vae_fp16_fix.safetensorsAdded+3
vae/vae-ft-mse-840000-ema-pruned.safetensorsAdded+3