File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,17 @@ jobs:
4040 VERSION : cpu
4141 CUDATOOLKIT : cpuonly
4242 run : |
43- . ~/miniconda3/etc/profile.d/conda.sh
43+ # . ~/miniconda3/etc/profile.d/conda.sh
4444 # Needed for JPEG library detection as setup.py detects conda presence by running `shutil.which('conda')`
45- export PATH=~/miniconda3/bin:$PATH
45+ # export PATH=~/miniconda3/bin:$PATH
4646 set -ex
4747 # conda create -yp ${ENV_NAME} python=${PY_VERS} numpy libpng jpeg scipy
4848 # conda run -p ${ENV_NAME} conda install -y -c "pytorch-${CHANNEL}" -c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] "${CUDATOOLKIT}"
4949 # conda run -p ${ENV_NAME} python3 setup.py develop
5050 # conda run -p ${ENV_NAME} python3 -mpip install pytest pytest-mock av
5151 ${CONDA_RUN} conda install -y numpy libpng jpeg scipy
5252 ${CONDA_RUN} conda install -y -c "pytorch-${CHANNEL}" -c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] "${CUDATOOLKIT}"
53+ git config --global --add safe.directory /__w/vision/vision
5354 ${CONDA_RUN} python3 setup.py develop
5455 ${CONDA_RUN} python3 -mpip install pytest pytest-mock av
5556 - name : Run tests
You can’t perform that action at this time.
0 commit comments