Skip to content

Commit

Permalink
Minimum of torch 2.2.0 during build (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
casper-hansen authored Nov 16, 2024
1 parent 887d08b commit 8f71dc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
defaults:
run:
shell: pwsh
env:
MIN_TORCH_VER: "2.2.0"

steps:
- name: Free Disk Space
Expand Down Expand Up @@ -78,7 +80,7 @@ jobs:
- name: Install Dependencies
run: |
# Install torch
python -m pip install --upgrade --no-cache-dir torch==2.5.1
python -m pip install --upgrade --no-cache-dir torch==$env:MIN_TORCH_VER
python -m pip install build setuptools wheel
# Print version information
Expand Down

0 comments on commit 8f71dc8

Please sign in to comment.