mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Speculative Decoding][MTP]Update extract_mtp_weight script and optimize config (#5183)
* update extract_mtp_model * modify config usage
This commit is contained in:
@@ -270,7 +270,6 @@ class SchedulerConfig:
|
||||
self.name = "local" # "local" for LocalScheduler or "global" for GlobalScheduler
|
||||
self.max_num_batched_tokens = 2048 # base token_num for text inputs
|
||||
self.max_extra_num_batched_tokens = 16384 # extra token_num for multimodal inputs
|
||||
self.max_chunk_len = 18432 # max supported token_num = max_num_batched_tokens + max_extra_num_batched_tokens
|
||||
self.max_num_seqs = 34
|
||||
self.splitwise_role = "mixed"
|
||||
self.config = None
|
||||
|
||||
Reference in New Issue
Block a user