Commit e97f7ae
committed
[DFlash] add num_timesteps property for parity with LLaDA2 / SDAR / IDLM
Mirrors the convention used elsewhere in diffusers discrete-diffusion
pipelines: callback consumers and progress-bar UIs read num_timesteps
to know how many steps remain. The natural value for DFlash is the
number of speculative-decode blocks.1 parent 7bc8161 commit e97f7ae
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
391 | 395 | | |
392 | 396 | | |
393 | 397 | | |
| 398 | + | |
394 | 399 | | |
395 | 400 | | |
396 | 401 | | |
| |||
0 commit comments