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", torch_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
- Xet hash:
- d4df9fa3be104c693f5d1cb44a6bb17d46e34dc3f675242795f8f5131e129144
- Size of remote file:
- 1.36 GB
- SHA256:
- 51c4bb75fdf7b6807931e02d12296af9556c9fdcd53a85fa9d3381ff90e7cbdf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.