Update README.md
Browse files
README.md
CHANGED
|
@@ -14,6 +14,26 @@ license: openrail++
|
|
| 14 |
|
| 15 |
# OBS-Diff Structured Pruning for Stable Diffusion-xl-base-1.0
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
OBS-Diff-SDXL provides a collection of structured-pruned checkpoints for the Stable Diffusion XL (SDXL) base model, compressed using the OBS-Diff framework. By leveraging an efficient one-shot pruning algorithm, this model significantly reduces the parameter count of the UNet while maintaining high-fidelity image generation capabilities. The provided variants cover a sparsity range from 10% to 30%, offering a trade-off between model size and performance.
|
| 18 |

|
| 19 |

|
|
@@ -62,4 +82,16 @@ image = pipe(
|
|
| 62 |
|
| 63 |
image.save("output_pruned.png")
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
```
|
|
|
|
| 14 |
|
| 15 |
# OBS-Diff Structured Pruning for Stable Diffusion-xl-base-1.0
|
| 16 |
|
| 17 |
+
<table>
|
| 18 |
+
<tr>
|
| 19 |
+
<td width="30%">
|
| 20 |
+
<img src="teaser.jpg" alt="OBS-Diff" width="100%" />
|
| 21 |
+
</td>
|
| 22 |
+
<td width="70%">
|
| 23 |
+
<h4>✂️ <a href="https://alrightlone.github.io/OBS-Diff-Webpage/">OBS-Diff: Accurate Pruning for Diffusion Models in One-Shot</a></h4>
|
| 24 |
+
<p>
|
| 25 |
+
<em><b>Junhan Zhu</b>, Hesong Wang, Mingluo Su, Zefang Wang, Huan Wang*</em>
|
| 26 |
+
<br>
|
| 27 |
+
<a href="https://arxiv.org/abs/2510.06751"><img src="https://img.shields.io/badge/Preprint-arXiv-b31b1b.svg?style=flat-square"></a>
|
| 28 |
+
<a href="https://github.com/Alrightlone/OBS-Diff"><img src="https://img.shields.io/github/stars/Alrightlone/OBS-Diff?style=flat-square&logo=github"></a>
|
| 29 |
+
</p>
|
| 30 |
+
<p>
|
| 31 |
+
The <b>first training-free, one-shot pruning framework</b> for Diffusion Models, supporting diverse architectures and pruning granularities. Uses Optimal Brain Surgeon (OBS) to achieve <b>SOTA</b> compression with high generative quality.
|
| 32 |
+
</p>
|
| 33 |
+
</td>
|
| 34 |
+
</tr>
|
| 35 |
+
</table>
|
| 36 |
+
|
| 37 |
OBS-Diff-SDXL provides a collection of structured-pruned checkpoints for the Stable Diffusion XL (SDXL) base model, compressed using the OBS-Diff framework. By leveraging an efficient one-shot pruning algorithm, this model significantly reduces the parameter count of the UNet while maintaining high-fidelity image generation capabilities. The provided variants cover a sparsity range from 10% to 30%, offering a trade-off between model size and performance.
|
| 38 |

|
| 39 |

|
|
|
|
| 82 |
|
| 83 |
image.save("output_pruned.png")
|
| 84 |
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
### Citation
|
| 88 |
+
If you find this work useful, please consider citing:
|
| 89 |
+
|
| 90 |
+
```bibtex
|
| 91 |
+
@article{zhu2025obs,
|
| 92 |
+
title={OBS-Diff: Accurate Pruning For Diffusion Models in One-Shot},
|
| 93 |
+
author={Zhu, Junhan and Wang, Hesong and Su, Mingluo and Wang, Zefang and Wang, Huan},
|
| 94 |
+
journal={arXiv preprint arXiv:2510.06751},
|
| 95 |
+
year={2025}
|
| 96 |
+
}
|
| 97 |
```
|