mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.91k stars 356 forks source link

Install 11.8 torch will also install 11.7 cudatoolkit #2570

Closed universorum closed 1 year ago

universorum commented 1 year ago

Troubleshooting docs

How did you install Mamba?

Mambaforge

Search tried in issue tracker

torch cuda

Latest version of Mamba

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

run mamba install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia It will want to install cudatoolkit 11.7.0 hd8887f6_10 nvidia/linux-64

  Package                  Version  Build                         Channel                    Size
───────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────────────────

  + blas                     2.116  mkl                           conda-forge/linux-64       13kB
  + blas-devel               3.9.0  16_linux64_mkl                conda-forge/linux-64       13kB
  + brotli                   1.0.9  h166bdaf_8                    conda-forge/linux-64     Cached
  + brotli-bin               1.0.9  h166bdaf_8                    conda-forge/linux-64     Cached
  + certifi               2023.5.7  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + charset-normalizer       3.1.0  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + cuda-cudart            11.8.89  0                             nvidia/linux-64          Cached
  + cuda-cupti             11.8.87  0                             nvidia/linux-64          Cached
  + cuda-libraries          11.8.0  0                             nvidia/linux-64             2kB
  + cuda-nvrtc             11.8.89  0                             nvidia/linux-64          Cached
  + cuda-nvtx              11.8.86  0                             nvidia/linux-64          Cached
  + cuda-runtime            11.8.0  0                             nvidia/linux-64             1kB
  + cudatoolkit             11.7.0  hd8887f6_10                   nvidia/linux-64           872MB
  + ffmpeg                     4.3  hf484d3e_0                    pytorch/linux-64         Cached
  + filelock                3.12.0  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + freetype                2.12.1  hca18f0e_1                    conda-forge/linux-64     Cached
  + gmp                      6.2.1  h58526e2_0                    conda-forge/linux-64     Cached
  + gmpy2                    2.1.2  py310h3ec546c_1               conda-forge/linux-64     Cached
  + gnutls                  3.6.13  h85f3911_1                    conda-forge/linux-64     Cached
  + icu                       72.1  hcb278e6_0                    conda-forge/linux-64     Cached
  + idna                       3.4  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + jinja2                   3.1.2  pyhd8ed1ab_1                  conda-forge/noarch       Cached
  + jpeg                        9e  h0b41bf4_3                    conda-forge/linux-64     Cached
  + lame                     3.100  h166bdaf_1003                 conda-forge/linux-64     Cached
  + lcms2                     2.15  hfd0df8a_0                    conda-forge/linux-64     Cached
  + lerc                     4.0.0  h27087fc_0                    conda-forge/linux-64     Cached
  + libblas                  3.9.0  16_linux64_mkl                conda-forge/linux-64     Cached
  + libbrotlicommon          1.0.9  h166bdaf_8                    conda-forge/linux-64     Cached
  + libbrotlidec             1.0.9  h166bdaf_8                    conda-forge/linux-64     Cached
  + libbrotlienc             1.0.9  h166bdaf_8                    conda-forge/linux-64     Cached
  + libcblas                 3.9.0  16_linux64_mkl                conda-forge/linux-64       13kB
  + libcublas            11.11.3.6  0                             nvidia/linux-64          Cached
  + libcufft             10.9.0.58  0                             nvidia/linux-64          Cached
  + libcufile              1.6.1.9  0                             nvidia/linux-64          Cached
  + libcurand           10.3.2.106  0                             nvidia/linux-64          Cached
  + libcusolver          11.4.1.48  0                             nvidia/linux-64          Cached
  + libcusparse          11.7.5.86  0                             nvidia/linux-64          Cached
  + libdeflate                1.17  h0b41bf4_0                    conda-forge/linux-64     Cached
  + libgfortran-ng          13.1.0  h69a702a_0                    conda-forge/linux-64       23kB
  + libgfortran5            13.1.0  h15d22d2_0                    conda-forge/linux-64        1MB
  + libhwloc                 2.9.1  cuda112_haf10fcf_5            conda-forge/linux-64        3MB
  + libiconv                  1.17  h166bdaf_0                    conda-forge/linux-64     Cached
  + liblapack                3.9.0  16_linux64_mkl                conda-forge/linux-64       13kB
  + liblapacke               3.9.0  16_linux64_mkl                conda-forge/linux-64       13kB
  + libnpp               11.8.0.86  0                             nvidia/linux-64          Cached
  + libnvjpeg            11.9.0.86  0                             nvidia/linux-64          Cached
  + libpng                  1.6.39  h753d276_0                    conda-forge/linux-64     Cached
  + libstdcxx-ng            13.1.0  hfd8a6a1_0                    conda-forge/linux-64        4MB
  + libtiff                  4.5.0  h6adf6a1_2                    conda-forge/linux-64     Cached
  + libwebp-base             1.3.0  h0b41bf4_0                    conda-forge/linux-64     Cached
  + libxcb                    1.13  h7f98852_1004                 conda-forge/linux-64     Cached
  + libxml2                 2.11.4  h0d562d8_0                    conda-forge/linux-64      704kB
  + llvm-openmp             16.0.5  h4dfa4b3_0                    conda-forge/linux-64       43MB
  + markupsafe               2.1.3  py310h2372a71_0               conda-forge/linux-64       24kB
  + mkl                   2022.1.0  h84fe81f_915                  conda-forge/linux-64     Cached
  + mkl-devel             2022.1.0  ha770c72_916                  conda-forge/linux-64     Cached
  + mkl-include           2022.1.0  h84fe81f_915                  conda-forge/linux-64     Cached
  + mpc                      1.3.1  hfe3b2da_0                    conda-forge/linux-64     Cached
  + mpfr                     4.2.0  hb012696_0                    conda-forge/linux-64     Cached
  + mpmath                   1.3.0  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + nettle                     3.6  he412f7d_0                    conda-forge/linux-64     Cached
  + networkx                   3.1  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + numpy                   1.24.3  py310ha4c1d20_0               conda-forge/linux-64     Cached
  + openh264                 2.1.1  h780b84a_0                    conda-forge/linux-64     Cached
  + openjpeg                 2.5.0  hfec8fc6_2                    conda-forge/linux-64     Cached
  + pillow                   9.4.0  py310h023d228_1               conda-forge/linux-64     Cached
  + pthread-stubs              0.4  h36c2ea0_1001                 conda-forge/linux-64        6kB
  + pysocks                  1.7.1  pyha2e5f31_6                  conda-forge/noarch       Cached
  + python_abi                3.10  3_cp310                       conda-forge/linux-64        6kB
  + pytorch                  2.0.1  py3.10_cuda11.8_cudnn8.7.0_0  pytorch/linux-64         Cached
  + pytorch-cuda              11.8  h7e8668a_5                    pytorch/linux-64            4kB
  + pytorch-mutex              1.0  cuda                          pytorch/noarch              3kB
  + requests                2.31.0  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + sympy                     1.12  pypyh9d50eac_103              conda-forge/noarch       Cached
  + tbb                   2021.9.0  hf52228f_0                    conda-forge/linux-64     Cached
  + torchaudio               2.0.2  py310_cu118                   pytorch/linux-64         Cached
  + torchtriton              2.0.0  py310                         pytorch/linux-64         Cached
  + torchvision             0.15.2  py310_cu118                   pytorch/linux-64         Cached
  + urllib3                  2.0.2  pyhd8ed1ab_0                  conda-forge/noarch       Cached
  + xorg-libxau             1.0.11  hd590300_0                    conda-forge/linux-64     Cached
  + xorg-libxdmcp            1.1.3  h7f98852_0                    conda-forge/linux-64     Cached
  + zlib                    1.2.13  h166bdaf_4                    conda-forge/linux-64     Cached
  + zstd                     1.5.2  h3eb15da_6                    conda-forge/linux-64     Cached

  Change:
───────────────────────────────────────────────────────────────────────────────────────────────────

  - _openmp_mutex              4.5  2_gnu                         conda-forge
  + _openmp_mutex              4.5  2_kmp_llvm                    conda-forge/linux-64        6kB

  Summary:

  Install: 83 packages
  Change: 1 packages

  Total download: 924MB

This would not have happened a month ago.

run conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia will not install cudatoolkit

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _openmp_mutex-4.5          |       2_kmp_llvm           6 KB  conda-forge
    blas-2.116                 |              mkl          13 KB  conda-forge
    blas-devel-3.9.0           |   16_linux64_mkl          12 KB  conda-forge
    cuda-libraries-11.8.0      |                0           1 KB  nvidia
    cuda-runtime-11.8.0        |                0           1 KB  nvidia
    libcblas-3.9.0             |   16_linux64_mkl          12 KB  conda-forge
    libgfortran-ng-13.1.0      |       h69a702a_0          23 KB  conda-forge
    liblapack-3.9.0            |   16_linux64_mkl          12 KB  conda-forge
    liblapacke-3.9.0           |   16_linux64_mkl          12 KB  conda-forge
    pthread-stubs-0.4          |    h36c2ea0_1001           5 KB  conda-forge
    python_abi-3.10            |          3_cp310           6 KB  conda-forge
    pytorch-cuda-11.8          |       h7e8668a_5           3 KB  pytorch
    pytorch-mutex-1.0          |             cuda           3 KB  pytorch
    ------------------------------------------------------------
                                           Total:         111 KB

The following NEW packages will be INSTALLED:

  blas               conda-forge/linux-64::blas-2.116-mkl
  blas-devel         conda-forge/linux-64::blas-devel-3.9.0-16_linux64_mkl
  brotli             conda-forge/linux-64::brotli-1.0.9-h166bdaf_8
  brotli-bin         conda-forge/linux-64::brotli-bin-1.0.9-h166bdaf_8
  certifi            conda-forge/noarch::certifi-2023.5.7-pyhd8ed1ab_0
  charset-normalizer conda-forge/noarch::charset-normalizer-3.1.0-pyhd8ed1ab_0
  cuda-cudart        nvidia/linux-64::cuda-cudart-11.8.89-0
  cuda-cupti         nvidia/linux-64::cuda-cupti-11.8.87-0
  cuda-libraries     nvidia/linux-64::cuda-libraries-11.8.0-0
  cuda-nvrtc         nvidia/linux-64::cuda-nvrtc-11.8.89-0
  cuda-nvtx          nvidia/linux-64::cuda-nvtx-11.8.86-0
  cuda-runtime       nvidia/linux-64::cuda-runtime-11.8.0-0
  ffmpeg             pytorch/linux-64::ffmpeg-4.3-hf484d3e_0
  filelock           conda-forge/noarch::filelock-3.12.0-pyhd8ed1ab_0
  freetype           conda-forge/linux-64::freetype-2.12.1-hca18f0e_1
  gmp                conda-forge/linux-64::gmp-6.2.1-h58526e2_0
  gmpy2              conda-forge/linux-64::gmpy2-2.1.2-py310h3ec546c_1
  gnutls             conda-forge/linux-64::gnutls-3.6.13-h85f3911_1
  icu                conda-forge/linux-64::icu-72.1-hcb278e6_0
  idna               conda-forge/noarch::idna-3.4-pyhd8ed1ab_0
  jinja2             conda-forge/noarch::jinja2-3.1.2-pyhd8ed1ab_1
  jpeg               conda-forge/linux-64::jpeg-9e-h0b41bf4_3
  lame               conda-forge/linux-64::lame-3.100-h166bdaf_1003
  lcms2              conda-forge/linux-64::lcms2-2.15-hfd0df8a_0
  lerc               conda-forge/linux-64::lerc-4.0.0-h27087fc_0
  libblas            conda-forge/linux-64::libblas-3.9.0-16_linux64_mkl
  libbrotlicommon    conda-forge/linux-64::libbrotlicommon-1.0.9-h166bdaf_8
  libbrotlidec       conda-forge/linux-64::libbrotlidec-1.0.9-h166bdaf_8
  libbrotlienc       conda-forge/linux-64::libbrotlienc-1.0.9-h166bdaf_8
  libcblas           conda-forge/linux-64::libcblas-3.9.0-16_linux64_mkl
  libcublas          nvidia/linux-64::libcublas-11.11.3.6-0
  libcufft           nvidia/linux-64::libcufft-10.9.0.58-0
  libcufile          nvidia/linux-64::libcufile-1.6.1.9-0
  libcurand          nvidia/linux-64::libcurand-10.3.2.106-0
  libcusolver        nvidia/linux-64::libcusolver-11.4.1.48-0
  libcusparse        nvidia/linux-64::libcusparse-11.7.5.86-0
  libdeflate         conda-forge/linux-64::libdeflate-1.17-h0b41bf4_0
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-13.1.0-h69a702a_0
  libgfortran5       conda-forge/linux-64::libgfortran5-13.1.0-h15d22d2_0
  libhwloc           conda-forge/linux-64::libhwloc-2.9.1-cpu_h1633a84_5
  libiconv           conda-forge/linux-64::libiconv-1.17-h166bdaf_0
  liblapack          conda-forge/linux-64::liblapack-3.9.0-16_linux64_mkl
  liblapacke         conda-forge/linux-64::liblapacke-3.9.0-16_linux64_mkl
  libnpp             nvidia/linux-64::libnpp-11.8.0.86-0
  libnvjpeg          nvidia/linux-64::libnvjpeg-11.9.0.86-0
  libpng             conda-forge/linux-64::libpng-1.6.39-h753d276_0
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-13.1.0-hfd8a6a1_0
  libtiff            conda-forge/linux-64::libtiff-4.5.0-h6adf6a1_2
  libwebp-base       conda-forge/linux-64::libwebp-base-1.3.0-h0b41bf4_0
  libxcb             conda-forge/linux-64::libxcb-1.13-h7f98852_1004
  libxml2            conda-forge/linux-64::libxml2-2.11.4-h0d562d8_0
  llvm-openmp        conda-forge/linux-64::llvm-openmp-16.0.5-h4dfa4b3_0
  markupsafe         conda-forge/linux-64::markupsafe-2.1.3-py310h2372a71_0
  mkl                conda-forge/linux-64::mkl-2022.1.0-h84fe81f_915
  mkl-devel          conda-forge/linux-64::mkl-devel-2022.1.0-ha770c72_916
  mkl-include        conda-forge/linux-64::mkl-include-2022.1.0-h84fe81f_915
  mpc                conda-forge/linux-64::mpc-1.3.1-hfe3b2da_0
  mpfr               conda-forge/linux-64::mpfr-4.2.0-hb012696_0
  mpmath             conda-forge/noarch::mpmath-1.3.0-pyhd8ed1ab_0
  nettle             conda-forge/linux-64::nettle-3.6-he412f7d_0
  networkx           conda-forge/noarch::networkx-3.1-pyhd8ed1ab_0
  numpy              conda-forge/linux-64::numpy-1.24.3-py310ha4c1d20_0
  openh264           conda-forge/linux-64::openh264-2.1.1-h780b84a_0
  openjpeg           conda-forge/linux-64::openjpeg-2.5.0-hfec8fc6_2
  pillow             conda-forge/linux-64::pillow-9.4.0-py310h023d228_1
  pthread-stubs      conda-forge/linux-64::pthread-stubs-0.4-h36c2ea0_1001
  pysocks            conda-forge/noarch::pysocks-1.7.1-pyha2e5f31_6
  python_abi         conda-forge/linux-64::python_abi-3.10-3_cp310
  pytorch            pytorch/linux-64::pytorch-2.0.1-py3.10_cuda11.8_cudnn8.7.0_0
  pytorch-cuda       pytorch/linux-64::pytorch-cuda-11.8-h7e8668a_5
  pytorch-mutex      pytorch/noarch::pytorch-mutex-1.0-cuda
  requests           conda-forge/noarch::requests-2.31.0-pyhd8ed1ab_0
  sympy              conda-forge/noarch::sympy-1.12-pypyh9d50eac_103
  tbb                conda-forge/linux-64::tbb-2021.9.0-hf52228f_0
  torchaudio         pytorch/linux-64::torchaudio-2.0.2-py310_cu118
  torchtriton        pytorch/linux-64::torchtriton-2.0.0-py310
  torchvision        pytorch/linux-64::torchvision-0.15.2-py310_cu118
  urllib3            conda-forge/noarch::urllib3-2.0.2-pyhd8ed1ab_0
  xorg-libxau        conda-forge/linux-64::xorg-libxau-1.0.11-hd590300_0
  xorg-libxdmcp      conda-forge/linux-64::xorg-libxdmcp-1.1.3-h7f98852_0
  zlib               conda-forge/linux-64::zlib-1.2.13-h166bdaf_4
  zstd               conda-forge/linux-64::zstd-1.5.2-h3eb15da_6

The following packages will be DOWNGRADED:

  _openmp_mutex                                   4.5-2_gnu --> 4.5-2_kmp_llvm

mamba info / micromamba info

active environment : test
    active env location : /home/[username]/mambaforge/envs/test
            shell level : 1
       user config file : /home/[username]/.condarc
 populated config files : /home/[username]/mambaforge/.condarc
                          /home/[username]/.condarc
          conda version : 23.1.0
    conda-build version : not installed
         python version : 3.10.10.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.1=0
                          __glibc=2.35=0
                          __linux=5.15.90.1=0
                          __unix=0=0
       base environment : /home/[username]/mambaforge  (writable)
      conda av data dir : /home/[username]/mambaforge/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/[username]/mambaforge/pkgs
                          /home/[username]/.conda/pkgs
       envs directories : /home/[username]/mambaforge/envs
                          /home/[username]/.conda/envs
               platform : linux-64
             user-agent : conda/23.1.0 requests/2.28.2 CPython/3.10.10 Linux/5.15.90.1-microsoft-standard-WSL2 ubuntu/22.04.2 glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Logs

Looking for: ['pytorch', 'torchvision', 'torchaudio', 'pytorch-cuda=11.8']

info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/tk-8.6.12-h27826a3_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/wheel-0.40.0-pyhd8ed1ab_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/xz-5.2.6-h166bdaf_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/pip-23.1.2-pyhd8ed1ab_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/python-3.10.11-he550d4f_0_cpython.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/ld_impl_linux-64-2.40-h41732ed_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/_openmp_mutex-4.5-2_gnu.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/_libgcc_mutex-0.1-conda_forge.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/tzdata-2023c-h71feb2d_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/libgomp-13.1.0-he5830b7_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/readline-8.2-h8228510_1.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/libffi-3.4.2-h7f98852_5.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/openssl-3.1.1-hd590300_1.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/libgcc-ng-13.1.0-he5830b7_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/typing-extensions-4.6.3-hd8ed1ab_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/typing_extensions-4.6.3-pyha770c72_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/libuuid-2.38.1-h0b41bf4_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/libnsl-2.0.0-h7f98852_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/ca-certificates-2023.5.7-hbcca054_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/ncurses-6.4-hcb278e6_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/libzlib-1.2.13-h166bdaf_4.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/setuptools-67.7.2-pyhd8ed1ab_0.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/bzip2-1.0.8-h7f98852_4.json"
info     libmamba Loading single package record: "/home/[username]/mambaforge/envs/test/conda-meta/libsqlite-3.42.0-h2797004_0.json"
info     libmamba Reading cache files '/tmp/tmpvf1o3p_3.*' for repo index 'installed'
info     libmamba Searching index cache file for repo 'https://conda.anaconda.org/pytorch/linux-64/repodata.json'
info     libmamba No valid cache found
info     libmamba Searching index cache file for repo 'https://conda.anaconda.org/pytorch/noarch/repodata.json'
info     libmamba No valid cache found
info     libmamba Searching index cache file for repo 'https://conda.anaconda.org/nvidia/linux-64/repodata.json'
info     libmamba No valid cache found
info     libmamba Searching index cache file for repo 'https://conda.anaconda.org/nvidia/noarch/repodata.json'
info     libmamba No valid cache found
info     libmamba Searching index cache file for repo 'https://conda.anaconda.org/conda-forge/linux-64/repodata.json'
info     libmamba No valid cache found
info     libmamba Searching index cache file for repo 'https://conda.anaconda.org/conda-forge/noarch/repodata.json'
info     libmamba No valid cache found
info     libmamba Starting to download targets
info     libmamba Transfer finalized, status: 200 [https://conda.anaconda.org/pytorch/noarch/repodata.json] 10246 bytes
info     libmamba Transfer done for 'nvidia/noarch'
Channel: pytorch[linux-64,noarch], platform: linux-64, prio: 3 : 0
Cache path:  /home/[username]/mambaforge/pkgs/cache/ee0ed9e9.json
info     libmamba Reading cache files '/home/[username]/mambaforge/pkgs/cache/ee0ed9e9.json.*' for repo index 'https://conda.anaconda.org/pytorch/linux-64'
info     libmamba Writing SOLV file 'ee0ed9e9.solv'
Channel: pytorch[linux-64,noarch], platform: noarch, prio: 3 : 0
Cache path:  /home/[username]/mambaforge/pkgs/cache/edb1952f.json
info     libmamba Reading cache files '/home/[username]/mambaforge/pkgs/cache/edb1952f.json.*' for repo index 'https://conda.anaconda.org/pytorch/noarch'
info     libmamba Writing SOLV file 'edb1952f.solv'
Channel: nvidia[linux-64,noarch], platform: linux-64, prio: 2 : 0
Cache path:  /home/[username]/mambaforge/pkgs/cache/c9ddbd6b.json
info     libmamba Reading cache files '/home/[username]/mambaforge/pkgs/cache/c9ddbd6b.json.*' for repo index 'https://conda.anaconda.org/nvidia/linux-64'
info     libmamba Writing SOLV file 'c9ddbd6b.solv'
Channel: nvidia[linux-64,noarch], platform: noarch, prio: 2 : 0
Cache path:  /home/[username]/mambaforge/pkgs/cache/b121c3e7.json
info     libmamba Reading cache files '/home/[username]/mambaforge/pkgs/cache/b121c3e7.json.*' for repo index 'https://conda.anaconda.org/nvidia/noarch'
info     libmamba Writing SOLV file 'b121c3e7.solv'
Channel: conda-forge[linux-64,noarch], platform: linux-64, prio: 1 : 0
Cache path:  /home/[username]/mambaforge/pkgs/cache/497deca9.json
info     libmamba Reading cache files '/home/[username]/mambaforge/pkgs/cache/497deca9.json.*' for repo index 'https://conda.anaconda.org/conda-forge/linux-64'
info     libmamba Writing SOLV file '497deca9.solv'
Channel: conda-forge[linux-64,noarch], platform: noarch, prio: 1 : 0
Cache path:  /home/[username]/mambaforge/pkgs/cache/09cdf8bf.json
info     libmamba Reading cache files '/home/[username]/mambaforge/pkgs/cache/09cdf8bf.json.*' for repo index 'https://conda.anaconda.org/conda-forge/noarch'
info     libmamba Writing SOLV file '09cdf8bf.solv'
info     libmamba Parsing MatchSpec pytorch
info     libmamba Parsing MatchSpec pytorch
info     libmamba Adding job: pytorch
info     libmamba Parsing MatchSpec torchvision
info     libmamba Parsing MatchSpec torchvision
info     libmamba Adding job: torchvision
info     libmamba Parsing MatchSpec torchaudio
info     libmamba Parsing MatchSpec torchaudio
info     libmamba Adding job: torchaudio
info     libmamba Parsing MatchSpec pytorch-cuda=11.8
info     libmamba Parsing MatchSpec pytorch-cuda=11.8
info     libmamba Adding job: pytorch-cuda=11.8
info     libmamba Parsing MatchSpec ca-certificates
info     libmamba Parsing MatchSpec ca-certificates
info     libmamba Parsing MatchSpec openssl
info     libmamba Parsing MatchSpec openssl
info     libmamba Parsing MatchSpec python 3.10.*
info     libmamba Parsing MatchSpec pin-1
info     libmamba Parsing MatchSpec pin-1
info     libmamba Adding job: pin-1
info     libmamba Parsing MatchSpec pin-1
info     libmamba Adding job: pin-1

environment.yml

name: test
channels:
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=2_gnu
  - bzip2=1.0.8=h7f98852_4
  - ca-certificates=2023.5.7=hbcca054_0
  - ld_impl_linux-64=2.40=h41732ed_0
  - libffi=3.4.2=h7f98852_5
  - libgcc-ng=13.1.0=he5830b7_0
  - libgomp=13.1.0=he5830b7_0
  - libnsl=2.0.0=h7f98852_0
  - libsqlite=3.42.0=h2797004_0
  - libuuid=2.38.1=h0b41bf4_0
  - libzlib=1.2.13=h166bdaf_4
  - ncurses=6.4=hcb278e6_0
  - openssl=3.1.1=hd590300_1
  - pip=23.1.2=pyhd8ed1ab_0
  - python=3.10.11=he550d4f_0_cpython
  - readline=8.2=h8228510_1
  - setuptools=67.7.2=pyhd8ed1ab_0
  - tk=8.6.12=h27826a3_0
  - typing-extensions=4.6.3=hd8ed1ab_0
  - typing_extensions=4.6.3=pyha770c72_0
  - tzdata=2023c=h71feb2d_0
  - wheel=0.40.0=pyhd8ed1ab_0
  - xz=5.2.6=h166bdaf_0
prefix: /home/[username]/mambaforge/envs/test

~/.condarc

channels:
  - conda-forge
auto_activate_base: false
create_default_packages:
  - python=3.10
  - typing-extensions
satisic commented 1 year ago

same question as u

satisic commented 1 year ago

same question as u I use 'conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia' from you and not install cudatoolkit as well. I have a cuda11.7-environment in my desktop or mamba detect it? But probably not the same to anaconda when I use it to get a new virtualenv with conda install