Instructions to use eramth/flux-4bit-fp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use eramth/flux-4bit-fp4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("eramth/flux-4bit-fp4", 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
|
@@ -5,6 +5,11 @@ The repo is generated by diffusers.
|
|
| 5 |
|
| 6 |
The Flux model with 4bit transformer and T5 encoder.
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
# Usage
|
| 9 |
```python
|
| 10 |
from diffusers import FluxPipeline
|
|
|
|
| 5 |
|
| 6 |
The Flux model with 4bit transformer and T5 encoder.
|
| 7 |
|
| 8 |
+

|
| 9 |
+

|
| 10 |
+

|
| 11 |
+
|
| 12 |
+
|
| 13 |
# Usage
|
| 14 |
```python
|
| 15 |
from diffusers import FluxPipeline
|