Skip to content

Commit

Permalink
Merge pull request #28 from RasmusOrsoe/main
Browse files Browse the repository at this point in the history
update from main
  • Loading branch information
RasmusOrsoe authored Apr 29, 2024
2 parents 4151732 + 7532bb8 commit 81fd2a1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ runs:
shell: bash
- name: Install package
run: |
echo requirements/torch_${{ inputs.hardware }}.txt ${{ env.PIP_FLAGS }} .${{ inputs.extras }}
pip install -r requirements/torch_${{ inputs.hardware }}.txt ${{ env.PIP_FLAGS }} .${{ inputs.extras }}
shell: bash
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:

build-macos:
name: Unit tests - macOS
runs-on: macos-latest
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
Expand All @@ -131,7 +131,7 @@ jobs:
uses: ./.github/actions/install
with:
editable: true
hardware: "macos"
hardware: "cpu"
- name: Print packages in pip
run: |
pip show torch
Expand Down
2 changes: 1 addition & 1 deletion requirements/torch_macos.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--find-links https://download.pytorch.org/whl/torch_stable.html
--find-links https://download.pytorch.org/whl/cpu
--find-links https://data.pyg.org/whl/torch-2.2.0+cpu.html
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"versioneer",
],
"torch": [
"torch>=2.1",
"torch>=2.1,<2.3",
"torch-cluster>=1.6",
"torch-scatter>=2.0",
"torch-sparse>=0.6",
Expand Down

0 comments on commit 81fd2a1

Please sign in to comment.