💡 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
Update build and docs to address OpenMP issues on macOS and how to address. Closes #377
davidmezzettid3f8b255fc40
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 1ffeb0b8..4fcb4559 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -39,7 +39,6 @@ jobs:- name: Install dependencies - macOSrun: |- brew install libompecho "OMP_NUM_THREADS=1" >> $GITHUB_ENVif: matrix.os == 'macos-latest'diff --git a/docs/faq.md b/docs/faq.mdindex d033cf15..9284dd73 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -92,7 +92,7 @@ Segmentation faults and similar errors on macOS__Solution__-Downgrade PyTorch to <= 1.12. See issue [#377](https://github.com/neuml/txtai/issues/377) for more on this issue.+Disable OpenMP threading via the environment variable `export OMP_NUM_THREADS=1` or downgrade PyTorch to <= 1.12. See issue [#377](https://github.com/neuml/txtai/issues/377) for more.----------diff --git a/docs/install.md b/docs/install.mdindex 36fdef18..0444287b 100644--- a/docs/install.md+++ b/docs/install.md@@ -118,7 +118,7 @@ Optional audio transcription requires a [system library to be installed](https:/### macOS-Run `brew install libomp` see [this link](https://github.com/kyamagu/faiss-wheels#prerequisite)+Older versions of Faiss have a runtime dependency on `libomp` for macOS. Run `brew install libomp` in this case.### Windows