Skip to content

Commit

Permalink
Workfow test.yml: update python + torch install
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanKossaifi authored May 30, 2024
1 parent 615fbdd commit 14eae21
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,20 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.12
- name: Install dependencies
run: |
echo "* Updating pip"
python -m pip install --upgrade pip
echo "* Installing requirements"
python -m pip install -r requirements.txt
echo "* Installing documentation requirements"
python -m pip install -r doc/requirements_doc.txt
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
echo "* Installing PyTorch"
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
- name: Install TensorLy dev
run: |
CWD=`pwd`
Expand Down

0 comments on commit 14eae21

Please sign in to comment.