Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions vllm_fl/dispatch/backends/flaggems/impl/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@

class AttentionFLBackend(AttentionBackend):
accept_output_buffer: bool = True
# KV cache update is performed by vLLM via do_kv_cache_update() before
# forward(). Without this, vLLM assumes the backend updates the KV cache
# inside forward() and never calls do_kv_cache_update, leaving the cache
# unwritten (all zeros) and producing garbage output.
forward_includes_kv_cache_update: bool = False
supported_dtypes: ClassVar[list[torch.dtype]] = [torch.float16, torch.bfloat16]

@staticmethod
Expand Down
Loading