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 quantize test on macOS

davidmezzetticfb0975fbe89
diff --git a/test/python/testextractor.py b/test/python/testextractor.py
index 4522df27..175c61ac 100644
--- a/test/python/testextractor.py
+++ b/test/python/testextractor.py
@@ -2,6 +2,7 @@
Extractor module tests
"""
+import platform
import unittest
from txtai.embeddings import Embeddings
@@ -69,6 +70,7 @@ class TestExtractor(unittest.TestCase):
answers = self.extractor(self.sections, [(question, question, question, False)])
self.assertIsNone(answers[0][1])
+ @unittest.skipIf(platform.system() == "Darwin", "Quantized models not supported on macOS")
def testQuantize(self):
"""
Test qa extraction backed by a quantized model