Skip to content

Commit

Permalink
removed platform info on torch extras
Browse files Browse the repository at this point in the history
  • Loading branch information
wolearyc committed Sep 12, 2024
1 parent 4ffd89c commit 68128e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
run: |
python -m pip install --upgrade pip
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 requirements.txt --verbose
uv pip install ${{ matrix.uv-arg }} --system -r torch_requirements.txt --index-url https://download.pytorch.org/whl/cpu --verbose
uv pip install ${{ matrix.uv-arg }} --system --no-index -r torch_extra_requirements.txt -f https://data.pyg.org/whl/torch-2.4.0+cpu.html --verbose
- name: Analyzing the code with pylint
if: ${{ matrix.os != 'windows-latest' }} # Windows throws strange linting errors
Expand Down
8 changes: 2 additions & 6 deletions torch_extra_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
torch-scatter==2.1.2;sys_platform=="darwin"
torch-scatter==2.1.2+cpu;sys_platform=="linux"
torch-scatter==2.1.2+cpu;sys_platform=="win32"
torch-sparse==0.6.18;sys_platform=="darwin"
torch-sparse==0.6.18+cpu;sys_platform=="linux"
torch-sparse==0.6.18+cpu;sys_platform=="win32"
torch-scatter==2.1.2
torch-sparse==0.6.18

0 comments on commit 68128e4

Please sign in to comment.