Text-to-Image
Diffusers
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Instructions to use ShuhongZheng/sdxl_cat_w_preserve with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShuhongZheng/sdxl_cat_w_preserve with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ShuhongZheng/sdxl_cat_w_preserve") prompt = "A superhero sks cat wearing red cape is flying through the sky" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee

- Xet hash:
- 5167bd26112ec488266c3b4c8e5c7c7e581ae4c185869554a7d15938a6bb82de
- Size of remote file:
- 1.45 MB
- SHA256:
- e8943652bf23822385db367fa636890dd03266c5a561b0030c6f8b04a1bde34b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.