File size: 14,712 Bytes
3cd1076
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="Demo videos for Multi-Block Diffusion Language Models, generated by the Diffulex inference engine.">
  <title>Demo Videos — Multi-Block Diffusion Language Models</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <nav class="nav" aria-label="Site navigation">
    <div class="container">
      <a class="nav-logo" href="https://sjtu-deng-lab.github.io/" aria-label="DENG Lab website">
        <img src="assets/sjtu-deng-lab-logo.png" alt="DENG Lab">
      </a>
      <a href="index.html">Home</a>
      <a href="videos.html" class="is-current">Videos</a>
      <a href="mbd-lms.html">MBD-LMs</a>
      <a href="diffulex.html">Diffulex Engine</a>
    </div>
  </nav>

  <main class="container">
    <section id="videos" class="video-section">
      <div class="section-kicker video-kicker">Decoding Demo Videos</div>
      <div class="video-section-head">
        <div>
          <h2>LLaDA2 + MBD: Same Prompts, Massive Speedup</h2>
          <p class="section-lede">Each group below runs the <strong>same set of prompts</strong> across three stages of the same LLaDA2 model: <strong>vanilla LLaDA2-Mini</strong> (native single-block decoding), <strong>MBD-LLaDA2-Mini</strong> (our MultiBD post-training), and <strong>MBD-LLaDA2-Mini-DMax</strong> (with aggressive DMax parallel decoding). The speed progression from left to right comes purely from our method — all demos run on a <strong>single NVIDIA A100-SXM4-80GB</strong> through the Diffulex engine. On newer hardware the gap widens further.</p>
        </div>
        <div class="video-head-actions">
          <button class="button video-action video-open" type="button" data-video="assets/videos/chosen.mp4" data-title="MBD-LLaDA2-Mini-DMax Demo">Watch Featured Demo</button>
          <a class="button secondary" href="mbd-lms.html">How It Works</a>
        </div>
      </div>

      <div class="video-feature">
        <div class="video-player">
          <video class="video-preview" muted loop controls preload="metadata" playsinline>
            <source src="assets/videos/chosen.mp4" type="video/mp4">
          </video>
        </div>
        <div class="video-feature-copy">
          <span>Featured Diffulex trace</span>
          <h3>MBD-LLaDA2-Mini-DMax Demo</h3>
          <p>This selected trace uses <strong>MBD-LLaDA2-Mini-DMax</strong>, the fastest model we trained.</p>
          <p class="video-note"><strong>Playback note.</strong> The demo videos pass through a Streamlit frontend, which can consume much of the engine-side throughput advantage. Use the aggregate TPS numbers in the Runtime Engine section to judge the actual engine path.</p>
          <button class="button secondary video-open" type="button" data-video="assets/videos/chosen.mp4" data-title="MBD-LLaDA2-Mini-DMax Demo">Watch Full Size</button>
        </div>
      </div>

      <div class="video-group">
        <div class="video-group-head">
          <h3>Vanilla LLaDA2-Mini</h3>
          <p>Native single-block decoding baseline. Same prompts, sequential block refinement.</p>
        </div>
        <div class="video-grid">
          <button class="video-card video-open" type="button" data-video="assets/videos/llada2_mini_1.mp4" data-title="LLaDA2-Mini 1">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/llada2_mini_1.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">LLaDA2-Mini 1</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/llada2_mini_2.mp4" data-title="LLaDA2-Mini 2">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/llada2_mini_2.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">LLaDA2-Mini 2</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/llada2_mini_3.mp4" data-title="LLaDA2-Mini 3">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/llada2_mini_3.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">LLaDA2-Mini 3</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/llada2_mini_4.mp4" data-title="LLaDA2-Mini 4">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/llada2_mini_4.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">LLaDA2-Mini 4</span>
              <span>Click to watch</span>
            </span>
          </button>
        </div>
      </div>

      <div class="video-group">
        <div class="video-group-head">
          <h3>MBD-LLaDA2-Mini</h3>
          <p>Our MultiBD post-training applied to the same model. Inter-block parallelism via bounded running-set.</p>
        </div>
        <div class="video-grid">
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_1.mp4" data-title="MBD-LLaDA2 1">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_1.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2 1</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_2.mp4" data-title="MBD-LLaDA2 2">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_2.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2 2</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_3.mp4" data-title="MBD-LLaDA2 3">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_3.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2 3</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_4.mp4" data-title="MBD-LLaDA2 4">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_4.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2 4</span>
              <span>Click to watch</span>
            </span>
          </button>
        </div>
      </div>

      <div class="video-group">
        <div class="video-group-head">
          <h3>MBD-LLaDA2-Mini-DMax</h3>
          <p>MultiBD + DMax aggressive parallel decoding. Highest throughput, same model backbone.</p>
        </div>
        <div class="video-grid">
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_dmax_1.mp4" data-title="MBD-LLaDA2-DMax 1">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_dmax_1.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2-DMax 1</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_dmax_2.mp4" data-title="MBD-LLaDA2-DMax 2">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_dmax_2.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2-DMax 2</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_dmax_3.mp4" data-title="MBD-LLaDA2-DMax 3">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_dmax_3.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2-DMax 3</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/mbd_llada2_dmax_4.mp4" data-title="MBD-LLaDA2-DMax 4">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/mbd_llada2_dmax_4.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">MBD-LLaDA2-DMax 4</span>
              <span>Click to watch</span>
            </span>
          </button>
        </div>
      </div>

      <div class="video-group">
        <div class="video-group-head">
          <h3>DiffusionGemma</h3>
          <p>Same method applied to a second diffusion model family for cross-architecture comparison.</p>
        </div>
        <div class="video-grid three-up">
          <button class="video-card video-open" type="button" data-video="assets/videos/dgemma_1.mp4" data-title="DiffusionGemma 1">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/dgemma_1.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">DiffusionGemma 1</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/dgemma_2.mp4" data-title="DiffusionGemma 2">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/dgemma_2.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">DiffusionGemma 2</span>
              <span>Click to watch</span>
            </span>
          </button>
          <button class="video-card video-open" type="button" data-video="assets/videos/dgemma_3.mp4" data-title="DiffusionGemma 3">
            <video class="video-preview" muted loop preload="metadata" playsinline>
              <source src="assets/videos/dgemma_3.mp4" type="video/mp4">
            </video>
            <span class="video-card-copy">
              <span class="video-card-title">DiffusionGemma 3</span>
              <span>Click to watch</span>
            </span>
          </button>
        </div>
      </div>
    </section>
  </main>

  <div class="video-modal" id="video-modal" hidden>
    <div class="video-modal-backdrop" data-video-close></div>
    <div class="video-modal-dialog" role="dialog" aria-modal="true" aria-labelledby="video-modal-title">
      <div class="video-modal-head">
        <h2 id="video-modal-title">Demo Video</h2>
        <button type="button" class="video-modal-close" data-video-close aria-label="Close video">Close</button>
      </div>
      <video id="modal-video" controls playsinline>
        <source id="modal-video-source" src="" type="video/mp4">
      </video>
    </div>
  </div>

  <footer>
    <div class="container">
      Multi-Block Diffusion Language Models. Train with <a href="https://github.com/SJTU-DENG-Lab/mbd-lms">mbd-lms</a>; reproduce with <a href="https://github.com/SJTU-DENG-Lab/Diffulex/tree/mbd-lms">Diffulex mbd-lms</a>; develop with <a href="https://github.com/SJTU-DENG-Lab/Diffulex/tree/main">Diffulex main</a>.
    </div>
  </footer>
  <script>
    (() => {
      const modal = document.getElementById("video-modal");
      const modalVideo = document.getElementById("modal-video");
      const modalSource = document.getElementById("modal-video-source");
      const modalTitle = document.getElementById("video-modal-title");

      const closeVideo = () => {
        if (!modal || !modalVideo || !modalSource) return;
        modal.hidden = true;
        document.body.classList.remove("modal-open");
        modalVideo.pause();
        modalSource.removeAttribute("src");
        modalVideo.load();
      };

      const openVideo = (trigger) => {
        if (!modal || !modalVideo || !modalSource || !modalTitle) return;
        const src = trigger.dataset.video;
        if (!src) return;
        modalTitle.textContent = trigger.dataset.title || "Demo Video";
        modalSource.src = src;
        modal.hidden = false;
        document.body.classList.add("modal-open");
        modalVideo.load();
        modalVideo.play().catch(() => {});
      };

      document.querySelectorAll(".video-open").forEach((trigger) => {
        trigger.addEventListener("click", () => openVideo(trigger));
      });

      document.querySelectorAll("[data-video-close]").forEach((trigger) => {
        trigger.addEventListener("click", closeVideo);
      });

      document.addEventListener("keydown", (event) => {
        if (event.key === "Escape") closeVideo();
      });

      document.querySelectorAll(".video-preview").forEach((video) => {
        video.play().catch(() => {});
      });
    })();
  </script>
</body>
</html>