Instructions to use codemanCheng/lora-trained-xl_demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codemanCheng/lora-trained-xl_demo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("codemanCheng/lora-trained-xl_demo") prompt = "a photo of sks cat" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_2.png from codemanCheng/lora-trained-xl_demo: direct link, hf CLI and curl.
- Browser
- Download file 1.51 MB
-
https://huggingface.co/codemanCheng/lora-trained-xl_demo/resolve/main/image_2.png
- Command line
-
hf download hf://codemanCheng/lora-trained-xl_demo/image_2.png
-
curl -L -o image_2.png https://huggingface.co/codemanCheng/lora-trained-xl_demo/resolve/main/image_2.png
1.51 MB

- Xet hash:
- 87588e7b77c257efe5780698ef723909d1b61cddcd96c44533be2d97f83aa189
- Size of remote file:
- 1.51 MB
- SHA256:
- 63ab4b1f1c55933d8db138574f0623826978e7c101fbd0cf91c7bb931f9898b4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.