mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-11 07:54:57 +08:00
[Easy] Get rid of unnecessary paraenthesis in kv_cache_manager (#26842)
Signed-off-by: Jialin Ouyang <Jialin.Ouyang@gmail.com>
This commit is contained in:
parent
5c3bae1a6a
commit
7f83b4ee8e
@ -219,7 +219,7 @@ class KVCacheManager:
|
|||||||
self.prefix_cache_stats.queries += request.num_tokens
|
self.prefix_cache_stats.queries += request.num_tokens
|
||||||
self.prefix_cache_stats.hits += num_new_computed_tokens
|
self.prefix_cache_stats.hits += num_new_computed_tokens
|
||||||
|
|
||||||
return (self.create_kv_cache_blocks(computed_blocks), num_new_computed_tokens)
|
return self.create_kv_cache_blocks(computed_blocks), num_new_computed_tokens
|
||||||
|
|
||||||
def allocate_slots(
|
def allocate_slots(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user