Spaces:
Running on Zero
Running on Zero
File size: 1,135 Bytes
b807b57 459ac47 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | ---
title: SDXL Model Merger
emoji: 🐢
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 6.9.0
python_version: '3.12'
app_file: app.py
pinned: false
license: mit
short_description: Merge SDXL checkpoints & LoRA and export with quantization
---
# SDXL Model Merger
A Gradio-based web application for merging, generating with, and exporting Stable Diffusion XL (SDXL) checkpoints.
## Features
- **Load pipelines** from HuggingFace URLs with optional VAE and multiple LoRAs
- **Generate images** with seamless tiling support for panoramic/360° outputs
- **Export merged models** with quantization options (int8, int4, float8)
## Usage on HuggingFace Spaces
This app is optimized for both local and Space deployments:
```bash
# Local deployment
python app.py
# Space deployment with CPU fallback
export DEPLOYMENT_ENV=spaces
python app.py
```
For best results:
- Use **GPU** (NVIDIA) for fast generation - ~8GB VRAM recommended
- CPU mode is available but will be slower and use more RAM (~16GB+)
## Requirements
- Python 3.10+
- PyTorch 2.0+
- 4GB+ VRAM (GPU) or 16GB+ RAM (CPU)
- ~2GB disk space for cached models
|