From 9df888082bae8c7736380aef732268900b0b47f6 Mon Sep 17 00:00:00 2001 From: ixlmar <206748156+ixlmar@users.noreply.github.com> Date: Tue, 11 Nov 2025 11:59:46 +0100 Subject: [PATCH] fix: type annotation Signed-off-by: ixlmar <206748156+ixlmar@users.noreply.github.com> --- tensorrt_llm/_torch/pyexecutor/py_executor_creator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorrt_llm/_torch/pyexecutor/py_executor_creator.py b/tensorrt_llm/_torch/pyexecutor/py_executor_creator.py index 813585950c9..51c25b560da 100644 --- a/tensorrt_llm/_torch/pyexecutor/py_executor_creator.py +++ b/tensorrt_llm/_torch/pyexecutor/py_executor_creator.py @@ -215,7 +215,7 @@ def get_guided_decoding_config(guided_decoding_backend: str, def create_py_executor( llm_args: TorchLlmArgs, - checkpoint_dir: str = None, + checkpoint_dir: Optional[str] = None, tokenizer: Optional[TokenizerBase] = None, profiling_stage_data: Optional[dict] = None, ) -> PyExecutor: