Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- diffusion
|
| 5 |
+
- flow-matching
|
| 6 |
+
- latent-diffusion
|
| 7 |
+
- image-generation
|
| 8 |
+
- imagenet
|
| 9 |
+
library_name: pytorch
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# LWD — Learning When to Denoise
|
| 13 |
+
|
| 14 |
+
EMA weights for **"Learning When to Denoise: Optimizing Asynchronous Schedules
|
| 15 |
+
for Latent Diffusion."**
|
| 16 |
+
|
| 17 |
+
- 📄 Paper: https://arxiv.org/abs/2606.19662
|
| 18 |
+
- 💻 Code: https://github.com/bsq532087/LWD
|
| 19 |
+
|
| 20 |
+
These are the EMA weights of the LightningDiT-XL/1 (675M-parameter) denoiser
|
| 21 |
+
trained with our learned asynchronous semantic–texture schedule on
|
| 22 |
+
class-conditional ImageNet 256×256.
|
| 23 |
+
|
| 24 |
+
## Checkpoints
|
| 25 |
+
|
| 26 |
+
| File | Training budget | Unguided FID | AutoGuidance FID |
|
| 27 |
+
|------|-----------------|:------------:|:----------------:|
|
| 28 |
+
| `xl_400k.pt` | 400K iter (≈80 epochs) | 2.87 | 1.14 |
|
| 29 |
+
| `xl_1m.pt` | 1M iter (≈200 epochs) | 2.37 | 1.05 |
|
| 30 |
+
| `xl_3m.pt` | 3M iter (≈600 epochs) | 2.14 | 1.02 |
|
| 31 |
+
|
| 32 |
+
Each file is a slim checkpoint of the form `{'ema': state_dict}` and is drop-in
|
| 33 |
+
for the inference script in the code repository.
|
| 34 |
+
|
| 35 |
+
## Usage
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
from huggingface_hub import hf_hub_download
|
| 39 |
+
|
| 40 |
+
ckpt_path = hf_hub_download("bsq532087/LWD", "xl_3m.pt")
|
| 41 |
+
# then point the code repo's inference config / --ckpt at `ckpt_path`
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
The texture latent decoder (SD-VAE f16-d32) and the SemVAE semantic encoder are
|
| 45 |
+
inherited from SFD / LightningDiT; see the code repository for how to obtain
|
| 46 |
+
them.
|
| 47 |
+
|
| 48 |
+
## License & attribution
|
| 49 |
+
|
| 50 |
+
Released under the MIT License. The denoiser backbone derives from
|
| 51 |
+
[LightningDiT](https://github.com/hustvl/LightningDiT) and the semantic-first
|
| 52 |
+
latent setup / SemVAE encoder from [SFD](https://github.com/yuemingPAN/SFD);
|
| 53 |
+
please also respect the licenses of those projects.
|
| 54 |
+
|
| 55 |
+
## Citation
|
| 56 |
+
|
| 57 |
+
```bibtex
|
| 58 |
+
@article{qian2026learning,
|
| 59 |
+
title = {Learning When to Denoise: Optimizing Asynchronous Schedules for Latent Diffusion},
|
| 60 |
+
author = {Qian, Bingshuo and Cheng, Xiang},
|
| 61 |
+
journal = {arXiv preprint arXiv:2606.19662},
|
| 62 |
+
year = {2026},
|
| 63 |
+
}
|
| 64 |
+
```
|