File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -116,16 +116,24 @@ jobs:
116116 mkdir -p $PYPI_CACHE_DIR
117117 ls -lh $PYPI_CACHE_DIR
118118
119- - name : Env. variables
119+ - name : Expand Env. variables
120120 run : |
121121 # Switch PyTorch URL between stable and test/future
122122 python -c "print('TORCH_URL=' + str('${{env.TORCH_URL_TEST}}' if '${{ matrix.pytorch-version }}' == '2.7' else '${{env.TORCH_URL_STABLE}}'))" >> $GITHUB_ENV
123123 # Switch coverage scope
124124 python -c "print('COVERAGE_SCOPE=' + str('lightning' if '${{matrix.pkg-name}}' == 'lightning' else 'lightning_fabric'))" >> $GITHUB_ENV
125125 # if you install mono-package set dependency only for this subpackage
126126 python -c "print('EXTRA_PREFIX=' + str('' if '${{matrix.pkg-name}}' != 'lightning' else 'fabric-'))" >> $GITHUB_ENV
127+ - name : Append Env. vars for MacOS
128+ if : ${{ runner.os == 'macOS' }}
129+ run : |
130+ # trying to avoid "gloo" issue with SIGABRT
131+ echo "GLOO_SOCKET_IFNAME=lo0" >> $GITHUB_ENV
132+ - name : Append Env. vars for Windows
133+ if : ${{ runner.os == 'windows' }}
134+ run : |
127135 # Avoid issue on Windows with PyTorch 2.4: "RuntimeError: use_libuv was requested but PyTorch was build without libuv support"
128- python -c "print(' USE_LIBUV=0' if '${{matrix.os}}' == 'windows-2022' and '${{matrix.pytorch-version}}' == '2.4' else '') " >> $GITHUB_ENV
136+ echo " USE_LIBUV=0" >> $GITHUB_ENV
129137
130138 - name : Install package & dependencies
131139 timeout-minutes : 20
You can’t perform that action at this time.
0 commit comments