bugfix(flashinfer,dcp): remove kv_cache_layout for BatchDCPPrefillWrapper._new_tokens. (#38895)
Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
This commit is contained in:
@@ -223,9 +223,7 @@ class BatchDCPPrefillWrapper:
|
|||||||
self._context = BatchPrefillWithPagedKVCacheWrapper(
|
self._context = BatchPrefillWithPagedKVCacheWrapper(
|
||||||
workspace_buffer, get_kv_cache_layout()
|
workspace_buffer, get_kv_cache_layout()
|
||||||
)
|
)
|
||||||
self._new_tokens = BatchPrefillWithRaggedKVCacheWrapper(
|
self._new_tokens = BatchPrefillWithRaggedKVCacheWrapper(workspace_buffer)
|
||||||
workspace_buffer, get_kv_cache_layout()
|
|
||||||
)
|
|
||||||
|
|
||||||
def plan(
|
def plan(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user