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
Remove stale conflicting requirements from earlier release
Browse files- requirements.txt +0 -9
requirements.txt
DELETED
|
@@ -1,9 +0,0 @@
|
|
| 1 |
-
# Install a CUDA-compatible torch and torchvision first; see README.md.
|
| 2 |
-
accelerate==1.15.0
|
| 3 |
-
diffusers==0.40.0
|
| 4 |
-
transformers==5.17.0
|
| 5 |
-
safetensors==0.8.0
|
| 6 |
-
numpy==2.5.2
|
| 7 |
-
opencv-python-headless==4.14.0.94
|
| 8 |
-
PyYAML==6.0.3
|
| 9 |
-
tqdm==4.70.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|