[BugFix] Improve the performance of prefixcache features (#4022)

### What this PR does / why we need it?
The code bug caused an empty bubble. When the npu_paged_cache_load
operator was called, it forcibly transferred seq_len2 to the device,
which triggered synchronization and interrupted the CPU operator's
launch stream.

- vLLM version: v0.11.0
- vLLM main:
https://github.com/vllm-project/vllm/commit/83f478bb19489b41e9d208b47b4bb5a95ac171ac

---------

Signed-off-by: underfituu <hzhucong@163.com>
This commit is contained in:
hucong authored and GitHub committed 2025-11-08 18:45:31 +08:00
1 parent 1d81a289d0
commit 48094148f8
5 files changed
+31 -10

No files matched your search

@@ -119,3 +119,4 @@ jobs:
config_file_path: ${{ matrix.test_config.config_file_path }}
secrets:
KUBECONFIG_B64: ${{ secrets.KUBECONFIG_B64 }}