Instructions to use freestuff2875/GLM-Image-bnb-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use freestuff2875/GLM-Image-bnb-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("freestuff2875/GLM-Image-bnb-4bit", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,8 +9,6 @@ pipeline_tag: text-to-image
|
|
| 9 |
|
| 10 |
Quantized to nf4 with bitsandbytes. Some sensitive layers left at full precision.
|
| 11 |
|
| 12 |
-
Fits comfortably in 16 GB VRAM + 24 GB RAM, might still be able to squeeze it in if you only have 16 GB RAM.
|
| 13 |
-
|
| 14 |
Requires:
|
| 15 |
```bash
|
| 16 |
pip install -U bitsandbytes>=0.46.1
|
|
|
|
| 9 |
|
| 10 |
Quantized to nf4 with bitsandbytes. Some sensitive layers left at full precision.
|
| 11 |
|
|
|
|
|
|
|
| 12 |
Requires:
|
| 13 |
```bash
|
| 14 |
pip install -U bitsandbytes>=0.46.1
|