Instructions to use fyp1/flux_dev_finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fyp1/flux_dev_finetune with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fyp1/flux_dev_finetune", 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
Rename config.yaml to config.json
Browse files- config.json +10 -0
- config.yaml +0 -6
config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "diffusion",
|
| 3 |
+
"pipeline_tag": "text-to-image",
|
| 4 |
+
"vae": {
|
| 5 |
+
"type": "AutoencoderKL"
|
| 6 |
+
},
|
| 7 |
+
"scheduler": {
|
| 8 |
+
"type": "FlowMatchEulerDiscreteScheduler"
|
| 9 |
+
}
|
| 10 |
+
}
|
config.yaml
DELETED
|
@@ -1,6 +0,0 @@
|
|
| 1 |
-
model_type: "diffusion"
|
| 2 |
-
pipeline_tag: "text-to-image"
|
| 3 |
-
vae:
|
| 4 |
-
type: "AutoencoderKL"
|
| 5 |
-
scheduler:
|
| 6 |
-
type: "FlowMatchEulerDiscreteScheduler"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|