[Bugfix] DSV4 TP16 garbage output (#47493)

Signed-off-by: Jeff Ma <jeffjma@umich.edu>
Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com>
This commit is contained in:
Jeff (Junze) Ma
2026-07-07 21:04:33 -07:00
committed by GitHub
co-authored by Lucas Wilkinson
parent d9e57ea82e
commit 80eb01e93d
5 changed files with 61 additions and 6 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ class CompressorStateCache(torch.nn.Module, AttentionLayerBase):
head_size=self.state_dim,
dtype=self.dtype,
sliding_window=self.sliding_window,
alignment=576 if uses_fp8_ds_mla_layout else None,
alignment=576 if uses_fp8_ds_mla_layout else 512,
)
def forward(self): ...