Instructions to use WLuLi/AlphaAnything with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Notebooks
- Google Colab
- Kaggle
Upload AlphaAnything pretrained RGBA adapters
Browse files- LICENSE +30 -0
- NOTICE +32 -0
- README.md +71 -0
- flux2_klein_base_9b_i2rgba/LICENSE +23 -0
- flux2_klein_base_9b_i2rgba/adapter_config.json +51 -0
- flux2_klein_base_9b_i2rgba/alpha_decoder.safetensors +3 -0
- flux2_klein_base_9b_i2rgba/pytorch_lora_weights.safetensors +3 -0
- flux2_klein_base_9b_t2rgba/LICENSE +23 -0
- flux2_klein_base_9b_t2rgba/adapter_config.json +51 -0
- flux2_klein_base_9b_t2rgba/alpha_decoder.safetensors +3 -0
- flux2_klein_base_9b_t2rgba/pytorch_lora_weights.safetensors +3 -0
- qwen_image_2512_t2rgba/LICENSE +177 -0
- qwen_image_2512_t2rgba/adapter_config.json +46 -0
- qwen_image_2512_t2rgba/alpha_decoder.safetensors +3 -0
- qwen_image_2512_t2rgba/pytorch_lora_weights.safetensors +3 -0
- qwen_image_edit_2511_i2rgba/LICENSE +177 -0
- qwen_image_edit_2511_i2rgba/adapter_config.json +47 -0
- qwen_image_edit_2511_i2rgba/alpha_decoder.safetensors +3 -0
- qwen_image_edit_2511_i2rgba/pytorch_lora_weights.safetensors +3 -0
LICENSE
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
AlphaAnything Checkpoints — Per-Model License Summary
|
| 2 |
+
|
| 3 |
+
This repository distributes AlphaAnything inference adapters (transformer LoRA
|
| 4 |
+
and alpha decoder weights) for multiple upstream base models. Because the
|
| 5 |
+
upstream base models have different licenses, each checkpoint subdirectory is
|
| 6 |
+
licensed according to its corresponding base model:
|
| 7 |
+
|
| 8 |
+
1. FLUX.2 Klein adapters — FLUX Non-Commercial License (non-commercial use only)
|
| 9 |
+
- flux2_klein_base_9b_t2rgba/ (see flux2_klein_base_9b_t2rgba/LICENSE)
|
| 10 |
+
- flux2_klein_base_9b_i2rgba/ (see flux2_klein_base_9b_i2rgba/LICENSE)
|
| 11 |
+
Base models: black-forest-labs/FLUX.2-klein-base-9B, black-forest-labs/FLUX.2-klein-9B
|
| 12 |
+
Upstream licenses:
|
| 13 |
+
- https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B/blob/main/LICENSE.md
|
| 14 |
+
- https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/blob/main/LICENSE.md
|
| 15 |
+
|
| 16 |
+
2. Qwen-Image & Qwen-Image-Edit adapters — Apache License 2.0
|
| 17 |
+
- qwen_image_2512_t2rgba/ (see qwen_image_2512_t2rgba/LICENSE)
|
| 18 |
+
- qwen_image_edit_2511_i2rgba/ (see qwen_image_edit_2511_i2rgba/LICENSE)
|
| 19 |
+
Base models: Qwen/Qwen-Image-2512, Qwen/Qwen-Image-Edit-2511
|
| 20 |
+
Upstream licenses:
|
| 21 |
+
- https://huggingface.co/Qwen/Qwen-Image-2512/blob/main/LICENSE
|
| 22 |
+
- https://huggingface.co/Qwen/Qwen-Image-Edit-2511/blob/main/LICENSE
|
| 23 |
+
|
| 24 |
+
3. Repository documentation and metadata files (README.md, NOTICE)
|
| 25 |
+
Licensed under the Apache License, Version 2.0
|
| 26 |
+
(https://www.apache.org/licenses/LICENSE-2.0).
|
| 27 |
+
|
| 28 |
+
None of the checkpoint directories contain the upstream base model weights,
|
| 29 |
+
which must be downloaded separately from their respective providers and remain
|
| 30 |
+
subject to their original terms. See NOTICE for upstream attributions.
|
NOTICE
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
AlphaAnything Checkpoints — Upstream Notices
|
| 2 |
+
|
| 3 |
+
These adapter weights extend the following pretrained RGB base models. We thank
|
| 4 |
+
their authors and maintainers.
|
| 5 |
+
|
| 6 |
+
Pretrained base models
|
| 7 |
+
|
| 8 |
+
- Black Forest Labs, FLUX.2 Klein Base 9B & FLUX.2 Klein 9B
|
| 9 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B
|
| 10 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-9B
|
| 11 |
+
License: FLUX Non-Commercial License
|
| 12 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B/blob/main/LICENSE.md
|
| 13 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/blob/main/LICENSE.md
|
| 14 |
+
|
| 15 |
+
- Qwen, Qwen-Image-2512
|
| 16 |
+
https://huggingface.co/Qwen/Qwen-Image-2512
|
| 17 |
+
License: Apache-2.0
|
| 18 |
+
https://huggingface.co/Qwen/Qwen-Image-2512/blob/main/LICENSE
|
| 19 |
+
|
| 20 |
+
- Qwen, Qwen-Image-Edit-2511
|
| 21 |
+
https://huggingface.co/Qwen/Qwen-Image-Edit-2511
|
| 22 |
+
License: Apache-2.0
|
| 23 |
+
https://huggingface.co/Qwen/Qwen-Image-Edit-2511/blob/main/LICENSE
|
| 24 |
+
|
| 25 |
+
Serialization and adapter libraries
|
| 26 |
+
|
| 27 |
+
- Hugging Face Diffusers (https://github.com/huggingface/diffusers)
|
| 28 |
+
- Hugging Face PEFT (https://github.com/huggingface/peft)
|
| 29 |
+
- Hugging Face Safetensors (https://github.com/huggingface/safetensors)
|
| 30 |
+
|
| 31 |
+
This notice identifies upstream sources and does not replace their original
|
| 32 |
+
license texts or copyright notices.
|
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: mixed-flux-non-commercial-and-apache-2.0
|
| 4 |
+
license_link: LICENSE
|
| 5 |
+
base_model:
|
| 6 |
+
- black-forest-labs/FLUX.2-klein-base-9B
|
| 7 |
+
- black-forest-labs/FLUX.2-klein-9B
|
| 8 |
+
- Qwen/Qwen-Image-2512
|
| 9 |
+
- Qwen/Qwen-Image-Edit-2511
|
| 10 |
+
base_model_relation: adapter
|
| 11 |
+
tags:
|
| 12 |
+
- alphaanything
|
| 13 |
+
- rgba
|
| 14 |
+
- lora
|
| 15 |
+
- diffusers
|
| 16 |
+
- text-to-image
|
| 17 |
+
- image-to-image
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# AlphaAnything Checkpoints
|
| 21 |
+
|
| 22 |
+
[Paper](https://arxiv.org/abs/2610.32413) · [Project](https://wluli.github.io/AlphaAnything/) · [Code](https://github.com/WLuLi/AlphaAnything)
|
| 23 |
+
|
| 24 |
+
Pretrained RGBA adapters (transformer LoRA + alpha decoder branch) for **AlphaAnything: Extending Pretrained RGB Generators to RGBA**.
|
| 25 |
+
|
| 26 |
+
## Checkpoints
|
| 27 |
+
|
| 28 |
+
| Directory | Compatible base model(s) | Task | License |
|
| 29 |
+
| --- | --- | --- | --- |
|
| 30 |
+
| `flux2_klein_base_9b_t2rgba` | [FLUX.2 Klein Base 9B](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B), [FLUX.2 Klein 9B (4-step)](https://huggingface.co/black-forest-labs/FLUX.2-klein-9B) | Text to RGBA | [FLUX Non-Commercial](flux2_klein_base_9b_t2rgba/LICENSE) |
|
| 31 |
+
| `flux2_klein_base_9b_i2rgba` | [FLUX.2 Klein Base 9B](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B), [FLUX.2 Klein 9B (4-step)](https://huggingface.co/black-forest-labs/FLUX.2-klein-9B) | Image to RGBA | [FLUX Non-Commercial](flux2_klein_base_9b_i2rgba/LICENSE) |
|
| 32 |
+
| `qwen_image_2512_t2rgba` | [Qwen-Image-2512](https://huggingface.co/Qwen/Qwen-Image-2512) | Text to RGBA | [Apache-2.0](qwen_image_2512_t2rgba/LICENSE) |
|
| 33 |
+
| `qwen_image_edit_2511_i2rgba` | [Qwen-Image-Edit-2511](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) | Image to RGBA | [Apache-2.0](qwen_image_edit_2511_i2rgba/LICENSE) |
|
| 34 |
+
|
| 35 |
+
Each directory contains `adapter_config.json`, `pytorch_lora_weights.safetensors`, `alpha_decoder.safetensors`, and its model-specific `LICENSE`. Both FLUX.2 Klein adapters trained on `FLUX.2-klein-base-9B` can also be loaded directly onto the 4-step distilled `FLUX.2-klein-9B` for fast inference. The matching base model is loaded separately via Diffusers; its access terms and license apply.
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
Clone the [code repository](https://github.com/WLuLi/AlphaAnything), install dependencies, and place the downloaded checkpoint directories under `alphaanything/checkpoints/`:
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
git clone https://github.com/WLuLi/AlphaAnything.git
|
| 43 |
+
cd AlphaAnything
|
| 44 |
+
pip install -r requirements.txt
|
| 45 |
+
|
| 46 |
+
# Standard inference on FLUX.2 Klein Base 9B
|
| 47 |
+
python scripts/flux2_klein/infer_t2rgba.py \
|
| 48 |
+
--checkpoint alphaanything/checkpoints/flux2_klein_base_9b_t2rgba \
|
| 49 |
+
--prompt "A delicate glass butterfly with translucent wings, isolated on a transparent background." \
|
| 50 |
+
--output-dir outputs/demo \
|
| 51 |
+
--seed 42
|
| 52 |
+
|
| 53 |
+
# Fast 4-step inference on distilled FLUX.2 Klein 9B
|
| 54 |
+
python scripts/flux2_klein/infer_t2rgba.py \
|
| 55 |
+
--checkpoint alphaanything/checkpoints/flux2_klein_base_9b_t2rgba \
|
| 56 |
+
--base-model black-forest-labs/FLUX.2-klein-9B \
|
| 57 |
+
--prompt "A delicate glass butterfly with translucent wings, isolated on a transparent background." \
|
| 58 |
+
--output-dir outputs/demo_4step \
|
| 59 |
+
--num-inference-steps 4 --guidance-scale 1.0 --seed 42
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
See the [code repository README](https://github.com/WLuLi/AlphaAnything#inference) for all four models and image-to-RGBA extraction commands.
|
| 63 |
+
|
| 64 |
+
## License
|
| 65 |
+
|
| 66 |
+
Licenses apply per checkpoint directory to match their respective upstream base models:
|
| 67 |
+
|
| 68 |
+
- **FLUX.2 Klein adapters** (`flux2_klein_base_9b_t2rgba/`, `flux2_klein_base_9b_i2rgba/`): governed by the [FLUX Non-Commercial License](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B/blob/main/LICENSE.md) (non-commercial use only).
|
| 69 |
+
- **Qwen-Image / Qwen-Image-Edit adapters** (`qwen_image_2512_t2rgba/`, `qwen_image_edit_2511_i2rgba/`): licensed under [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
| 70 |
+
|
| 71 |
+
See [LICENSE](LICENSE) and [NOTICE](NOTICE) for details. Please cite [our paper](https://arxiv.org/abs/2610.32413) when using these checkpoints.
|
flux2_klein_base_9b_i2rgba/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
AlphaAnything FLUX.2 Klein Adapter Weights License
|
| 2 |
+
|
| 3 |
+
These AlphaAnything adapter weights (`pytorch_lora_weights.safetensors`,
|
| 4 |
+
`alpha_decoder.safetensors`, and `adapter_config.json`) are derived from
|
| 5 |
+
Black Forest Labs' FLUX.2 Klein Base 9B model (`black-forest-labs/FLUX.2-klein-base-9B`)
|
| 6 |
+
and are also compatible with FLUX.2 Klein 9B (`black-forest-labs/FLUX.2-klein-9B`).
|
| 7 |
+
|
| 8 |
+
Accordingly, use, reproduction, and distribution of these adapter weights are
|
| 9 |
+
governed by the FLUX Non-Commercial License:
|
| 10 |
+
|
| 11 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B/blob/main/LICENSE.md
|
| 12 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/blob/main/LICENSE.md
|
| 13 |
+
|
| 14 |
+
Key conditions:
|
| 15 |
+
- Non-commercial use only (personal, research, and evaluation purposes).
|
| 16 |
+
- Commercial use is not permitted without obtaining a separate commercial
|
| 17 |
+
license from Black Forest Labs and permission from the AlphaAnything authors.
|
| 18 |
+
- Upstream attribution and license notices must be retained when redistributing
|
| 19 |
+
these adapter weights or derivatives thereof.
|
| 20 |
+
|
| 21 |
+
These weights do not include the base FLUX.2 Klein Base 9B or FLUX.2 Klein 9B
|
| 22 |
+
model weights, which must be obtained separately from Black Forest Labs under
|
| 23 |
+
their original licenses.
|
flux2_klein_base_9b_i2rgba/adapter_config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"backbone": "flux2_klein",
|
| 4 |
+
"task": "image_to_rgba",
|
| 5 |
+
"base_model": "black-forest-labs/FLUX.2-klein-base-9B",
|
| 6 |
+
"training_step": 20000,
|
| 7 |
+
"model": {
|
| 8 |
+
"pretrained_model_name_or_path": "black-forest-labs/FLUX.2-klein-base-9B",
|
| 9 |
+
"max_sequence_length": 512,
|
| 10 |
+
"text_encoder_out_layers": [
|
| 11 |
+
9,
|
| 12 |
+
18,
|
| 13 |
+
27
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
"lora": {
|
| 17 |
+
"adapter_name": "flux2_klein_base_9b_i2rgba",
|
| 18 |
+
"rank": 64,
|
| 19 |
+
"alpha": 128
|
| 20 |
+
},
|
| 21 |
+
"vae_alpha_adapter": {
|
| 22 |
+
"stage_channels": [
|
| 23 |
+
256,
|
| 24 |
+
256,
|
| 25 |
+
192,
|
| 26 |
+
128,
|
| 27 |
+
96
|
| 28 |
+
],
|
| 29 |
+
"injection_rank": 64,
|
| 30 |
+
"injection_alpha": 64,
|
| 31 |
+
"injection_stage_gates": [
|
| 32 |
+
1.0,
|
| 33 |
+
0.75,
|
| 34 |
+
0.5,
|
| 35 |
+
0.25,
|
| 36 |
+
0.25
|
| 37 |
+
],
|
| 38 |
+
"res_blocks_per_stage": 2,
|
| 39 |
+
"attention_heads": 8,
|
| 40 |
+
"head_channels": 128
|
| 41 |
+
},
|
| 42 |
+
"inference": {
|
| 43 |
+
"height": 1024,
|
| 44 |
+
"width": 1024,
|
| 45 |
+
"num_inference_steps": 50,
|
| 46 |
+
"guidance_scale": 4.0,
|
| 47 |
+
"negative_prompt": "",
|
| 48 |
+
"seed": 42,
|
| 49 |
+
"mixed_precision": "bf16"
|
| 50 |
+
}
|
| 51 |
+
}
|
flux2_klein_base_9b_i2rgba/alpha_decoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3c2a381be858d35674e562e9fa432de26e3c9af60e9d81e82347d42fccfb30a
|
| 3 |
+
size 49759256
|
flux2_klein_base_9b_i2rgba/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24e07138090e85fc76ae83be0f20eed25f0304a53ee8b6a3ed83cfdc389b21da
|
| 3 |
+
size 444621360
|
flux2_klein_base_9b_t2rgba/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
AlphaAnything FLUX.2 Klein Adapter Weights License
|
| 2 |
+
|
| 3 |
+
These AlphaAnything adapter weights (`pytorch_lora_weights.safetensors`,
|
| 4 |
+
`alpha_decoder.safetensors`, and `adapter_config.json`) are derived from
|
| 5 |
+
Black Forest Labs' FLUX.2 Klein Base 9B model (`black-forest-labs/FLUX.2-klein-base-9B`)
|
| 6 |
+
and are also compatible with FLUX.2 Klein 9B (`black-forest-labs/FLUX.2-klein-9B`).
|
| 7 |
+
|
| 8 |
+
Accordingly, use, reproduction, and distribution of these adapter weights are
|
| 9 |
+
governed by the FLUX Non-Commercial License:
|
| 10 |
+
|
| 11 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B/blob/main/LICENSE.md
|
| 12 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/blob/main/LICENSE.md
|
| 13 |
+
|
| 14 |
+
Key conditions:
|
| 15 |
+
- Non-commercial use only (personal, research, and evaluation purposes).
|
| 16 |
+
- Commercial use is not permitted without obtaining a separate commercial
|
| 17 |
+
license from Black Forest Labs and permission from the AlphaAnything authors.
|
| 18 |
+
- Upstream attribution and license notices must be retained when redistributing
|
| 19 |
+
these adapter weights or derivatives thereof.
|
| 20 |
+
|
| 21 |
+
These weights do not include the base FLUX.2 Klein Base 9B or FLUX.2 Klein 9B
|
| 22 |
+
model weights, which must be obtained separately from Black Forest Labs under
|
| 23 |
+
their original licenses.
|
flux2_klein_base_9b_t2rgba/adapter_config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"backbone": "flux2_klein",
|
| 4 |
+
"task": "text_to_rgba",
|
| 5 |
+
"base_model": "black-forest-labs/FLUX.2-klein-base-9B",
|
| 6 |
+
"training_step": 20000,
|
| 7 |
+
"model": {
|
| 8 |
+
"pretrained_model_name_or_path": "black-forest-labs/FLUX.2-klein-base-9B",
|
| 9 |
+
"max_sequence_length": 512,
|
| 10 |
+
"text_encoder_out_layers": [
|
| 11 |
+
9,
|
| 12 |
+
18,
|
| 13 |
+
27
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
"lora": {
|
| 17 |
+
"adapter_name": "flux2_klein_base_9b_t2rgba",
|
| 18 |
+
"rank": 64,
|
| 19 |
+
"alpha": 128
|
| 20 |
+
},
|
| 21 |
+
"vae_alpha_adapter": {
|
| 22 |
+
"stage_channels": [
|
| 23 |
+
256,
|
| 24 |
+
256,
|
| 25 |
+
192,
|
| 26 |
+
128,
|
| 27 |
+
96
|
| 28 |
+
],
|
| 29 |
+
"injection_rank": 64,
|
| 30 |
+
"injection_alpha": 64,
|
| 31 |
+
"injection_stage_gates": [
|
| 32 |
+
1.0,
|
| 33 |
+
0.75,
|
| 34 |
+
0.5,
|
| 35 |
+
0.25,
|
| 36 |
+
0.25
|
| 37 |
+
],
|
| 38 |
+
"res_blocks_per_stage": 2,
|
| 39 |
+
"attention_heads": 8,
|
| 40 |
+
"head_channels": 128
|
| 41 |
+
},
|
| 42 |
+
"inference": {
|
| 43 |
+
"height": 1024,
|
| 44 |
+
"width": 1024,
|
| 45 |
+
"num_inference_steps": 50,
|
| 46 |
+
"guidance_scale": 4.0,
|
| 47 |
+
"negative_prompt": " ",
|
| 48 |
+
"seed": 42,
|
| 49 |
+
"mixed_precision": "bf16"
|
| 50 |
+
}
|
| 51 |
+
}
|
flux2_klein_base_9b_t2rgba/alpha_decoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac1835418dc60db7c5142f7b675c6c1b5cd3f78235f65ee86f16b45ccda8e77e
|
| 3 |
+
size 49759256
|
flux2_klein_base_9b_t2rgba/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7748972c5a2e0323cc4c23292d9f3e0bb8f4ee2fbe70428bda3cab093e505f61
|
| 3 |
+
size 444621360
|
qwen_image_2512_t2rgba/LICENSE
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
qwen_image_2512_t2rgba/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"backbone": "qwen_image",
|
| 4 |
+
"task": "text_to_rgba",
|
| 5 |
+
"base_model": "Qwen/Qwen-Image-2512",
|
| 6 |
+
"training_step": 20000,
|
| 7 |
+
"model": {
|
| 8 |
+
"pretrained_model_name_or_path": "Qwen/Qwen-Image-2512",
|
| 9 |
+
"max_sequence_length": 512
|
| 10 |
+
},
|
| 11 |
+
"lora": {
|
| 12 |
+
"adapter_name": "qwen_image_2512_t2rgba",
|
| 13 |
+
"rank": 64,
|
| 14 |
+
"alpha": 128
|
| 15 |
+
},
|
| 16 |
+
"vae_alpha_adapter": {
|
| 17 |
+
"stage_channels": [
|
| 18 |
+
256,
|
| 19 |
+
256,
|
| 20 |
+
192,
|
| 21 |
+
128,
|
| 22 |
+
96
|
| 23 |
+
],
|
| 24 |
+
"injection_rank": 64,
|
| 25 |
+
"injection_alpha": 64,
|
| 26 |
+
"injection_stage_gates": [
|
| 27 |
+
1.0,
|
| 28 |
+
0.75,
|
| 29 |
+
0.5,
|
| 30 |
+
0.25,
|
| 31 |
+
0.25
|
| 32 |
+
],
|
| 33 |
+
"res_blocks_per_stage": 2,
|
| 34 |
+
"attention_heads": 8,
|
| 35 |
+
"head_channels": 128
|
| 36 |
+
},
|
| 37 |
+
"inference": {
|
| 38 |
+
"height": 1024,
|
| 39 |
+
"width": 1024,
|
| 40 |
+
"num_inference_steps": 50,
|
| 41 |
+
"guidance_scale": 4.0,
|
| 42 |
+
"negative_prompt": " ",
|
| 43 |
+
"seed": 42,
|
| 44 |
+
"mixed_precision": "bf16"
|
| 45 |
+
}
|
| 46 |
+
}
|
qwen_image_2512_t2rgba/alpha_decoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9b9ed18bfe0f6907dbb4453beaac7bc318eb1a38c9a62482ad6484152d965e8
|
| 3 |
+
size 49029120
|
qwen_image_2512_t2rgba/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2567266ee3069bf7ef34c28f5374c96548b5b874689980e97990b1ebfc3e1155
|
| 3 |
+
size 377552048
|
qwen_image_edit_2511_i2rgba/LICENSE
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
qwen_image_edit_2511_i2rgba/adapter_config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"backbone": "qwen_image_edit",
|
| 4 |
+
"task": "image_to_rgba",
|
| 5 |
+
"base_model": "Qwen/Qwen-Image-Edit-2511",
|
| 6 |
+
"training_step": 20000,
|
| 7 |
+
"model": {
|
| 8 |
+
"pretrained_model_name_or_path": "Qwen/Qwen-Image-Edit-2511",
|
| 9 |
+
"max_sequence_length": 512,
|
| 10 |
+
"condition_image_area": 147456
|
| 11 |
+
},
|
| 12 |
+
"lora": {
|
| 13 |
+
"adapter_name": "qwen_image_edit_2511_i2rgba",
|
| 14 |
+
"rank": 64,
|
| 15 |
+
"alpha": 128
|
| 16 |
+
},
|
| 17 |
+
"vae_alpha_adapter": {
|
| 18 |
+
"stage_channels": [
|
| 19 |
+
256,
|
| 20 |
+
256,
|
| 21 |
+
192,
|
| 22 |
+
128,
|
| 23 |
+
96
|
| 24 |
+
],
|
| 25 |
+
"injection_rank": 64,
|
| 26 |
+
"injection_alpha": 64,
|
| 27 |
+
"injection_stage_gates": [
|
| 28 |
+
1.0,
|
| 29 |
+
0.75,
|
| 30 |
+
0.5,
|
| 31 |
+
0.25,
|
| 32 |
+
0.25
|
| 33 |
+
],
|
| 34 |
+
"res_blocks_per_stage": 2,
|
| 35 |
+
"attention_heads": 8,
|
| 36 |
+
"head_channels": 128
|
| 37 |
+
},
|
| 38 |
+
"inference": {
|
| 39 |
+
"height": 1024,
|
| 40 |
+
"width": 1024,
|
| 41 |
+
"num_inference_steps": 50,
|
| 42 |
+
"guidance_scale": 4.0,
|
| 43 |
+
"negative_prompt": " ",
|
| 44 |
+
"seed": 42,
|
| 45 |
+
"mixed_precision": "bf16"
|
| 46 |
+
}
|
| 47 |
+
}
|
qwen_image_edit_2511_i2rgba/alpha_decoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbee69ac2effc5da7d692c8dbe6a5e13175aaf987803a5778f04a63cc69cc411
|
| 3 |
+
size 49029128
|
qwen_image_edit_2511_i2rgba/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a60e972dd926ce8aa349d993cce517f459808454d2a3c878c0fdfd00652411a
|
| 3 |
+
size 377552048
|