[tests] tag serve tests as slow (#39343)
* maybe they need more cpu resources? * add todo
This commit is contained in:
@@ -197,6 +197,7 @@ class ServeCompletionsMixin:
|
|||||||
# TODO: speed-based test to confirm that KV cache is working across requests
|
# TODO: speed-based test to confirm that KV cache is working across requests
|
||||||
|
|
||||||
|
|
||||||
|
@slow # TODO (joao): this shouldn't be needed
|
||||||
class ServeCompletionsGenerateTest(ServeCompletionsMixin, unittest.TestCase):
|
class ServeCompletionsGenerateTest(ServeCompletionsMixin, unittest.TestCase):
|
||||||
"""Tests the `generate` version of the Completions API."""
|
"""Tests the `generate` version of the Completions API."""
|
||||||
|
|
||||||
@@ -286,6 +287,7 @@ class ServeCompletionsGenerateTest(ServeCompletionsMixin, unittest.TestCase):
|
|||||||
self.assertTrue(all(reason is None for reason in finish_reasons[:-1]))
|
self.assertTrue(all(reason is None for reason in finish_reasons[:-1]))
|
||||||
|
|
||||||
|
|
||||||
|
@slow # TODO (joao): this shouldn't be needed
|
||||||
class ServeCompletionsContinuousBatchingTest(ServeCompletionsMixin, unittest.TestCase):
|
class ServeCompletionsContinuousBatchingTest(ServeCompletionsMixin, unittest.TestCase):
|
||||||
"""Tests the `continuous_batching` version of the Completions API."""
|
"""Tests the `continuous_batching` version of the Completions API."""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user