Skip to content

Commit

Permalink
switch CI to pip installs for torch, pyg and deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian Jamasb committed Feb 7, 2024
1 parent fc6bed8 commit 6d2f3d0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ jobs:
- name: Install mmseqs
run: mamba install -c conda-forge -c bioconda mmseqs2
- name: Install PyTorch
run: mamba install -c pytorch pytorch==${{matrix.torch}} cpuonly
#run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
#run: mamba install -c pytorch pytorch==${{matrix.torch}} cpuonly
run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Install PyG
run: mamba install -c pyg pyg
#run: mamba install -c pyg pyg
run: pip install torch_geometric
- name: Install torch-cluster
run: mamba install pytorch-cluster -c pyg
#run: mamba install pytorch-cluster -c pyg
run: pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-${{matrix.torch}}.html
- name: Install BLAST
run: sudo apt install ncbi-blast+
- name: Install Graphein
Expand Down

0 comments on commit 6d2f3d0

Please sign in to comment.