Instructions to use refabric/general_v21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use refabric/general_v21 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("refabric/general_v21", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download vae/diffusion_pytorch_model.bin from refabric/general_v21: direct link, hf CLI and curl.
- Browser
- Download file 335 MB
-
https://huggingface.co/refabric/general_v21/resolve/main/vae/diffusion_pytorch_model.bin
- Command line
-
hf download hf://refabric/general_v21/vae/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/refabric/general_v21/resolve/main/vae/diffusion_pytorch_model.bin
335 MB
- Xet hash:
- 33b87dba222f7bf626561a23e381bd0fa1bd70d66eaa29c2af6065e6c46b9d50
- Size of remote file:
- 335 MB
- SHA256:
- f41627a6f92e14caa4df4b0e42883a1a52fcd900a7a1fddf703aaa45fae43dd6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.