Update model card for the checkpoints/<bb> + seed_latents/<bb> structure
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ tags:
|
|
| 7 |
- will-it-render
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# Will It Render? — AttnSteer
|
| 11 |
|
| 12 |
Ben Fishman¹ · Dvir Samuel² · Gal Chechik¹² · Idan Schwartz¹ — ¹Bar-Ilan University, ²NVIDIA
|
| 13 |
|
|
@@ -21,8 +21,11 @@ Ben Fishman¹ · Dvir Samuel² · Gal Chechik¹² · Idan Schwartz¹ — ¹Bar-I
|
|
| 21 |
> predicts whether each requested object will render; then use it as a differentiable steering
|
| 22 |
> signal at inference time — no model retraining, no hand-crafted objectives needed.
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
## How it works
|
| 28 |
|
|
@@ -38,37 +41,36 @@ to steer one backbone: per-step checkpoints + extraction geometry + steering rec
|
|
| 38 |
|
| 39 |
Four independent uses — each standalone with its own README in the [code repo](https://github.com/benf22/will-it-render-code):
|
| 40 |
|
| 41 |
-
1. **Run inference** — steer generation with our final algorithm so requested objects render
|
| 42 |
2. **Train your own AttnSteer** — extract a backbone's cross-attention features and train a steering model.
|
| 43 |
3. **Use our dataset** — the [473-prompt WIR test set](https://github.com/benf22/will-it-render-code/tree/main/data/WIR_testset) (+ seeds).
|
| 44 |
4. **Use our evaluation** — det-all / det-ratio object-presence metrics on **any** model's videos.
|
| 45 |
|
| 46 |
-
##
|
| 47 |
|
| 48 |
-
|
|
| 49 |
-
|------
|
| 50 |
-
| `
|
| 51 |
-
| `
|
| 52 |
-
| `
|
| 53 |
-
| `
|
|
|
|
| 54 |
|
| 55 |
-
```
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
extraction_config.yaml # capture geometry the AttnSteer was trained on
|
| 59 |
-
checkpoints/ # probe_step_NNN.pt (per denoising step; ~3 MB total)
|
| 60 |
-
seed_latents/ # one GPU-tagged seed-42 latent for an exact-repro demo
|
| 61 |
-
```
|
| 62 |
|
| 63 |
## Use
|
| 64 |
|
| 65 |
```bash
|
| 66 |
pip install -e . # the will-it-render code repo
|
| 67 |
export VP_WAN_ROOT=/path/to/Wan2.1 # the engine checkout (see code README)
|
| 68 |
-
|
| 69 |
-
|
|
|
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
-
|
| 73 |
(`__h100` / `__ctxa100` / `__a100`); other seeds regenerate noise on the fly (reproducible only
|
| 74 |
within one GPU architecture). Code + full docs: https://github.com/benf22/will-it-render-code
|
|
|
|
| 7 |
- will-it-render
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# Will It Render? — AttnSteer artifacts
|
| 11 |
|
| 12 |
Ben Fishman¹ · Dvir Samuel² · Gal Chechik¹² · Idan Schwartz¹ — ¹Bar-Ilan University, ²NVIDIA
|
| 13 |
|
|
|
|
| 21 |
> predicts whether each requested object will render; then use it as a differentiable steering
|
| 22 |
> signal at inference time — no model retraining, no hand-crafted objectives needed.
|
| 23 |
|
| 24 |
+
This repo hosts the trained **AttnSteer** artifacts for the [code
|
| 25 |
+
repo](https://github.com/benf22/will-it-render-code): per-backbone probe checkpoints and seed
|
| 26 |
+
latents, plus the evaluation labels and training data. The steering **recipe** is not here — it is
|
| 27 |
+
the code repo's `configs/steering/<backbone>.yaml`; `download_artifacts` fetches the artifacts and
|
| 28 |
+
assembles the bundle `wir-run` consumes.
|
| 29 |
|
| 30 |
## How it works
|
| 31 |
|
|
|
|
| 41 |
|
| 42 |
Four independent uses — each standalone with its own README in the [code repo](https://github.com/benf22/will-it-render-code):
|
| 43 |
|
| 44 |
+
1. **Run inference** — steer generation with our final algorithm so requested objects render.
|
| 45 |
2. **Train your own AttnSteer** — extract a backbone's cross-attention features and train a steering model.
|
| 46 |
3. **Use our dataset** — the [473-prompt WIR test set](https://github.com/benf22/will-it-render-code/tree/main/data/WIR_testset) (+ seeds).
|
| 47 |
4. **Use our evaluation** — det-all / det-ratio object-presence metrics on **any** model's videos.
|
| 48 |
|
| 49 |
+
## What's here
|
| 50 |
|
| 51 |
+
| Path | What |
|
| 52 |
+
|------|------|
|
| 53 |
+
| `checkpoints/<backbone>/` | per-step AttnSteer weights (`probe_step_NNN.pt`, ~3 MB total) + `extraction_config.yaml` (the capture geometry the probe was trained on) |
|
| 54 |
+
| `seed_latents/<backbone>/` | precomputed per-seed initial latents — the demo seed (`seed_00042`) plus the project-page carousel seeds |
|
| 55 |
+
| `paper_eval/` | detector labels that reproduce the paper's det-all / det-ratio table with no GPU (`will_it_render.evaluation.paper_table`) |
|
| 56 |
+
| `datasets/training/` | per-backbone training sets (`wan.csv`, `ltx.csv`, `cogvideox.csv`): prompt + seed + train/val split + label, to retrain AttnSteer |
|
| 57 |
+
| `docs/` | method figures |
|
| 58 |
|
| 59 |
+
Backbones: `wan` (Wan2.1-T2V-1.3B), `ltx` (LTX-2), `cogvideox` (CogVideoX-5B), `ltx_timeline`
|
| 60 |
+
(LTX-2, per-frame temporal control). The seed latents live under
|
| 61 |
+
`seed_latents/<backbone>/<model>/<resolution>/seed_<N>__<gpu-tag>.pt`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
## Use
|
| 64 |
|
| 65 |
```bash
|
| 66 |
pip install -e . # the will-it-render code repo
|
| 67 |
export VP_WAN_ROOT=/path/to/Wan2.1 # the engine checkout (see code README)
|
| 68 |
+
# fetch checkpoints/<bb> + seed_latents/<bb> and assemble the bundle wir-run consumes:
|
| 69 |
+
bundle=$(python -m scripts.download_artifacts --backbone wan --quiet)
|
| 70 |
+
wir-run --bundle "$bundle" --prompt "a kite and a baseball bat" \
|
| 71 |
+
--target-words "kite,baseball bat" --seed 1892721232
|
| 72 |
```
|
| 73 |
|
| 74 |
+
A bundled seed latent reproduces exactly only on the GPU type it was tagged for
|
| 75 |
(`__h100` / `__ctxa100` / `__a100`); other seeds regenerate noise on the fly (reproducible only
|
| 76 |
within one GPU architecture). Code + full docs: https://github.com/benf22/will-it-render-code
|