File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,16 @@ jobs:
3636 run : pip install --no-cache-dir torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }}
3737 - name : Install torch on ubuntu
3838 if : startsWith(matrix.os, 'ubuntu')
39- run : pip install --no-cache-dir torch==${{ matrix.torch }}+cpu torchvision==${{ matrix.torchvision }}+cpu -f https://download.pytorch.org/whl/torch_stable.html
39+ run : |
40+ pip install --no-cache-dir torch==${{ matrix.torch }}+cpu torchvision==${{ matrix.torchvision }}+cpu -f https://download.pytorch.org/whl/torch_stable.html
41+ sudo apt update
42+ sudo apt install -y google-perftools
4043 - name : Install requirements
4144 run : |
4245 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4346 pip install --no-cache-dir git+https://github.com/mapillary/inplace_abn.git@v1.0.12
4447 - name : Run tests
48+ env :
49+ LD_PRELOAD : /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
4550 run : |
4651 pytest -vv --durations=0 ./tests
You can’t perform that action at this time.
0 commit comments