Skip to content

Instantly share code, notes, and snippets.

@thomasaarholt
Created June 12, 2021 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasaarholt/4125ab621f635a86b4f561dedf789fbd to your computer and use it in GitHub Desktop.
Save thomasaarholt/4125ab621f635a86b4f561dedf789fbd to your computer and use it in GitHub Desktop.
Installing CPU pytorch using mamba, which does include cudatoolkit
(base) ~: mamba create --name torchtest pytorch torchvision torchaudio cpuonly -c pytorch
__ __ __ __
/ \ / \ / \ / \
/ \/ \/ \/ \
███████████████/ /██/ /██/ /██/ /████████████████████████
/ / \ / \ / \ / \ \____
/ / \_/ \_/ \_/ \ o \__,
/ _/ \_____/ `
|/
███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗
████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
██╔████╔██║███████║██╔████╔██║██████╔╝███████║
██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
██║ ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝
mamba (0.13.0) supported by @QuantStack
GitHub: https://github.com/mamba-org/mamba
Twitter: https://twitter.com/QuantStack
█████████████████████████████████████████████████████████████
Looking for: ['pytorch', 'torchvision', 'torchaudio', 'cpuonly']
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
pkgs/main/noarch [====================] (00m:00s) No change
pkgs/r/noarch [====================] (00m:00s) No change
pkgs/main/linux-64 [====================] (00m:00s) No change
pkgs/r/linux-64 [====================] (00m:00s) No change
pytorch/linux-64 [====================] (00m:00s) No change
pytorch/noarch [====================] (00m:00s) No change
WARNING Found corrupted repodata_record file "/home/thomasaar/mambaforge/pkgs/libiconv-1.16-h516909a_0/info/repodata_record.json"
WARNING Found corrupted repodata_record file "/home/thomasaar/mambaforge/pkgs/bzip2-1.0.8-h7f98852_4/info/repodata_record.json"
Transaction
Prefix: /home/thomasaar/mambaforge/envs/torchtest
Updating specs:
- pytorch
- torchvision
- torchaudio
- cpuonly
Package Version Build Channel Size
──────────────────────────────────────────────────────────────────────────────────────────────
Install:
──────────────────────────────────────────────────────────────────────────────────────────────
_libgcc_mutex 0.1 conda_forge conda-forge/linux-64 Cached
_openmp_mutex 4.5 1_llvm conda-forge/linux-64 Cached
blas 2.109 mkl conda-forge/linux-64 Cached
blas-devel 3.9.0 9_mkl conda-forge/linux-64 Cached
bzip2 1.0.8 h7f98852_4 conda-forge/linux-64 Cached
ca-certificates 2021.5.30 ha878542_0 conda-forge/linux-64 Cached
certifi 2021.5.30 py39hf3d152e_0 conda-forge/linux-64 Cached
cpuonly 1.0 0 pytorch/noarch Cached
cudatoolkit 11.1.1 h6406543_8 conda-forge/linux-64 1 GB
ffmpeg 4.3 hf484d3e_0 pytorch/linux-64 10 MB
freetype 2.10.4 h0708190_1 conda-forge/linux-64 Cached
gmp 6.2.1 h58526e2_0 conda-forge/linux-64 806 KB
gnutls 3.6.13 h85f3911_1 conda-forge/linux-64 2 MB
jpeg 9b h024ee3a_2 pkgs/main/linux-64 214 KB
lame 3.100 h14c3975_1001 conda-forge/linux-64 498 KB
lcms2 2.12 h3be6417_0 pkgs/main/linux-64 312 KB
ld_impl_linux-64 2.35.1 hea4e1c9_2 conda-forge/linux-64 Cached
libblas 3.9.0 9_mkl conda-forge/linux-64 Cached
libcblas 3.9.0 9_mkl conda-forge/linux-64 Cached
libffi 3.3 h58526e2_2 conda-forge/linux-64 Cached
libgcc-ng 9.3.0 h2828fa1_19 conda-forge/linux-64 Cached
libgfortran-ng 9.3.0 hff62375_19 conda-forge/linux-64 Cached
libgfortran5 9.3.0 hff62375_19 conda-forge/linux-64 Cached
libiconv 1.16 h516909a_0 conda-forge/linux-64 Cached
liblapack 3.9.0 9_mkl conda-forge/linux-64 Cached
liblapacke 3.9.0 9_mkl conda-forge/linux-64 Cached
libpng 1.6.37 hed695b0_2 conda-forge/linux-64 359 KB
libstdcxx-ng 9.3.0 h6de172a_19 conda-forge/linux-64 Cached
libtiff 4.2.0 h3942068_0 pkgs/main/linux-64 463 KB
libuv 1.41.0 h7f98852_0 conda-forge/linux-64 Cached
libwebp-base 1.2.0 h7f98852_2 conda-forge/linux-64 Cached
llvm-openmp 11.1.0 h4bd325d_1 conda-forge/linux-64 Cached
lz4-c 1.9.3 h9c3ff4c_0 conda-forge/linux-64 Cached
mkl 2021.2.0 h726a3e6_389 conda-forge/linux-64 Cached
mkl-devel 2021.2.0 ha770c72_390 conda-forge/linux-64 Cached
mkl-include 2021.2.0 h726a3e6_389 conda-forge/linux-64 Cached
ncurses 6.2 h58526e2_4 conda-forge/linux-64 Cached
nettle 3.6 he412f7d_0 conda-forge/linux-64 6 MB
ninja 1.10.2 h4bd325d_0 conda-forge/linux-64 Cached
numpy 1.20.3 py39hdbf815f_1 conda-forge/linux-64 Cached
olefile 0.46 pyh9f0ad1d_1 conda-forge/noarch Cached
openh264 2.1.1 h780b84a_0 conda-forge/linux-64 2 MB
openssl 1.1.1k h7f98852_0 conda-forge/linux-64 Cached
pillow 8.2.0 py39he98fc37_0 pkgs/main/linux-64 638 KB
pip 21.1.2 pyhd8ed1ab_0 conda-forge/noarch Cached
python 3.9.4 hffdb5ce_0_cpython conda-forge/linux-64 Cached
python_abi 3.9 1_cp39 conda-forge/linux-64 Cached
pytorch 1.8.1 py3.9_cuda11.1_cudnn8.0.5_0 pytorch/linux-64 1 GB
readline 8.1 h46c0cb4_0 conda-forge/linux-64 Cached
setuptools 49.6.0 py39hf3d152e_3 conda-forge/linux-64 Cached
sqlite 3.35.5 h74cdb3f_0 conda-forge/linux-64 Cached
tbb 2021.2.0 h4bd325d_0 conda-forge/linux-64 Cached
tk 8.6.10 hed695b0_1 conda-forge/linux-64 Cached
torchaudio 0.8.1 py39 pytorch/linux-64 4 MB
torchvision 0.9.1 py39_cu111 pytorch/linux-64 8 MB
typing_extensions 3.10.0.0 pyha770c72_0 conda-forge/noarch Cached
tzdata 2021a he74cb21_0 conda-forge/noarch Cached
wheel 0.36.2 pyhd3deb0d_0 conda-forge/noarch Cached
xz 5.2.5 h516909a_1 conda-forge/linux-64 Cached
zlib 1.2.11 h516909a_1010 conda-forge/linux-64 Cached
zstd 1.4.9 ha95c52a_0 conda-forge/linux-64 431 KB
Summary:
Install: 61 packages
Total download: 3 GB
──────────────────────────────────────────────────────────────────────────────────────────────
Confirm changes: [Y/n]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment