Instructions to use phi-lab-rice/GRADE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use phi-lab-rice/GRADE with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("phi-lab-rice/GRADE", 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
Ctrl+K
- 205 kB xet
- 202 kB xet
- 99.6 kB
- 84.2 kB
- 103 kB xet
- 117 kB xet
- 108 kB xet
- 131 kB xet
- 95.5 kB
- 175 kB xet
- 163 kB xet
- 68.5 kB
- 58.3 kB
- 58.6 kB
- 79.5 kB
- 62.7 kB
- 69.5 kB
- 56.6 kB
- 185 kB xet
- 143 kB xet
- 89.6 kB
- 87.3 kB
- 82 kB
- 77 kB
- 91.1 kB
- 100 kB xet
- 87.4 kB
- 210 kB xet
- 115 kB xet
- 110 kB xet
- 80.3 kB
- 92 kB
- 64.6 kB
- 107 kB xet
- 102 kB xet
- 65.4 kB
- 214 kB xet
- 118 kB xet
- 100 kB xet
- 101 kB xet
- 112 kB xet
- 108 kB xet
- 96 kB
- 104 kB xet
- 97.7 kB
- 205 kB xet
- 114 kB xet
- 71.7 kB
- 61.4 kB
- 131 kB xet