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-500/optimizer.bin from ankurcw/TrainedLoRAs: direct link, hf CLI and curl.
- Browser
- Download file 15 MB
-
https://huggingface.co/ankurcw/TrainedLoRAs/resolve/main/checkpoint-500/optimizer.bin
- Command line
-
hf download hf://ankurcw/TrainedLoRAs/checkpoint-500/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/ankurcw/TrainedLoRAs/resolve/main/checkpoint-500/optimizer.bin
15 MB
- Xet hash:
- d821683f8cc5d9530bf697464b9f035d09aafa4d9b187fed84654d2c7908105f
- Size of remote file:
- 15 MB
- SHA256:
- d0a40d5430fe1bb8af37bf5d1eb3b103c311d2c40acef1d8dd5bc25b5dfec447
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.