Add require_torch to 2 pipeline tests (#20585)
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -481,6 +481,7 @@ class TQAPipelineTests(unittest.TestCase, metaclass=PipelineTestCaseMeta):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@slow
|
@slow
|
||||||
|
@require_torch
|
||||||
def test_integration_wtq_pt(self):
|
def test_integration_wtq_pt(self):
|
||||||
table_querier = pipeline("table-question-answering")
|
table_querier = pipeline("table-question-answering")
|
||||||
|
|
||||||
@@ -574,6 +575,7 @@ class TQAPipelineTests(unittest.TestCase, metaclass=PipelineTestCaseMeta):
|
|||||||
self.assertListEqual(results, expected_results)
|
self.assertListEqual(results, expected_results)
|
||||||
|
|
||||||
@slow
|
@slow
|
||||||
|
@require_torch
|
||||||
def test_integration_sqa_pt(self):
|
def test_integration_sqa_pt(self):
|
||||||
table_querier = pipeline(
|
table_querier = pipeline(
|
||||||
"table-question-answering",
|
"table-question-answering",
|
||||||
|
|||||||
Reference in New Issue
Block a user