[CI] Enable mypy import following for vllm/spec_decode (#33282)

Signed-off-by: Lucas Kabela <lucaskabela@meta.com>
This commit is contained in:
Lucas Kabela
2026-01-30 06:43:32 +00:00
committed by GitHub
parent d334dd26c4
commit 726d89720c
5 changed files with 38 additions and 20 deletions
+1
View File
@@ -15,6 +15,7 @@ class SuffixDecodingProposer:
def __init__(self, vllm_config: VllmConfig):
config = vllm_config.speculative_config
assert config is not None, "Speculative config must be set"
self.num_speculative_tokens = config.num_speculative_tokens
self.max_tree_depth = config.suffix_decoding_max_tree_depth
self.max_spec_factor = config.suffix_decoding_max_spec_factor