clean up uesless ut test (#3622)
supports_v1 has been removed already by
c18ca62a17
Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
@@ -669,12 +669,6 @@ class TestNPUPlatform(TestBase):
|
|||||||
def test_is_pin_memory_available_returns_true(self):
|
def test_is_pin_memory_available_returns_true(self):
|
||||||
self.assertTrue(self.platform.is_pin_memory_available())
|
self.assertTrue(self.platform.is_pin_memory_available())
|
||||||
|
|
||||||
def test_supports_v1(self):
|
|
||||||
from vllm.config import ModelConfig
|
|
||||||
|
|
||||||
mock_config = MagicMock(spec=ModelConfig)
|
|
||||||
self.assertTrue(self.platform.supports_v1(mock_config))
|
|
||||||
|
|
||||||
def test_get_static_graph_wrapper_cls_returns_correct_value(self):
|
def test_get_static_graph_wrapper_cls_returns_correct_value(self):
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
self.platform.get_static_graph_wrapper_cls(),
|
self.platform.get_static_graph_wrapper_cls(),
|
||||||
|
|||||||
Reference in New Issue
Block a user