[compile] Fix fake kernel return dtype (#50444)

Signed-off-by: Richard Zou <zou3519@gmail.com>
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Richard Zou
2026-07-30 19:50:02 +00:00
committed by GitHub
co-authored by Codex
parent 3f90c7e9e6
commit c27b080d26
3 changed files with 34 additions and 2 deletions
@@ -794,7 +794,7 @@ def unified_kv_cache_update(
layer_slot_mapping,
)
return torch.empty(0, device=kv_cache.device, dtype=kv_cache.dtype)
return key.new_empty(0)
def unified_kv_cache_update_fake(