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