[DSv4.1] Initialize the full-to-SWA mapping for request-window pools (#43165)
This commit is contained in:
@@ -1080,6 +1080,7 @@ class DeepSeekV4TokenToKVPool(BaseSWAKVPool):
|
||||
kv_pool_cls: type = DeepSeekV4SingleKVPool
|
||||
|
||||
self.request_window = None
|
||||
self.full_to_swa_index_mapping = None
|
||||
encoder_replay = get_exec().features.enable_encoder_swa_bounded_replay
|
||||
# DSpark's draft shares the target's full-to-SWA mapping, so the target
|
||||
# keeps its paged SWA allocator even under encoder replay.
|
||||
|
||||
Reference in New Issue
Block a user