[VLM] replace deprecated image processor use_fast (#34175)
This commit is contained in:
@@ -87,6 +87,12 @@ class TestServerArgsAnnotatedCli(CustomTestCase):
|
||||
self.assertEqual(sa.deepep_mode, "low_latency")
|
||||
self.assertEqual(sa.elastic_ep_backend, "none")
|
||||
|
||||
def test_image_processor_backend_choices(self):
|
||||
for backend in ("auto", "torchvision", "pil"):
|
||||
with self.subTest(backend=backend):
|
||||
sa = self._parse(["--image-processor-backend", backend])
|
||||
self.assertEqual(sa.image_processor_backend, backend)
|
||||
|
||||
def test_deprecated_flags_still_work(self):
|
||||
"""Deprecated flags set the correct dest field."""
|
||||
sa = self._parse(["--stream-output"])
|
||||
|
||||
Reference in New Issue
Block a user