chore: remove T0-T3 demo tokens from position-grouped decode section
This commit is contained in:
parent
6b0a1dbb5e
commit
29007c7b97
|
|
@ -264,20 +264,6 @@ class ContinuousBatching(Scene):
|
|||
# 7. Position-Grouped Decode highlight
|
||||
# ═══════════════════════════════════════════════════
|
||||
# show multiple tokens grouped at Decode
|
||||
d_pos = run_lane.get_center() # RUNNING = Decode state
|
||||
d_tokens = [
|
||||
mk_tok("T" + str(i), BATCH_COLORS[i], "RUNNING", 5 + i * 2) for i in range(4)
|
||||
]
|
||||
positions = [
|
||||
d_pos + RIGHT * 1.2 + UP * 0.45,
|
||||
d_pos + RIGHT * 1.2,
|
||||
d_pos + RIGHT * 2.5 + UP * 0.45,
|
||||
d_pos + RIGHT * 2.5,
|
||||
]
|
||||
for i in range(4):
|
||||
d_tokens[i].move_to(positions[i])
|
||||
self.play(FadeIn(d_tokens[i], scale=0.6), run_time=0.2)
|
||||
|
||||
ring = SurroundingRectangle(run_lane, color=YELLOW, buff=0.12, stroke_width=3)
|
||||
ring_txt = Text(
|
||||
"Position-Grouped Batching\nSame decode position → single matmul",
|
||||
|
|
@ -285,8 +271,7 @@ class ContinuousBatching(Scene):
|
|||
).next_to(run_lane, DOWN, buff=0.5)
|
||||
self.play(Create(ring), Write(ring_txt))
|
||||
self.wait(2.0)
|
||||
self.play(FadeOut(ring), FadeOut(ring_txt),
|
||||
*[FadeOut(t) for t in d_tokens])
|
||||
self.play(FadeOut(ring), FadeOut(ring_txt))
|
||||
|
||||
# ═══════════════════════════════════════════════════
|
||||
# 8. O(1) Bitmask Slot Allocation
|
||||
|
|
|
|||
Loading…
Reference in New Issue