Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,17 +1,18 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
-
# LoRA 融合器(FLUX.1-dev)
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
| 15 |
|
| 16 |
||[LoRA 1](https://modelscope.cn/models/cancel13/cxsk)|[LoRA 2](https://modelscope.cn/models/wy413928499/xuancai2)|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|
|
| 17 |
|-|-|-|-|-|
|
|
@@ -20,7 +21,7 @@ license: apache-2.0
|
|
| 20 |
|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|||||
|
| 21 |
|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|||||
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
||[LoRA 1](https://modelscope.cn/models/cancel13/cxsk)|[LoRA 2](https://modelscope.cn/models/wy413928499/xuancai2)|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|
|
| 26 |
|-|-|-|-|-|
|
|
@@ -29,7 +30,7 @@ license: apache-2.0
|
|
| 29 |
|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|||||
|
| 30 |
|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|||||
|
| 31 |
|
| 32 |
-
##
|
| 33 |
|
| 34 |
```shell
|
| 35 |
git clone https://github.com/modelscope/DiffSynth-Studio.git
|
|
@@ -54,7 +55,9 @@ pipe = FluxImagePipeline.from_pretrained(
|
|
| 54 |
],
|
| 55 |
)
|
| 56 |
pipe.enable_lora_magic()
|
|
|
|
| 57 |
|
|
|
|
| 58 |
pipe.load_lora(
|
| 59 |
pipe.dit,
|
| 60 |
ModelConfig(model_id="cancel13/cxsk", origin_file_pattern="30.safetensors"),
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
|
|
|
| 4 |
|
| 5 |
+
# LoRA Fuser (FLUX.1-dev)
|
| 6 |
|
| 7 |
+
This model is designed to harmonize conflicting relationships when multiple LoRA models are loaded simultaneously, preventing image degradation.
|
| 8 |
|
| 9 |
+
For details, please refer to our paper: [AutoLoRA: Automatic LoRA Retrieval and Fine-Grained Gated Fusion for Text-to-Image Generation](https://arxiv.org/abs/2508.02107)
|
| 10 |
|
| 11 |
+
**We are still optimizing this model. The current version may produce unstable results with certain LoRAs. Please stay tuned for future updates.**
|
| 12 |
|
| 13 |
+
## Result Demonstration
|
| 14 |
+
|
| 15 |
+
Prompt: `a cat`
|
| 16 |
|
| 17 |
||[LoRA 1](https://modelscope.cn/models/cancel13/cxsk)|[LoRA 2](https://modelscope.cn/models/wy413928499/xuancai2)|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|
|
| 18 |
|-|-|-|-|-|
|
|
|
|
| 21 |
|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|||||
|
| 22 |
|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|||||
|
| 23 |
|
| 24 |
+
Prompt: `a car`
|
| 25 |
|
| 26 |
||[LoRA 1](https://modelscope.cn/models/cancel13/cxsk)|[LoRA 2](https://modelscope.cn/models/wy413928499/xuancai2)|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|
|
| 27 |
|-|-|-|-|-|
|
|
|
|
| 30 |
|[LoRA 3](https://modelscope.cn/models/DiffSynth-Studio/ArtAug-lora-FLUX.1dev-v1)|||||
|
| 31 |
|[LoRA 4](https://modelscope.cn/models/hongyanbujian/JPL)|||||
|
| 32 |
|
| 33 |
+
## Inference Code
|
| 34 |
|
| 35 |
```shell
|
| 36 |
git clone https://github.com/modelscope/DiffSynth-Studio.git
|
|
|
|
| 55 |
],
|
| 56 |
)
|
| 57 |
pipe.enable_lora_magic()
|
| 58 |
+
```
|
| 59 |
|
| 60 |
+
```python
|
| 61 |
pipe.load_lora(
|
| 62 |
pipe.dit,
|
| 63 |
ModelConfig(model_id="cancel13/cxsk", origin_file_pattern="30.safetensors"),
|