[Kimi Bug] Fix kimi k3 startup cuda graph issue with recoverSSM (#55774)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
@@ -299,7 +299,11 @@ class CudaGraphManager:
|
||||
if desc not in descs_by_mode[decode_mode]:
|
||||
descs_by_mode[decode_mode].append(desc)
|
||||
|
||||
if mixed_mode:
|
||||
# recoverSSM cannot capture a dummy query wider than its workspace.
|
||||
if mixed_mode and (
|
||||
not self.vllm_config.cache_config.use_kda_recoverssm
|
||||
or num_tokens <= max_decode_tokens
|
||||
):
|
||||
# for PIECEWISE graphs there is no limit on requests when replaying
|
||||
# i.e. no request padding is needed, so we leave it as None.
|
||||
# For breakable PW graphs, break-point kernels read the real batch
|
||||
|
||||
Reference in New Issue
Block a user