Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Test torch==1.12.1 with OMP_NUM_THREADS=3 #300

davidmezzetti9b28b7a391d2
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 50665da8..9f6209ac 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,6 +28,7 @@ jobs:
run: |
brew install libomp
pip install annoy==1.16.3
+ env: OMP_NUM_THREADS: 3
if: matrix.os == 'macos-latest'
- name: Install dependencies - Windows
@@ -38,7 +39,7 @@ jobs:
run: |
pip install -U pip
pip install -U wheel coverage coveralls
- pip install .[all] torch==1.11.0
+ pip install .[all]
python -c "import nltk; nltk.download('punkt')"
python --version
make data coverage