Skip to content

Commit 4840537

Browse files
committed
fix the lora_config
Signed-off-by: leslie-fang25 <[email protected]>
1 parent dae55c6 commit 4840537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorrt_llm/executor/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _create_engine(executor_config):
179179
if engine_config.build_config.max_prompt_embedding_table_size > 0:
180180
self._prompt_adapter_manager = PromptAdapterManager()
181181

182-
if getattr(executor_config, "backend",
182+
if getattr(self._executor_config, "backend",
183183
"") == "pytorch" and lora_config is not None:
184184
from tensorrt_llm._torch.pyexecutor.resource_manager import \
185185
ResourceManagerType

0 commit comments

Comments
 (0)