[None][fix] fix llmapi import error (#7030)

Signed-off-by: Ivy Zhang <25222398+crazydemo@users.noreply.github.com>
This commit is contained in:
Ivy Zhang 2025-08-20 10:58:13 +08:00 committed by GitHub
parent 30da5d3cc4
commit fc85e3db1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4135,7 +4135,8 @@ def test_llm_api_lookahead_decoding_1gpu(model_name, model_path):
"""
from defs.conftest import llm_models_root
from tensorrt_llm.llmapi import (LLM, BuildConfig, KvCacheConfig,
from tensorrt_llm._tensorrt_engine import LLM
from tensorrt_llm.llmapi import (BuildConfig, KvCacheConfig,
LookaheadDecodingConfig, SamplingParams)
build_config = BuildConfig(max_batch_size=128,
max_input_len=2048,