Update README.md
Browse files
README.md
CHANGED
|
@@ -19,13 +19,44 @@ pipeline_tag: text-to-image
|
|
| 19 |
---
|
| 20 |
|
| 21 |
|
| 22 |
-
This repository contains the structured pruned checkpoints for Stable Diffusion 3.5 Large. These models were compressed using OBS-Diff, an accurate one-shot pruning method designed to reduce model size and accelerate inference while preserving high-quality image generation capabilities.
|
| 23 |
|
| 24 |
-
By removing redundant parameters from the Transformer backbone, we offer variants with different sparsity levels (15% - 30%), allowing for a flexible trade-off between efficiency and performance.
|
| 25 |
|
| 26 |
# OBS-Diff Structured Pruning for Stable Diffusion 3.5-Large
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
|
|
|
| 29 |

|
| 30 |

|
| 31 |

|
|
@@ -74,4 +105,16 @@ image = pipe(
|
|
| 74 |
|
| 75 |
image.save("output_pruned.png")
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
```
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
|
|
|
|
| 22 |
|
|
|
|
| 23 |
|
| 24 |
# OBS-Diff Structured Pruning for Stable Diffusion 3.5-Large
|
| 25 |
|
| 26 |
+
<div style="
|
| 27 |
+
display: flex;
|
| 28 |
+
flex-wrap: wrap;
|
| 29 |
+
align-items: flex-start;
|
| 30 |
+
gap: 20px;
|
| 31 |
+
border: 1px solid #e0e0e0;
|
| 32 |
+
padding: 20px;
|
| 33 |
+
border-radius: 10px;
|
| 34 |
+
margin-bottom: 20px;
|
| 35 |
+
background-color: #fff;
|
| 36 |
+
">
|
| 37 |
+
|
| 38 |
+
<div style="flex: 1; min-width: 280px; max-width: 100%;">
|
| 39 |
+
<img src="teaser.jpg" alt="OBS-Diff" style="width: 100%; height: auto; border-radius: 5px;" />
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<div style="flex: 2; min-width: 300px;">
|
| 43 |
+
<h4 style="margin-top: 0;">✂️ <a href="https://alrightlone.github.io/OBS-Diff-Webpage/">OBS-Diff: Accurate Pruning for Diffusion Models in One-Shot</a></h4>
|
| 44 |
+
<p>
|
| 45 |
+
<em><b>Junhan Zhu</b>, Hesong Wang, Mingluo Su, Zefang Wang, Huan Wang*</em>
|
| 46 |
+
<br>
|
| 47 |
+
<a href="https://arxiv.org/abs/2510.06751"><img src="https://img.shields.io/badge/Preprint-arXiv-b31b1b.svg?style=flat-square"></a>
|
| 48 |
+
<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>
|
| 49 |
+
</p>
|
| 50 |
+
<p>
|
| 51 |
+
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.
|
| 52 |
+
</p>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
</div>
|
| 56 |
+
|
| 57 |
+
This repository contains the structured pruned checkpoints for Stable Diffusion 3.5 Large. These models were compressed using OBS-Diff, an accurate one-shot pruning method designed to reduce model size and accelerate inference while preserving high-quality image generation capabilities.
|
| 58 |
|
| 59 |
+
By removing redundant parameters from the Transformer backbone, we offer variants with different sparsity levels (15% - 30%), allowing for a flexible trade-off between efficiency and performance.
|
| 60 |

|
| 61 |

|
| 62 |

|
|
|
|
| 105 |
|
| 106 |
image.save("output_pruned.png")
|
| 107 |
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
### Citation
|
| 111 |
+
If you find this work useful, please consider citing:
|
| 112 |
+
|
| 113 |
+
```bibtex
|
| 114 |
+
@article{zhu2025obs,
|
| 115 |
+
title={OBS-Diff: Accurate Pruning For Diffusion Models in One-Shot},
|
| 116 |
+
author={Zhu, Junhan and Wang, Hesong and Su, Mingluo and Wang, Zefang and Wang, Huan},
|
| 117 |
+
journal={arXiv preprint arXiv:2510.06751},
|
| 118 |
+
year={2025}
|
| 119 |
+
}
|
| 120 |
```
|