Instructions to use ankurcw/TrainedLoRAs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ankurcw/TrainedLoRAs 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("ankurcw/TrainedLoRAs") prompt = "Kurukshetra" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download checkpoint-400/optimizer.bin from ankurcw/TrainedLoRAs: direct link, hf CLI and curl.
- Browser
- Download file 15 MB
-
https://huggingface.co/ankurcw/TrainedLoRAs/resolve/main/checkpoint-400/optimizer.bin
- Command line
-
hf download hf://ankurcw/TrainedLoRAs/checkpoint-400/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/ankurcw/TrainedLoRAs/resolve/main/checkpoint-400/optimizer.bin
15 MB
- Xet hash:
- cd3672e83a339522833e2dbf0681c5ac572c34827448395d2968f25985fd0508
- Size of remote file:
- 15 MB
- SHA256:
- 549ed36d36cff56d0cf02f3c9b94a041869a39cd9f8509f0f07721b4f814d2aa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.