Instructions to use hf-internal-testing/lora-trained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/lora-trained with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("hf-internal-testing/lora-trained") prompt = "a photo of sks dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download checkpoint-500/random_states_0.pkl from hf-internal-testing/lora-trained: direct link, hf CLI and curl.
- Browser
- Download file 14.6 kB
-
https://huggingface.co/hf-internal-testing/lora-trained/resolve/main/checkpoint-500/random_states_0.pkl
- Command line
-
hf download hf://hf-internal-testing/lora-trained/checkpoint-500/random_states_0.pkl
-
curl -L -o random_states_0.pkl https://huggingface.co/hf-internal-testing/lora-trained/resolve/main/checkpoint-500/random_states_0.pkl
14.6 kB
- Xet hash:
- 337f9bcf232a350ddfda5a98eadb34c37936978a9480f1cf1fb8728af224942a
- Size of remote file:
- 14.6 kB
- SHA256:
- e1f5577080613ef17aa8ee5d3a453ff57e68c79b46d60152786599f32ee409ff
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.