Skip to content

Commit

Permalink
FIX: macOS intel warnings
Browse files Browse the repository at this point in the history
I think the issues is that torch dropped support for macOS Intel upon release of 2.3. And torch < 2.3 doesnt play well with Numpy 2. So the fix here is to downgrade numpy versions to 1 for macOS Intel only.
  • Loading branch information
scott-huberty committed Oct 2, 2024
1 parent 0ca9d7d commit c670dd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Force numpy < 2 on MacOS Intel
if: matrix.os == 'macos-13'
run: pip install 'numpy<2'
- name: Install Pylossless & Deps
run: pip install -e .
- name: Test import
Expand Down

0 comments on commit c670dd1

Please sign in to comment.