Skip to content

Commit 153360c

Browse files
committed
fix: correct the test that passes the kvcache config with the wrong type (the mirror class of executor.kvcache_config)
Signed-off-by: qixiang-99 <[email protected]>
1 parent 809f802 commit 153360c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unittest/llmapi/test_llm_kv_cache_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create_kv_cache_manager():
3030
max_batch_size = 1
3131
mapping = Mapping()
3232
return KVCacheManager(
33-
kv_cache_config=global_kvcache_config,
33+
kv_cache_config=global_kvcache_config._to_pybind(),
3434
kv_cache_type=tensorrt_llm.bindings.internal.batch_manager.CacheType.
3535
SELF,
3636
num_layers=num_layers,

0 commit comments

Comments
 (0)