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
Create adapter_config.json
Browse files- adapter_config.json +9 -0
adapter_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model_name_or_path": "black-forest-labs/FLUX.1-dev",
|
| 3 |
+
"adapter_weights_name_or_path": "fyp1/flux_dev_finetune/model.safetensors",
|
| 4 |
+
"adapter_type": "lora",
|
| 5 |
+
"network": {
|
| 6 |
+
"linear": 16,
|
| 7 |
+
"linear_alpha": 32
|
| 8 |
+
}
|
| 9 |
+
}
|