[mypy] Enable type checking for more directories (#29674)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -614,12 +614,12 @@ def _maybe_remap_hf_config_attrs(config: PretrainedConfig) -> PretrainedConfig:
|
||||
|
||||
def maybe_override_with_speculators(
|
||||
model: str,
|
||||
tokenizer: str,
|
||||
tokenizer: str | None,
|
||||
trust_remote_code: bool,
|
||||
revision: str | None = None,
|
||||
vllm_speculative_config: dict[str, Any] | None = None,
|
||||
**kwargs,
|
||||
) -> tuple[str, str, dict[str, Any] | None]:
|
||||
) -> tuple[str, str | None, dict[str, Any] | None]:
|
||||
"""
|
||||
Resolve model configuration when speculators are detected.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user