"...text-generation-inference.git" did not exist on "85aa7e2e7b02608eea04206b6cc0fa0ccced80ef"
Unverified Commit 8541c214 authored by Nikita Shulga's avatar Nikita Shulga Committed by GitHub
Browse files

Do not install lame when building torchvision (#4162)

* Do not install lame when building torchvision

It is needed only for ffmpeg integration, which is disabled anyway

* Also upgrade setuptool

To update pkg_resources.packaging to version 20.0+
parent 25bc21df
...@@ -8,6 +8,7 @@ export BUILD_TYPE=wheel ...@@ -8,6 +8,7 @@ export BUILD_TYPE=wheel
setup_env 0.11.0 setup_env 0.11.0
setup_wheel_python setup_wheel_python
pip_install numpy pyyaml future ninja pip_install numpy pyyaml future ninja
pip_install --upgrade setuptools
setup_pip_pytorch_version setup_pip_pytorch_version
python setup.py clean python setup.py clean
......
...@@ -185,8 +185,8 @@ setup_wheel_python() { ...@@ -185,8 +185,8 @@ setup_wheel_python() {
# Install libpng from Anaconda (defaults) # Install libpng from Anaconda (defaults)
conda install ${CONDA_CHANNEL_FLAGS} libpng "jpeg<=9b" -y conda install ${CONDA_CHANNEL_FLAGS} libpng "jpeg<=9b" -y
else else
# Install native CentOS libJPEG, LAME, freetype and GnuTLS # Install native CentOS libJPEG, freetype and GnuTLS
yum install -y libjpeg-turbo-devel lame freetype gnutls yum install -y libjpeg-turbo-devel freetype gnutls
case "$PYTHON_VERSION" in case "$PYTHON_VERSION" in
2.7) 2.7)
if [[ -n "$UNICODE_ABI" ]]; then if [[ -n "$UNICODE_ABI" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment