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
10 changes: 0 additions & 10 deletions vllm/v1/worker/gpu/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,6 @@ def initialize_kv_cache(self, kv_cache_config: KVCacheConfig) -> None:
self.block_tables,
)

# TODO(woosuk): Support other backends.
supported_backends = ("FLASH_ATTN", "FLASHINFER", "FLASHINFER_MLA")
for backend in self.attn_backends.values():
backend_name = backend.get_name()
if backend_name not in supported_backends:
raise NotImplementedError(
f"The {backend_name} attention backend is not supported yet. "
f"Supported backends are: {supported_backends}."
)

self.kv_caches: list[torch.Tensor] = []
init_kv_cache(
self.kv_caches,
Expand Down