Qwen-Image-Edit-2509-LoRAs-Fast-Fusion is a fast, interactive web application built with Gradio that enables advanced image editing using the Qwen/Qwen-Image-Edit-2509 model from Alibaba's Qwen team. It leverages specialized LoRA adapters for efficient, low-step inference (as few as 4 steps).
7
stars
7
commits
Python
primary language
Dec 12, 2025
updated
Qwen-Image-Edit-2509-LoRAs-Fast-Fusion is a fast, interactive web application built with Gradio that enables advanced image editing using the Qwen/Qwen-Image-Edit-2509 model from Alibaba's Qwen team. It leverages specialized LoRA adapters for efficient, low-step inference (as few as 4 steps) on tasks like texture application, object fusion, and cloth design transfer. Upload a base image and a reference image, provide a prompt, and select an editing style to generate edited results with Lightning-fast acceleration. This app showcases Qwen-Image-Edit's capabilities in inpainting, outpainting, and style transfer, optimized with Flash Attention 3 (if supported) and a custom orange-red themed interface for a vibrant user experience.
To run this app locally, install the dependencies. Note that it requires recent versions of Hugging Face libraries from Git for compatibility with Qwen-Image-Edit.
pip install torch torchvision numpy gradio spaces sentencepiece huggingface_hub supervision kernels
pip install git+https://github.com/huggingface/accelerate.git
pip install git+https://github.com/huggingface/diffusers.git
pip install git+https://github.com/huggingface/peft.git
pip install git+https://github.com/QwenLM/QwenImage.git # For qwenimage custom components
Clone the Repository:
git clone https://github.com/PRITHIVSAKTHIUR/Qwen-Image-Edit-2509-LoRAs-Fast-Fusion.git
cd Qwen-Image-Edit-2509-LoRAs-Fast-Fusion
Install Dependencies: Run the pip commands from the Requirements section above.
Prepare Examples (Optional):
Ensure the examples/ folder contains sample images like Cloth1.jpg, Design1.png, Cup1.png, Wood1.png, etc. Download them if needed or replace with your own.
Run Locally:
python app.py
http://127.0.0.1:7860).@spaces.GPU (30-second duration limit per inference).| Component | Requirement | Details from Log |
|---|---|---|
| GPU Model | NVIDIA Enterprise (H200 / H100 / A100) | High VRAM requirement (MIG or full card) |
| VRAM | 80 GB Recommended (Min 70 GB) | Peak tensor packing reached 60.8 GB |
| System RAM | 128 GB+ | Required for safe model offloading/loading |
| Disk Space | ~60 GB+ | Transformer (~21GB) + Text Encoders (~17GB) + LoRAs |
| Python | v3.13 | Detected cpython-313 |
| PyTorch | v2.9.1 | 2.9.1+cu128 |
| CUDA | v12.8 | torch29-cxx11-cu128 |
app.py: Main Gradio app with pipeline loading, inference function, and UI setup.examples/: Sample image pairs for testing various edits.OrangeRedTheme class for bold, gradient-based styling.QwenImageEditPlusPipeline: Core editing pipeline with LoRA fusion.infer(...): Handles image preprocessing, adapter selection, and generation.huggingface-cli delete-cache.torch_dtype=torch.float16 for lower VRAM.pip install --upgrade gradio) or check for port conflicts (e.g., --port 7861).Contributions welcome! Fork, branch, PR.
For bugs or ideas, open a GitHub issue. Edit away!
7 commits
Python
100.0%
Qwen-Image-Edit-2509-LoRAs-Fast-Fusion is a fast, interactive web application built with Gradio that enables advanced image editing using the Qwen/Qwen-Image-Edit-2509 model from Alibaba's Qwen team. It leverages specialized LoRA adapters for efficient, low-step inference (as few as 4 steps).
7
stars
7
commits
Python
primary language
Dec 12, 2025
updated
Qwen-Image-Edit-2509-LoRAs-Fast-Fusion is a fast, interactive web application built with Gradio that enables advanced image editing using the Qwen/Qwen-Image-Edit-2509 model from Alibaba's Qwen team. It leverages specialized LoRA adapters for efficient, low-step inference (as few as 4 steps) on tasks like texture application, object fusion, and cloth design transfer. Upload a base image and a reference image, provide a prompt, and select an editing style to generate edited results with Lightning-fast acceleration. This app showcases Qwen-Image-Edit's capabilities in inpainting, outpainting, and style transfer, optimized with Flash Attention 3 (if supported) and a custom orange-red themed interface for a vibrant user experience.
To run this app locally, install the dependencies. Note that it requires recent versions of Hugging Face libraries from Git for compatibility with Qwen-Image-Edit.
pip install torch torchvision numpy gradio spaces sentencepiece huggingface_hub supervision kernels
pip install git+https://github.com/huggingface/accelerate.git
pip install git+https://github.com/huggingface/diffusers.git
pip install git+https://github.com/huggingface/peft.git
pip install git+https://github.com/QwenLM/QwenImage.git # For qwenimage custom components
Clone the Repository:
git clone https://github.com/PRITHIVSAKTHIUR/Qwen-Image-Edit-2509-LoRAs-Fast-Fusion.git
cd Qwen-Image-Edit-2509-LoRAs-Fast-Fusion
Install Dependencies: Run the pip commands from the Requirements section above.
Prepare Examples (Optional):
Ensure the examples/ folder contains sample images like Cloth1.jpg, Design1.png, Cup1.png, Wood1.png, etc. Download them if needed or replace with your own.
Run Locally:
python app.py
http://127.0.0.1:7860).@spaces.GPU (30-second duration limit per inference).| Component | Requirement | Details from Log |
|---|---|---|
| GPU Model | NVIDIA Enterprise (H200 / H100 / A100) | High VRAM requirement (MIG or full card) |
| VRAM | 80 GB Recommended (Min 70 GB) | Peak tensor packing reached 60.8 GB |
| System RAM | 128 GB+ | Required for safe model offloading/loading |
| Disk Space | ~60 GB+ | Transformer (~21GB) + Text Encoders (~17GB) + LoRAs |
| Python | v3.13 | Detected cpython-313 |
| PyTorch | v2.9.1 | 2.9.1+cu128 |
| CUDA | v12.8 | torch29-cxx11-cu128 |
app.py: Main Gradio app with pipeline loading, inference function, and UI setup.examples/: Sample image pairs for testing various edits.OrangeRedTheme class for bold, gradient-based styling.QwenImageEditPlusPipeline: Core editing pipeline with LoRA fusion.infer(...): Handles image preprocessing, adapter selection, and generation.huggingface-cli delete-cache.torch_dtype=torch.float16 for lower VRAM.pip install --upgrade gradio) or check for port conflicts (e.g., --port 7861).Contributions welcome! Fork, branch, PR.
For bugs or ideas, open a GitHub issue. Edit away!
7 commits
Python
100.0%