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