File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 if [[ "${{ inputs.use_vm }}" == "true" ]]; then source ~/venv/bin/activate; fi
5454 pip install --no-cache-dir --upgrade 'pip>=20'
5555 pip install --no-cache-dir --upgrade 'setuptools>=68.2.2'
56+ rm -rf ~/.cache/pip
5657
5758 - name : Print pip and setuptools versions
5859 shell : bash
6869 echo "Installing graphnet with flags: ${{ steps.flags.outputs.user_flag }} ${{ steps.flags.outputs.editable_flag }}"
6970 echo "pip install ${{ steps.flags.outputs.user_flag }} ${{ steps.flags.outputs.editable_flag }} .[torch-${{ steps.flags.outputs.torch_flag }},${{ inputs.extras }}] -f https://data.pyg.org/whl/torch-${{ inputs.torch_version }}+${{ inputs.hardware }}.html"
7071 pip install --no-cache-dir${{ steps.flags.outputs.user_flag }} ${{ steps.flags.outputs.editable_flag }} .[torch-${{ steps.flags.outputs.torch_flag }},${{ inputs.extras }}] -f https://data.pyg.org/whl/torch-${{ inputs.torch_version }}+${{ inputs.hardware }}.html
71-
72+ rm -rf ~/.cache/pip
7273 pip install --no-cache-dir git+https://github.com/thoglu/jammy_flows.git
Original file line number Diff line number Diff line change 8787 pip --version
8888 python --version
8989 pip show setuptools
90-
90+ rm -rf ~/.cache/pip
91+
9192 - name : Print available disk space before graphnet install
9293 run : |
9394 df -h
@@ -102,6 +103,13 @@ jobs:
102103 pip install --no-cache-dir --upgrade versioneer
103104 pip show setuptools
104105 pip show versioneer
106+ rm -rf ~/.cache/pip
107+ - name : Install PyTorch and dependencies
108+ shell : bash
109+ run : |
110+ source ~/venv/bin/activate
111+ pip3 install --no-cache-dir torch==${{ matrix.torch_version }}+${{ matrix.hardware }} torchvision torchaudio --index-url https://download.pytorch.org/whl/${{ matrix.hardware }}
112+ rm -rf ~/.cache/pip
105113 - name : Install package
106114 uses : ./.github/actions/install
107115 with :
You can’t perform that action at this time.
0 commit comments