Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Skip test on Windows

davidmezzettia5829456d674
diff --git a/test/python/testpipeline/testonnx.py b/test/python/testpipeline/testonnx.py
index e33b8d05..15e76db7 100644
--- a/test/python/testpipeline/testonnx.py
+++ b/test/python/testpipeline/testonnx.py
@@ -141,6 +141,7 @@ class TestOnnx(unittest.TestCase):
labels = Labels((model, tokenizer), dynamic=False)
self.assertEqual(labels("cat")[0][0], 1)
+ @unittest.skipIf(os.name == "nt", "testZeroShot skipped on Windows")
def testZeroShot(self):
"""
Test exporting a zero shot classification model to ONNX and running inference