Signed-off-by: junq <22017000+QiJune@users.noreply.github.com>
This commit is contained in:
QI JUN 2025-07-07 17:19:38 +08:00 committed by GitHub
parent 4fa9284612
commit d47ac4e3e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
import unittest
from dataclasses import dataclass
import pytest
import torch
import tensorrt_llm
@ -43,6 +42,9 @@ class DummyModel(torch.nn.Module):
torch_dtype=dtype))
self.recorded_position_ids = None
def infer_max_seq_len(self):
return 2048
@property
def config(self):
return self.model_config.pretrained_config
@ -133,7 +135,6 @@ def create_model_engine_and_kvcache(config: PyTorchConfig = None):
return model_engine, kv_cache_manager
@pytest.mark.skip(reason="https://nvbugs/5324248")
class PyTorchModelEngineTestCase(unittest.TestCase):
def test_pad_generation_requests(self) -> None: