💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Skip quantization tests for macOS
davidmezzettie662a631e2ed
diff --git a/docs/embeddings/configuration/ann.md b/docs/embeddings/configuration/ann.mdindex c3ce0058..e4deac57 100644--- a/docs/embeddings/configuration/ann.md+++ b/docs/embeddings/configuration/ann.md@@ -75,7 +75,7 @@ numpy:The Torch backend is a k-nearest neighbors backend like NumPy. It supports GPU-enabled operations. It also has support for quantization which enables fitting larger arrays into GPU memory.-When quantization is enabled, vectors are _always_ stored in safetensors.+When quantization is enabled, vectors are _always_ stored in safetensors. _Note that macOS support for quantization is limited._```yamltorch:diff --git a/test/python/testann/testdense.py b/test/python/testann/testdense.pyindex 713b3529..3270d23a 100644--- a/test/python/testann/testdense.py+++ b/test/python/testann/testdense.py@@ -277,6 +277,7 @@ class TestDense(unittest.TestCase):self.runTests("torch")+ @unittest.skipIf(platform.system() == "Darwin", "Torch quantization not supported on macOS")def testTorchQuantization(self):"""Test Torch backend with quantization enabled