Skip to content

Commit

Permalink
Explicit PyTorch installation for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
awerdich committed Sep 15, 2024
1 parent 5b1e077 commit 5cf406e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: install dependencies
- name: install Pipenv, Pipfile
run: |
python -m pip install pipenv
pipenv install --dev --ignore-pipfile --python=${{ matrix.python-version }}
- name: install PyTorch
run: pipenv run python -m pip install torch torchvision torchaudio

- name: install detectron2
run: bash ./bash_scripts/install_detectron

Expand Down

0 comments on commit 5cf406e

Please sign in to comment.