Skip to content

Commit

Permalink
platform_system->sys_platform
Browse files Browse the repository at this point in the history
  • Loading branch information
wolearyc committed Sep 12, 2024
1 parent 7a81d66 commit ef89666
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pip install uv
uv pip install ${{ matrix.uv-arg }} --system -r requirements.txt
uv pip install ${{ matrix.uv-arg }} --system -r torch_requirements.txt --index-url https://download.pytorch.org/whl/cpu
uv pip install ${{ matrix.uv-arg }} --system -r torch_extra_requirements.txt -f https://data.pyg.org/whl/torch-2.4.0+cpu.html
uv pip install ${{ matrix.uv-arg }} --system -r torch_extra_requirements.txt -f https://data.pyg.org/whl/torch-2.4.1+cpu.html
- name: Analyzing the code with pylint
if: ${{ matrix.os != 'windows-latest' }} # Windows throws strange linting errors
run: |
Expand Down
6 changes: 3 additions & 3 deletions torch_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
torch==2.4.1;platform_system=="darwin"
torch==2.4.1+cpu;platform_system=="linux"
torch==2.4.1+cpu;platform_system=="Windows"
torch==2.4.1;sys_platform=="darwin"
torch==2.4.1+cpu;sys_platform=="linux"
torch==2.4.1+cpu;sys_platform=="Windows"

0 comments on commit ef89666

Please sign in to comment.