Instructions to use HaileyStorm/FLUX.1-Merges with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HaileyStorm/FLUX.1-Merges with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("HaileyStorm/FLUX.1-Merges", 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 infer.py
Browse files
infer.py
CHANGED
|
@@ -14,7 +14,8 @@ SEED = 922733
|
|
| 14 |
# 6x 1024x768? (etc.)
|
| 15 |
# 4x 1280x1024 (etc.)
|
| 16 |
# 3x 1856x920 (or 1680x1016, 1704x1000, 1456x1168, etc.)
|
| 17 |
-
# 2x 1920x1080 (or
|
|
|
|
| 18 |
IMAGE_WIDTH = 1680
|
| 19 |
IMAGE_HEIGHT = 1016
|
| 20 |
# Try ~4-8 for 10:1 and ~8-16+ for 4:1 and 2.5:1 ("Default" 6, 10, 12)
|
|
|
|
| 14 |
# 6x 1024x768? (etc.)
|
| 15 |
# 4x 1280x1024 (etc.)
|
| 16 |
# 3x 1856x920 (or 1680x1016, 1704x1000, 1456x1168, etc.)
|
| 17 |
+
# 2x 1920x1080 (or 1864x1128, etc.)
|
| 18 |
+
# 1x 1920x1440 (or 2560x1080, etc.), or even 2560x1352 (or 2384x1448, etc.), and yes huge works to varying degree
|
| 19 |
IMAGE_WIDTH = 1680
|
| 20 |
IMAGE_HEIGHT = 1016
|
| 21 |
# Try ~4-8 for 10:1 and ~8-16+ for 4:1 and 2.5:1 ("Default" 6, 10, 12)
|