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

davidmezzetti47bfd8873996
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7f816613..d6d69227 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -5,6 +5,8 @@ on: ["push", "pull_request"]
jobs:
build:
+ env:
+ OMP_NUM_THREADS: 3
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -28,8 +30,6 @@ 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