-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
My machine is supported, previously with PyTorch 1.8.0, correct torchvision was being installed.
It would be good to somehow test most common conda installation scenarios. These problems have come back so many times. One could run once every major release a matrix with different machines / OS images / GPUs on EC2 just for testing this.
I think it would be good to modify torchvision 0.2.2 binaries so that it shows a message of how to fix it if it's run with recent PyTorch.
Also, for some reason conda website has a torchvision release 0.10.0, while torchvision github has only 0.9.2-rc2.
PREFIX=/home/lab/lab/vadim/prefix
mkdir -p $PREFIX
curl -L -so $PREFIX/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && chmod +x $PREFIX/miniconda.sh && $PREFIX/miniconda.sh -b -p $PREFIX/miniconda && rm $PREFIX/miniconda.sh
export PATH=$PREFIX/miniconda/bin:$PATH
# this is officially recommended command
conda install -y pytorch torchvision cudatoolkit=11.1 -c pytorch -c nvidia
PREFIX=/home/lab/lab/vadim/prefix/miniconda
Unpacking payload ...
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/lab/lab/vadim/prefix/miniconda
added / updated specs:
- _libgcc_mutex==0.1=main
- _openmp_mutex==4.5=1_gnu
- brotlipy==0.7.0=py39h27cfd23_1003
- ca-certificates==2021.7.5=h06a4308_1
- certifi==2021.5.30=py39h06a4308_0
- cffi==1.14.6=py39h400218f_0
- chardet==4.0.0=py39h06a4308_1003
- conda-package-handling==1.7.3=py39h27cfd23_1
- conda==4.10.3=py39h06a4308_0
- cryptography==3.4.7=py39hd23ed53_0
- idna==2.10=pyhd3eb1b0_0
- ld_impl_linux-64==2.35.1=h7274673_9
- libffi==3.3=he6710b0_2
- libgcc-ng==9.3.0=h5101ec6_17
- libgomp==9.3.0=h5101ec6_17
- libstdcxx-ng==9.3.0=hd4cf53a_17
- ncurses==6.2=he6710b0_1
- openssl==1.1.1k=h27cfd23_0
- pip==21.1.3=py39h06a4308_0
- pycosat==0.6.3=py39h27cfd23_0
- pycparser==2.20=py_2
- pyopenssl==20.0.1=pyhd3eb1b0_1
- pysocks==1.7.1=py39h06a4308_0
- python==3.9.5=h12debd9_4
- readline==8.1=h27cfd23_0
- requests==2.25.1=pyhd3eb1b0_0
- ruamel_yaml==0.15.100=py39h27cfd23_0
- setuptools==52.0.0=py39h06a4308_0
- six==1.16.0=pyhd3eb1b0_0
- sqlite==3.36.0=hc218d9a_0
- tk==8.6.10=hbc83047_0
- tqdm==4.61.2=pyhd3eb1b0_1
- tzdata==2021a=h52ac0ba_0
- urllib3==1.26.6=pyhd3eb1b0_1
- wheel==0.36.2=pyhd3eb1b0_0
- xz==5.2.5=h7b6447c_0
- yaml==0.2.5=h7b6447c_0
- zlib==1.2.11=h7b6447c_3
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
_openmp_mutex pkgs/main/linux-64::_openmp_mutex-4.5-1_gnu
brotlipy pkgs/main/linux-64::brotlipy-0.7.0-py39h27cfd23_1003
ca-certificates pkgs/main/linux-64::ca-certificates-2021.7.5-h06a4308_1
certifi pkgs/main/linux-64::certifi-2021.5.30-py39h06a4308_0
cffi pkgs/main/linux-64::cffi-1.14.6-py39h400218f_0
chardet pkgs/main/linux-64::chardet-4.0.0-py39h06a4308_1003
conda pkgs/main/linux-64::conda-4.10.3-py39h06a4308_0
conda-package-han~ pkgs/main/linux-64::conda-package-handling-1.7.3-py39h27cfd23_1
cryptography pkgs/main/linux-64::cryptography-3.4.7-py39hd23ed53_0
idna pkgs/main/noarch::idna-2.10-pyhd3eb1b0_0
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.35.1-h7274673_9
libffi pkgs/main/linux-64::libffi-3.3-he6710b0_2
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.3.0-h5101ec6_17
libgomp pkgs/main/linux-64::libgomp-9.3.0-h5101ec6_17
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-9.3.0-hd4cf53a_17
ncurses pkgs/main/linux-64::ncurses-6.2-he6710b0_1
openssl pkgs/main/linux-64::openssl-1.1.1k-h27cfd23_0
pip pkgs/main/linux-64::pip-21.1.3-py39h06a4308_0
pycosat pkgs/main/linux-64::pycosat-0.6.3-py39h27cfd23_0
pycparser pkgs/main/noarch::pycparser-2.20-py_2
pyopenssl pkgs/main/noarch::pyopenssl-20.0.1-pyhd3eb1b0_1
pysocks pkgs/main/linux-64::pysocks-1.7.1-py39h06a4308_0
python pkgs/main/linux-64::python-3.9.5-h12debd9_4
readline pkgs/main/linux-64::readline-8.1-h27cfd23_0
requests pkgs/main/noarch::requests-2.25.1-pyhd3eb1b0_0
ruamel_yaml pkgs/main/linux-64::ruamel_yaml-0.15.100-py39h27cfd23_0
setuptools pkgs/main/linux-64::setuptools-52.0.0-py39h06a4308_0
six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_0
sqlite pkgs/main/linux-64::sqlite-3.36.0-hc218d9a_0
tk pkgs/main/linux-64::tk-8.6.10-hbc83047_0
tqdm pkgs/main/noarch::tqdm-4.61.2-pyhd3eb1b0_1
tzdata pkgs/main/noarch::tzdata-2021a-h52ac0ba_0
urllib3 pkgs/main/noarch::urllib3-1.26.6-pyhd3eb1b0_1
wheel pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
xz pkgs/main/linux-64::xz-5.2.5-h7b6447c_0
yaml pkgs/main/linux-64::yaml-0.2.5-h7b6447c_0
zlib pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
Preparing transaction: done
Executing transaction: done
installation finished.
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/lab/lab/vadim/prefix/miniconda
added / updated specs:
- cudatoolkit=11.1
- pytorch
- torchvision
The following packages will be downloaded:
package | build
---------------------------|-----------------
blas-1.0 | mkl 6 KB
cudatoolkit-11.1.74 | h6bb024c_0 1.19 GB nvidia
freetype-2.10.4 | h5ab3b9f_0 596 KB
intel-openmp-2021.3.0 | h06a4308_3350 1.4 MB
jpeg-9b | h024ee3a_2 214 KB
lcms2-2.12 | h3be6417_0 312 KB
libpng-1.6.37 | hbc83047_0 278 KB
libtiff-4.2.0 | h85742a9_0 502 KB
libuv-1.40.0 | h7b6447c_0 736 KB
libwebp-base-1.2.0 | h27cfd23_0 437 KB
lz4-c-1.9.3 | h2531618_0 186 KB
mkl-2021.3.0 | h06a4308_520 141.2 MB
mkl-service-2.4.0 | py39h7f8727e_0 59 KB
mkl_fft-1.3.0 | py39h42c9631_2 179 KB
mkl_random-1.2.2 | py39h51133e4_0 309 KB
ninja-1.10.2 | hff7bd54_1 1.4 MB
numpy-1.20.3 | py39hf144106_0 23 KB
numpy-base-1.20.3 | py39h74d4b33_0 4.6 MB
olefile-0.46 | py_0 33 KB
openjpeg-2.3.0 | h05c96fa_1 301 KB
pillow-8.3.1 | py39h2c7a002_0 648 KB
pytorch-1.9.0 |py3.9_cuda11.1_cudnn8.0.5_0 1.44 GB pytorch
torchvision-0.2.2 | py_3 44 KB pytorch
typing_extensions-3.10.0.0 | pyh06a4308_0 27 KB
zstd-1.4.9 | haebb681_0 480 KB
------------------------------------------------------------
Total: 2.77 GB
The following NEW packages will be INSTALLED:
blas pkgs/main/linux-64::blas-1.0-mkl
cudatoolkit nvidia/linux-64::cudatoolkit-11.1.74-h6bb024c_0
freetype pkgs/main/linux-64::freetype-2.10.4-h5ab3b9f_0
intel-openmp pkgs/main/linux-64::intel-openmp-2021.3.0-h06a4308_3350
jpeg pkgs/main/linux-64::jpeg-9b-h024ee3a_2
lcms2 pkgs/main/linux-64::lcms2-2.12-h3be6417_0
libpng pkgs/main/linux-64::libpng-1.6.37-hbc83047_0
libtiff pkgs/main/linux-64::libtiff-4.2.0-h85742a9_0
libuv pkgs/main/linux-64::libuv-1.40.0-h7b6447c_0
libwebp-base pkgs/main/linux-64::libwebp-base-1.2.0-h27cfd23_0
lz4-c pkgs/main/linux-64::lz4-c-1.9.3-h2531618_0
mkl pkgs/main/linux-64::mkl-2021.3.0-h06a4308_520
mkl-service pkgs/main/linux-64::mkl-service-2.4.0-py39h7f8727e_0
mkl_fft pkgs/main/linux-64::mkl_fft-1.3.0-py39h42c9631_2
mkl_random pkgs/main/linux-64::mkl_random-1.2.2-py39h51133e4_0
ninja pkgs/main/linux-64::ninja-1.10.2-hff7bd54_1
numpy pkgs/main/linux-64::numpy-1.20.3-py39hf144106_0
numpy-base pkgs/main/linux-64::numpy-base-1.20.3-py39h74d4b33_0
olefile pkgs/main/noarch::olefile-0.46-py_0
openjpeg pkgs/main/linux-64::openjpeg-2.3.0-h05c96fa_1
pillow pkgs/main/linux-64::pillow-8.3.1-py39h2c7a002_0
pytorch pytorch/linux-64::pytorch-1.9.0-py3.9_cuda11.1_cudnn8.0.5_0
torchvision pytorch/noarch::torchvision-0.2.2-py_3
typing_extensions pkgs/main/noarch::typing_extensions-3.10.0.0-pyh06a4308_0
zstd pkgs/main/linux-64::zstd-1.4.9-haebb681_0
Downloading and Extracting Packages
mkl-2021.3.0 | 141.2 MB | ######################################################################################################### | 100%
intel-openmp-2021.3. | 1.4 MB | ######################################################################################################### | 100%
torchvision-0.2.2 | 44 KB | ######################################################################################################### | 100%
freetype-2.10.4 | 596 KB | ######################################################################################################### | 100%
libwebp-base-1.2.0 | 437 KB | ######################################################################################################### | 100%
mkl_random-1.2.2 | 309 KB | ######################################################################################################### | 100%
lcms2-2.12 | 312 KB | ######################################################################################################### | 100%
libuv-1.40.0 | 736 KB | ######################################################################################################### | 100%
cudatoolkit-11.1.74 | 1.19 GB | ######################################################################################################### | 100%
zstd-1.4.9 | 480 KB | ######################################################################################################### | 100%
openjpeg-2.3.0 | 301 KB | ######################################################################################################### | 100%
lz4-c-1.9.3 | 186 KB | ######################################################################################################### | 100%
numpy-base-1.20.3 | 4.6 MB | ######################################################################################################### | 100%
pytorch-1.9.0 | 1.44 GB | ######################################################################################################### | 100%
blas-1.0 | 6 KB | ######################################################################################################### | 100%
jpeg-9b | 214 KB | ######################################################################################################### | 100%
libpng-1.6.37 | 278 KB | ######################################################################################################### | 100%
mkl-service-2.4.0 | 59 KB | ######################################################################################################### | 100%
libtiff-4.2.0 | 502 KB | ######################################################################################################### | 100%
pillow-8.3.1 | 648 KB | ######################################################################################################### | 100%
mkl_fft-1.3.0 | 179 KB | ######################################################################################################### | 100%
ninja-1.10.2 | 1.4 MB | ######################################################################################################### | 100%
olefile-0.46 | 33 KB | ######################################################################################################### | 100%
typing_extensions-3. | 27 KB | ######################################################################################################### | 100%
numpy-1.20.3 | 23 KB | ######################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html
Metadata
Metadata
Assignees
Labels
No labels