Instructions to use codemanCheng/lora-trained-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codemanCheng/lora-trained-xl 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") prompt = "a photo of sks dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_0.png from codemanCheng/lora-trained-xl: direct link, hf CLI and curl.
- Browser
- Download file 1.77 MB
-
https://huggingface.co/codemanCheng/lora-trained-xl/resolve/main/image_0.png
- Command line
-
hf download hf://codemanCheng/lora-trained-xl/image_0.png
-
curl -L -o image_0.png https://huggingface.co/codemanCheng/lora-trained-xl/resolve/main/image_0.png
1.77 MB

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