From 5cf406e15f601f9b94755087acc81bdf8923d7fb Mon Sep 17 00:00:00 2001 From: awerdich Date: Sun, 15 Sep 2024 13:59:25 -0400 Subject: [PATCH] Explicit PyTorch installation for MacOS --- .github/workflows/pytest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index d3a93ea..a81d941 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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