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