@@ -39,18 +39,10 @@ conda create \
39
39
--name ci \
40
40
--quiet --yes \
41
41
python=" ${PYTHON_VERSION} " pip \
42
- ninja cmake \
43
- libpng \
44
- ' ffmpeg<4.3'
42
+ ninja cmake
45
43
conda activate ci
46
- conda install --quiet --yes libjpeg-turbo -c pytorch
47
44
pip install --progress-bar=off --upgrade setuptools
48
45
49
- # See https://github.com/pytorch/vision/issues/6790
50
- if [[ " ${PYTHON_VERSION} " != " 3.11" ]]; then
51
- pip install --progress-bar=off av! =10.0.0
52
- fi
53
-
54
46
echo ' ::endgroup::'
55
47
56
48
if [[ " ${OS_TYPE} " == windows && " ${GPU_ARCH_TYPE} " == cuda ]]; then
@@ -94,7 +86,7 @@ if [[ $GPU_ARCH_TYPE == 'cuda' ]]; then
94
86
fi
95
87
echo ' ::endgroup::'
96
88
97
- echo ' ::group::Install third party dependencies prior to TorchVision install'
89
+ echo ' ::group::Install third party dependencies prior to extension-cpp install'
98
90
# Installing with `easy_install`, e.g. `python setup.py install` or `python setup.py develop`, has some quirks when
99
91
# when pulling in third-party dependencies. For example:
100
92
# - On Windows, we often hit an SSL error although `pip` can install just fine.
@@ -106,11 +98,9 @@ python setup.py egg_info
106
98
# optional dependencies come in non-standard syntax after a blank line. Thus, we just extract the header.
107
99
sed -e ' /^$/,$d' * .egg-info/requires.txt | tee requirements.txt
108
100
pip install --progress-bar=off -r requirements.txt
109
- # test dependency
110
- pip install numpy
111
101
echo ' ::endgroup::'
112
102
113
- echo ' ::group::Install TorchVision '
103
+ echo ' ::group::Install extension-cpp '
114
104
python setup.py develop
115
105
echo ' ::endgroup::'
116
106
0 commit comments