Instructions to use chrono-chan/lofigen-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use chrono-chan/lofigen-2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("chrono-chan/lofigen-2", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download optimizer/optim.pt from chrono-chan/lofigen-2: direct link, hf CLI and curl.
- Browser
- Download file 910 MB
-
https://huggingface.co/chrono-chan/lofigen-2/resolve/main/optimizer/optim.pt
- Command line
-
hf download hf://chrono-chan/lofigen-2/optimizer/optim.pt
-
curl -L -o optim.pt https://huggingface.co/chrono-chan/lofigen-2/resolve/main/optimizer/optim.pt
910 MB
- Xet hash:
- e2bcefc7156376f5149cbe19323abe743b93920e256ebe7ebd0939bc58623ed6
- Size of remote file:
- 910 MB
- SHA256:
- 53d1bfdf552bea5fec7a14d560af485ef22b4e158c75dcee1a0a6bc3c5395192
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.