yanzi_shi
(yanzi shi)
November 8, 2024, 3:25am
1
I am trying to install torch=1.8.1 and cudatoolkit=11.3 offline, but I cannot find this package on either website of http://download.pytorch.org/whl/torch_stable.html and https://download.pytorch.org/whl/torch/
Tony-Y
November 8, 2024, 4:27am
2
Conda packages differ from Python packages.
yanzi_shi
(yanzi shi)
November 8, 2024, 4:45am
3
yeah, I found this. So do you know if there are any ways to install pytorch=1.8.1 and cudatoolkit=11.3 offline? Thanks
yanzi_shi
(yanzi shi)
November 8, 2024, 4:54am
5
Thanks, but I checked that using Conda-Pack for offline installation is probably based on the fact that I have installed pytorch=1.8.1 and cudatoolkit=11.3 on other devices, but I don’t have them yet.
Tony-Y
November 8, 2024, 5:06am
6
Any way, it is hard to collect necessary Conda packages manually. So, you should first create a Conda environment having PyTorch on a machine online.
yanzi_shi
(yanzi shi)
November 8, 2024, 5:10am
7
Yeah, I have tried this, but there’s something wrong as follows:
Tony-Y
November 8, 2024, 5:32am
8
opened 03:40PM - 05 Sep 23 UTC
closed 06:56PM - 07 Sep 23 UTC
type::support
source::community
locked
pending::support
### Checklist
- [X] I added a descriptive title
- [X] I searched open report… s and couldn't find a duplicate
### What happened?
I am trying to install a number of packages, but I am unable to do so. I am getting the following error regardless of the package I am trying to install:
```
Collecting package metadata (current_repodata.json): | DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
- DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/osx-arm64/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/current_repodata.json HTTP/1.1" 304 0
\ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/osx-arm64/current_repodata.json HTTP/1.1" 304 0
done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): \ DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
/ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/osx-arm64/repodata.json HTTP/1.1" 304 0
- DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/osx-arm64/repodata.json HTTP/1.1" 304 0
\ WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
```
### Conda Info
```shell
active environment : None
user config file : /Users/nordin/.condarc
populated config files : /Users/nordin/.condarc
conda version : 23.7.2
conda-build version : 3.26.0
python version : 3.11.4.final.0
virtual packages : __archspec=1=arm64
__osx=13.5.1=0
__unix=0=0
base environment : /opt/homebrew/anaconda3 (writable)
conda av data dir : /opt/homebrew/anaconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/osx-arm64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-arm64
https://repo.anaconda.com/pkgs/r/noarch
https://conda.anaconda.org/bioconda/osx-arm64
https://conda.anaconda.org/bioconda/noarch
https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
package cache : /opt/homebrew/anaconda3/pkgs
/Users/nordin/.conda/pkgs
envs directories : /opt/homebrew/anaconda3/envs
/Users/nordin/.conda/envs
platform : osx-arm64
user-agent : conda/23.7.2 requests/2.31.0 CPython/3.11.4 Darwin/22.6.0 OSX/13.5.1
UID:GID : 501:20
netrc file : None
offline mode : False
```
### Conda Config
```shell
==> /Users/nordin/.condarc <==
channel_priority: strict
channels:
- defaults
- bioconda
- conda-forge
==> envvars <==
allow_softlinks: False
==> cmd_line <==
debug: False
json: False
```
### Conda list
```shell
# packages in environment at /opt/homebrew/anaconda3:
#
# Name Version Build Channel
_anaconda_depends 2023.07 py311_1 defaults
abseil-cpp 20211102.0 hc377ac9_0 defaults
aiobotocore 2.5.0 py311hca03da5_0 defaults
aiofiles 22.1.0 py311hca03da5_0 defaults
aiohttp 3.8.3 py311h80987f9_0 defaults
aioitertools 0.7.1 pyhd3eb1b0_0 defaults
aiosignal 1.2.0 pyhd3eb1b0_0 defaults
aiosqlite 0.18.0 py311hca03da5_0 defaults
alabaster 0.7.12 pyhd3eb1b0_0 defaults
anaconda-catalogs 0.2.0 py311hca03da5_0 defaults
anaconda-client 1.12.0 py311hca03da5_0 defaults
anaconda-navigator 2.4.2 py311hca03da5_0 defaults
anaconda-project 0.11.1 py311hca03da5_0 defaults
anyio 3.5.0 py311hca03da5_0 defaults
appdirs 1.4.4 pyhd3eb1b0_0 defaults
applaunchservices 0.3.0 py311hca03da5_0 defaults
appnope 0.1.2 py311hca03da5_1001 defaults
appscript 1.1.2 py311h80987f9_0 defaults
argon2-cffi 21.3.0 pyhd3eb1b0_0 defaults
argon2-cffi-bindings 21.2.0 py311h80987f9_0 defaults
arrow 1.2.3 py311hca03da5_1 defaults
arrow-cpp 11.0.0 py311h5aa4e29_0 defaults
astroid 2.14.2 py311hca03da5_0 defaults
astropy 5.1 py311ha0d4635_0 defaults
asttokens 2.0.5 pyhd3eb1b0_0 defaults
async-timeout 4.0.2 py311hca03da5_0 defaults
atomicwrites 1.4.0 py_0 defaults
attrs 22.1.0 py311hca03da5_0 defaults
automat 20.2.0 py_0 defaults
autopep8 1.6.0 pyhd3eb1b0_1 defaults
aws-c-common 0.6.8 h80987f9_1 defaults
aws-c-event-stream 0.1.6 h313beb8_6 defaults
aws-checksums 0.1.11 h80987f9_2 defaults
aws-sdk-cpp 1.8.185 h4a942e0_0 defaults
babel 2.11.0 py311hca03da5_0 defaults
backcall 0.2.0 pyhd3eb1b0_0 defaults
backports 1.1 pyhd3eb1b0_0 defaults
backports.functools_lru_cache 1.6.4 pyhd3eb1b0_0 defaults
backports.tempfile 1.0 pyhd3eb1b0_1 defaults
backports.weakref 1.0.post1 py_1 defaults
bcrypt 3.2.0 py311h80987f9_1 defaults
beautifulsoup4 4.12.2 py311hca03da5_0 defaults
binaryornot 0.4.4 pyhd3eb1b0_1 defaults
black 23.3.0 py311hca03da5_0 defaults
blas 1.0 openblas defaults
bleach 4.1.0 pyhd3eb1b0_0 defaults
blosc 1.21.3 h313beb8_0 defaults
bokeh 3.2.1 py311hb6e6a13_0 defaults
boltons 23.0.0 py311hca03da5_0 defaults
boost-cpp 1.73.0 h1a28f6b_12 defaults
botocore 1.29.76 py311hca03da5_0 defaults
bottleneck 1.3.5 py311ha0d4635_0 defaults
brotli 1.0.9 h1a28f6b_7 defaults
brotli-bin 1.0.9 h1a28f6b_7 defaults
brotlipy 0.7.0 py311h80987f9_1002 defaults
brunsli 0.1 hc377ac9_1 defaults
bzip2 1.0.8 h620ffc9_4 defaults
c-ares 1.19.0 h80987f9_0 defaults
c-blosc2 2.8.0 h313beb8_0 defaults
ca-certificates 2023.05.30 hca03da5_0 defaults
cctools 949.0.1 hc179dcd_25 defaults
cctools_osx-arm64 949.0.1 h332cad3_25 defaults
certifi 2023.7.22 py311hca03da5_0 defaults
cffi 1.15.1 py311h80987f9_3 defaults
cfitsio 3.470 h7f6438f_7 defaults
chardet 4.0.0 py311hca03da5_1003 defaults
charls 2.2.0 hc377ac9_0 defaults
charset-normalizer 2.0.4 pyhd3eb1b0_0 defaults
click 8.0.4 py311hca03da5_0 defaults
cloudpickle 2.2.1 py311hca03da5_0 defaults
clyent 1.2.2 py311hca03da5_1 defaults
colorama 0.4.6 py311hca03da5_0 defaults
colorcet 3.0.1 py311hca03da5_0 defaults
comm 0.1.2 py311hca03da5_0 defaults
conda 23.7.2 py311hca03da5_0 defaults
conda-build 3.26.0 py311hca03da5_0 defaults
conda-content-trust 0.1.1 pyhd3eb1b0_0 defaults
conda-index 0.2.3 py311hca03da5_0 defaults
conda-libmamba-solver 23.5.0 py311hca03da5_0 defaults
conda-pack 0.6.0 pyhd3eb1b0_0 defaults
conda-package-handling 2.2.0 py311hca03da5_0 defaults
conda-package-streaming 0.9.0 py311hca03da5_0 defaults
conda-repo-cli 1.0.41 py311hca03da5_0 defaults
conda-token 0.4.0 pyhd3eb1b0_0 defaults
conda-verify 3.4.2 py_1 defaults
constantly 15.1.0 py311hca03da5_0 defaults
contourpy 1.0.5 py311h48ca7d4_0 defaults
cookiecutter 1.7.3 pyhd3eb1b0_0 defaults
cryptography 41.0.2 py311h6e31b35_0 defaults
cssselect 1.1.0 pyhd3eb1b0_0 defaults
curl 8.1.1 h449679c_2 defaults
cycler 0.11.0 pyhd3eb1b0_0 defaults
cytoolz 0.12.0 py311h80987f9_0 defaults
dask 2023.6.0 py311hca03da5_0 defaults
dask-core 2023.6.0 py311hca03da5_0 defaults
datasets 2.12.0 py311hca03da5_0 defaults
datashader 0.15.1 py311hca03da5_0 defaults
datashape 0.5.4 py311hca03da5_1 defaults
debugpy 1.6.7 py311h313beb8_0 defaults
decorator 5.1.1 pyhd3eb1b0_0 defaults
defusedxml 0.7.1 pyhd3eb1b0_0 defaults
diff-match-patch 20200713 pyhd3eb1b0_0 defaults
dill 0.3.6 py311hca03da5_0 defaults
distributed 2023.6.0 py311hca03da5_0 defaults
docstring-to-markdown 0.11 py311hca03da5_0 defaults
docutils 0.18.1 py311hca03da5_3 defaults
entrypoints 0.4 py311hca03da5_0 defaults
et_xmlfile 1.1.0 py311hca03da5_0 defaults
executing 0.8.3 pyhd3eb1b0_0 defaults
filelock 3.9.0 py311hca03da5_0 defaults
flake8 6.0.0 py311hca03da5_0 defaults
flask 2.2.2 py311hca03da5_0 defaults
fmt 9.1.0 h48ca7d4_0 defaults
fonttools 4.25.0 pyhd3eb1b0_0 defaults
freetype 2.12.1 h1192e45_0 defaults
frozenlist 1.3.3 py311h80987f9_0 defaults
fsspec 2023.4.0 py311hca03da5_0 defaults
future 0.18.3 py311hca03da5_0 defaults
gensim 4.3.0 py311h6956b77_0 defaults
gettext 0.21.0 h13f89a0_1 defaults
gflags 2.2.2 hc377ac9_0 defaults
giflib 5.2.1 h80987f9_3 defaults
glib 2.69.1 h514c7bf_2 defaults
glob2 0.7 pyhd3eb1b0_0 defaults
glog 0.5.0 hc377ac9_0 defaults
gmp 6.2.1 hc377ac9_3 defaults
gmpy2 2.1.2 py311h40f64dc_0 defaults
greenlet 2.0.1 py311h313beb8_0 defaults
grpc-cpp 1.46.1 h8e4afa7_1 defaults
gst-plugins-base 1.14.1 h313beb8_1 defaults
gstreamer 1.14.1 h80987f9_1 defaults
h5py 3.7.0 py311h39e7838_0 defaults
hdf5 1.12.1 h160e8cb_2 defaults
heapdict 1.0.1 pyhd3eb1b0_0 defaults
holoviews 1.17.0 py311hca03da5_0 defaults
huggingface_hub 0.15.1 py311hca03da5_0 defaults
hvplot 0.8.4 py311hca03da5_0 defaults
hyperlink 21.0.0 pyhd3eb1b0_0 defaults
icu 68.1 hc377ac9_0 defaults
idna 3.4 py311hca03da5_0 defaults
imagecodecs 2021.8.26 py311haa897ea_2 defaults
imageio 2.31.1 py311hca03da5_0 defaults
imagesize 1.4.1 py311hca03da5_0 defaults
imbalanced-learn 0.10.1 py311hca03da5_1 defaults
importlib-metadata 6.0.0 py311hca03da5_0 defaults
importlib_metadata 6.0.0 hd3eb1b0_0 defaults
incremental 21.3.0 pyhd3eb1b0_0 defaults
inflection 0.5.1 py311hca03da5_0 defaults
iniconfig 1.1.1 pyhd3eb1b0_0 defaults
intake 0.6.8 py311hca03da5_0 defaults
intervaltree 3.1.0 pyhd3eb1b0_0 defaults
ipykernel 6.19.2 py311h37496c9_0 defaults
ipython 8.12.0 py311hca03da5_0 defaults
ipython_genutils 0.2.0 pyhd3eb1b0_1 defaults
ipywidgets 8.0.4 py311hca03da5_0 defaults
isort 5.9.3 pyhd3eb1b0_0 defaults
itemadapter 0.3.0 pyhd3eb1b0_0 defaults
itemloaders 1.0.4 pyhd3eb1b0_1 defaults
itsdangerous 2.0.1 pyhd3eb1b0_0 defaults
jaraco.classes 3.2.1 pyhd3eb1b0_0 defaults
jedi 0.18.1 py311hca03da5_1 defaults
jellyfish 0.9.0 py311h80987f9_0 defaults
jinja2 3.1.2 py311hca03da5_0 defaults
jinja2-time 0.2.0 pyhd3eb1b0_3 defaults
jmespath 0.10.0 pyhd3eb1b0_0 defaults
joblib 1.2.0 py311hca03da5_0 defaults
jpeg 9e h80987f9_1 defaults
jq 1.6 h1a28f6b_1 defaults
json5 0.9.6 pyhd3eb1b0_0 defaults
jsonpatch 1.32 pyhd3eb1b0_0 defaults
jsonpointer 2.1 pyhd3eb1b0_0 defaults
jsonschema 4.17.3 py311hca03da5_0 defaults
jupyter 1.0.0 py311hca03da5_8 defaults
jupyter_client 7.4.9 py311hca03da5_0 defaults
jupyter_console 6.6.3 py311hca03da5_0 defaults
jupyter_core 5.3.0 py311hca03da5_0 defaults
jupyter_events 0.6.3 py311hca03da5_0 defaults
jupyter_server 1.23.4 py311hca03da5_0 defaults
jupyter_server_fileid 0.9.0 py311hca03da5_0 defaults
jupyter_server_ydoc 0.8.0 py311hca03da5_1 defaults
jupyter_ydoc 0.2.4 py311hca03da5_0 defaults
jupyterlab 3.6.3 py311hca03da5_0 defaults
jupyterlab_pygments 0.1.2 py_0 defaults
jupyterlab_server 2.22.0 py311hca03da5_0 defaults
jupyterlab_widgets 3.0.5 py311hca03da5_0 defaults
jxrlib 1.1 h1a28f6b_2 defaults
keyring 23.13.1 py311hca03da5_0 defaults
kiwisolver 1.4.4 py311h313beb8_0 defaults
krb5 1.20.1 h8380606_1 defaults
lazy-object-proxy 1.6.0 py311h80987f9_0 defaults
lazy_loader 0.2 py311hca03da5_0 defaults
lcms2 2.12 hba8e193_0 defaults
ld64 530 hb29bf3f_25 defaults
ld64_osx-arm64 530 h001ce53_25 defaults
ldid 2.1.5 h20b2a84_3 defaults
lerc 3.0 hc377ac9_0 defaults
libaec 1.0.4 hc377ac9_1 defaults
libarchive 3.6.2 h09f0540_1 defaults
libboost 1.73.0 h49e8a49_12 defaults
libbrotlicommon 1.0.9 h1a28f6b_7 defaults
libbrotlidec 1.0.9 h1a28f6b_7 defaults
libbrotlienc 1.0.9 h1a28f6b_7 defaults
libclang 12.0.0 default_hc321e17_4 defaults
libcurl 8.1.1 h0f1d93c_2 defaults
libcxx 14.0.6 h848a8c0_0 defaults
libdeflate 1.17 h80987f9_0 defaults
libedit 3.1.20221030 h80987f9_0 defaults
libev 4.33 h1a28f6b_1 defaults
libevent 2.1.12 hf27765b_0 defaults
libffi 3.4.4 hca03da5_0 defaults
libgfortran 5.0.0 11_3_0_hca03da5_28 defaults
libgfortran5 11.3.0 h009349e_28 defaults
libiconv 1.16 h1a28f6b_2 defaults
liblief 0.12.3 h313beb8_0 defaults
libllvm12 12.0.0 h12f7ac0_4 defaults
libllvm14 14.0.6 h7ec7a93_3 defaults
libmamba 1.4.1 h48ca7d4_0 defaults
libmambapy 1.4.1 py311h48ca7d4_0 defaults
libnghttp2 1.52.0 h10c0552_1 defaults
libopenblas 0.3.21 h269037a_0 defaults
libpng 1.6.39 h80987f9_0 defaults
libpq 12.15 h449679c_1 defaults
libprotobuf 3.20.3 h514c7bf_0 defaults
libsodium 1.0.18 h1a28f6b_0 defaults
libsolv 0.7.22 h98b2900_0 defaults
libspatialindex 1.9.3 hc377ac9_0 defaults
libssh2 1.10.0 h449679c_2 defaults
libthrift 0.13.0 hd358383_6 defaults
libtiff 4.5.0 h313beb8_2 defaults
libuv 1.44.2 h80987f9_0 defaults
libwebp 1.2.4 ha3663a8_1 defaults
libwebp-base 1.2.4 h80987f9_1 defaults
libxml2 2.10.3 h372ba2a_0 defaults
libxslt 1.1.37 habca612_0 defaults
libzopfli 1.0.3 hc377ac9_0 defaults
linkify-it-py 2.0.0 py311hca03da5_0 defaults
llvm-openmp 14.0.6 hc6e5704_0 defaults
llvmlite 0.40.0 py311h514c7bf_0 defaults
locket 1.0.0 py311hca03da5_0 defaults
lxml 4.9.2 py311h80987f9_0 defaults
lz4 4.3.2 py311h80987f9_0 defaults
lz4-c 1.9.4 h313beb8_0 defaults
lzo 2.10 h1a28f6b_2 defaults
markdown 3.4.1 py311hca03da5_0 defaults
markdown-it-py 2.2.0 py311hca03da5_1 defaults
markupsafe 2.1.1 py311h80987f9_0 defaults
matplotlib 3.7.1 py311hca03da5_1 defaults
matplotlib-base 3.7.1 py311h7aedaa7_1 defaults
matplotlib-inline 0.1.6 py311hca03da5_0 defaults
mccabe 0.7.0 pyhd3eb1b0_0 defaults
mdit-py-plugins 0.3.0 py311hca03da5_0 defaults
mdurl 0.1.0 py311hca03da5_0 defaults
mistune 0.8.4 py311h80987f9_1000 defaults
more-itertools 8.12.0 pyhd3eb1b0_0 defaults
mpc 1.1.0 h8c48613_1 defaults
mpfr 4.0.2 h695f6f0_1 defaults
mpmath 1.3.0 py311hca03da5_0 defaults
msgpack-python 1.0.3 py311h48ca7d4_0 defaults
multidict 6.0.2 py311h80987f9_0 defaults
multipledispatch 0.6.0 py311hca03da5_0 defaults
multiprocess 0.70.14 py311hca03da5_0 defaults
munkres 1.1.4 py_0 defaults
mypy_extensions 0.4.3 py311hca03da5_1 defaults
navigator-updater 0.4.0 py311hca03da5_0 defaults
nbclassic 0.5.5 py311hca03da5_0 defaults
nbclient 0.5.13 py311hca03da5_0 defaults
nbconvert 6.5.4 py311hca03da5_0 defaults
nbformat 5.7.0 py311hca03da5_0 defaults
ncurses 6.4 h313beb8_0 defaults
nest-asyncio 1.5.6 py311hca03da5_0 defaults
networkx 3.1 py311hca03da5_0 defaults
ninja 1.10.2 hca03da5_5 defaults
ninja-base 1.10.2 h525c30c_5 defaults
nltk 3.8.1 py311hca03da5_0 defaults
notebook 6.5.4 py311hca03da5_1 defaults
notebook-shim 0.2.2 py311hca03da5_0 defaults
nspr 4.35 h313beb8_0 defaults
nss 3.89.1 h313beb8_0 defaults
numba 0.57.0 py311h7aedaa7_0 defaults
numexpr 2.8.4 py311h6dc990b_1 defaults
numpy 1.24.3 py311hb57d4eb_0 defaults
numpy-base 1.24.3 py311h1d85a46_0 defaults
numpydoc 1.5.0 py311hca03da5_0 defaults
oniguruma 6.9.7.1 h1a28f6b_0 defaults
openjpeg 2.3.0 h7a6adac_2 defaults
openpyxl 3.0.10 py311h80987f9_0 defaults
openssl 1.1.1u h1a28f6b_0 defaults
orc 1.7.4 hdca1487_1 defaults
packaging 23.0 py311hca03da5_0 defaults
pandas 1.5.3 py311h6956b77_0 defaults
pandocfilters 1.5.0 pyhd3eb1b0_0 defaults
panel 1.2.1 py311hca03da5_0 defaults
param 1.13.0 py311hca03da5_0 defaults
parsel 1.6.0 py311hca03da5_0 defaults
parso 0.8.3 pyhd3eb1b0_0 defaults
partd 1.2.0 pyhd3eb1b0_1 defaults
patch 2.7.6 h1a28f6b_1001 defaults
pathlib 1.0.1 pyhd3eb1b0_1 defaults
pathspec 0.10.3 py311hca03da5_0 defaults
patsy 0.5.3 py311hca03da5_0 defaults
pcre 8.45 hc377ac9_0 defaults
pcre2 10.37 h37e8eca_1 defaults
pep8 1.7.1 py311hca03da5_1 defaults
pexpect 4.8.0 pyhd3eb1b0_3 defaults
pickleshare 0.7.5 pyhd3eb1b0_1003 defaults
pillow 9.4.0 py311h313beb8_0 defaults
pip 23.2.1 py311hca03da5_0 defaults
pkginfo 1.9.6 py311hca03da5_0 defaults
platformdirs 2.5.2 py311hca03da5_0 defaults
plotly 5.9.0 py311hca03da5_0 defaults
pluggy 1.0.0 py311hca03da5_1 defaults
ply 3.11 py311hca03da5_0 defaults
pooch 1.4.0 pyhd3eb1b0_0 defaults
poyo 0.5.0 pyhd3eb1b0_0 defaults
prometheus_client 0.14.1 py311hca03da5_0 defaults
prompt-toolkit 3.0.36 py311hca03da5_0 defaults
prompt_toolkit 3.0.36 hd3eb1b0_0 defaults
protego 0.1.16 py_0 defaults
psutil 5.9.0 py311h80987f9_0 defaults
ptyprocess 0.7.0 pyhd3eb1b0_2 defaults
pure_eval 0.2.2 pyhd3eb1b0_0 defaults
py-cpuinfo 8.0.0 pyhd3eb1b0_1 defaults
py-lief 0.12.3 py311h313beb8_0 defaults
pyarrow 11.0.0 py311h7575258_0 defaults
pyasn1 0.4.8 pyhd3eb1b0_0 defaults
pyasn1-modules 0.2.8 py_0 defaults
pybind11-abi 4 hd3eb1b0_1 defaults
pycodestyle 2.10.0 py311hca03da5_0 defaults
pycosat 0.6.4 py311h80987f9_0 defaults
pycparser 2.21 pyhd3eb1b0_0 defaults
pyct 0.5.0 py311hca03da5_0 defaults
pycurl 7.45.2 py311h449679c_0 defaults
pydispatcher 2.0.5 py311hca03da5_2 defaults
pydocstyle 6.3.0 py311hca03da5_0 defaults
pyerfa 2.0.0 py311h80987f9_0 defaults
pyflakes 3.0.1 py311hca03da5_0 defaults
pygments 2.15.1 py311hca03da5_1 defaults
pyjwt 2.4.0 py311hca03da5_0 defaults
pylint 2.16.2 py311hca03da5_0 defaults
pylint-venv 2.3.0 py311hca03da5_0 defaults
pyls-spyder 0.4.0 pyhd3eb1b0_0 defaults
pyobjc-core 9.0 py311h3eb5a62_1 defaults
pyobjc-framework-cocoa 9.0 py311hb094c41_0 defaults
pyobjc-framework-coreservices 9.0 py311hdd8dd1f_0 defaults
pyobjc-framework-fsevents 9.0 py311hca03da5_0 defaults
pyodbc 4.0.34 py311h313beb8_0 defaults
pyopenssl 23.2.0 py311hca03da5_0 defaults
pyparsing 3.0.9 py311hca03da5_0 defaults
pyqt 5.15.7 py311h313beb8_0 defaults
pyqt5-sip 12.11.0 py311h313beb8_0 defaults
pyqtwebengine 5.15.7 py311h313beb8_0 defaults
pyrsistent 0.18.0 py311h80987f9_0 defaults
pysocks 1.7.1 py311hca03da5_0 defaults
pytables 3.8.0 py311he239255_2 defaults
pytest 7.4.0 py311hca03da5_0 defaults
python 3.11.4 hc0d8a6c_0 defaults
python-dateutil 2.8.2 pyhd3eb1b0_0 defaults
python-fastjsonschema 2.16.2 py311hca03da5_0 defaults
python-json-logger 2.0.7 py311hca03da5_0 defaults
python-libarchive-c 2.9 pyhd3eb1b0_1 defaults
python-lmdb 1.4.1 py311h313beb8_0 defaults
python-lsp-black 1.2.1 py311hca03da5_0 defaults
python-lsp-jsonrpc 1.0.0 pyhd3eb1b0_0 defaults
python-lsp-server 1.7.2 py311hca03da5_0 defaults
python-slugify 5.0.2 pyhd3eb1b0_0 defaults
python-snappy 0.6.1 py311h313beb8_0 defaults
python-xxhash 2.0.2 py311h80987f9_1 defaults
python.app 3 py311h80987f9_0 defaults
pytoolconfig 1.2.5 py311hca03da5_1 defaults
pytorch 2.0.1 gpu_mps_py311h0436fea_0 defaults
pytz 2022.7 py311hca03da5_0 defaults
pyviz_comms 2.3.0 py311hca03da5_0 defaults
pywavelets 1.4.1 py311h80987f9_0 defaults
pyyaml 6.0 py311h80987f9_1 defaults
pyzmq 23.2.0 py311h313beb8_0 defaults
qdarkstyle 3.0.2 pyhd3eb1b0_0 defaults
qstylizer 0.2.2 py311hca03da5_0 defaults
qt-main 5.15.2 ha2d02b5_7 defaults
qt-webengine 5.15.9 h2903aaf_4 defaults
qtawesome 1.2.2 py311hca03da5_0 defaults
qtconsole 5.4.2 py311hca03da5_0 defaults
qtpy 2.2.0 py311hca03da5_0 defaults
qtwebkit 5.212 h19f419d_5 defaults
queuelib 1.5.0 py311hca03da5_0 defaults
re2 2022.04.01 hc377ac9_0 defaults
readline 8.2 h1a28f6b_0 defaults
regex 2022.7.9 py311h80987f9_0 defaults
reproc 14.2.4 hc377ac9_1 defaults
reproc-cpp 14.2.4 hc377ac9_1 defaults
requests 2.31.0 py311hca03da5_0 defaults
requests-file 1.5.1 pyhd3eb1b0_0 defaults
requests-toolbelt 1.0.0 py311hca03da5_0 defaults
responses 0.13.3 pyhd3eb1b0_0 defaults
rfc3339-validator 0.1.4 py311hca03da5_0 defaults
rfc3986-validator 0.1.1 py311hca03da5_0 defaults
rope 1.7.0 py311hca03da5_0 defaults
rtree 1.0.1 py311hca03da5_0 defaults
ruamel.yaml 0.17.21 py311h80987f9_0 defaults
ruamel_yaml 0.17.21 py311h80987f9_0 defaults
s3fs 2023.4.0 py311hca03da5_0 defaults
sacremoses 0.0.43 pyhd3eb1b0_0 defaults
scikit-image 0.20.0 py311h313beb8_0 defaults
scikit-learn 1.3.0 py311h7aedaa7_0 defaults
scipy 1.10.1 py311hc76d9b0_1 defaults
scrapy 2.8.0 py311hca03da5_0 defaults
seaborn 0.12.2 py311hca03da5_0 defaults
send2trash 1.8.0 pyhd3eb1b0_1 defaults
service_identity 18.1.0 pyhd3eb1b0_1 defaults
setuptools 68.0.0 py311hca03da5_0 defaults
sip 6.6.2 py311h313beb8_0 defaults
six 1.16.0 pyhd3eb1b0_1 defaults
sleef 3.5.1 h80987f9_2 defaults
smart_open 5.2.1 py311hca03da5_0 defaults
snappy 1.1.9 hc377ac9_0 defaults
sniffio 1.2.0 py311hca03da5_1 defaults
snowballstemmer 2.2.0 pyhd3eb1b0_0 defaults
sortedcontainers 2.4.0 pyhd3eb1b0_0 defaults
soupsieve 2.4 py311hca03da5_0 defaults
sphinx 5.0.2 py311hca03da5_0 defaults
sphinxcontrib-applehelp 1.0.2 pyhd3eb1b0_0 defaults
sphinxcontrib-devhelp 1.0.2 pyhd3eb1b0_0 defaults
sphinxcontrib-htmlhelp 2.0.0 pyhd3eb1b0_0 defaults
sphinxcontrib-jsmath 1.0.1 pyhd3eb1b0_0 defaults
sphinxcontrib-qthelp 1.0.3 pyhd3eb1b0_0 defaults
sphinxcontrib-serializinghtml 1.1.5 pyhd3eb1b0_0 defaults
spyder 5.4.3 py311hca03da5_1 defaults
spyder-kernels 2.4.3 py311hca03da5_0 defaults
sqlalchemy 1.4.39 py311h80987f9_0 defaults
sqlite 3.41.2 h80987f9_0 defaults
stack_data 0.2.0 pyhd3eb1b0_0 defaults
statsmodels 0.14.0 py311hb9f6ed7_0 defaults
sympy 1.11.1 py311hca03da5_0 defaults
tabulate 0.8.10 py311hca03da5_0 defaults
tapi 1100.0.11 h8754e6a_1 defaults
tbb 2021.8.0 h48ca7d4_0 defaults
tbb4py 2021.8.0 py311h48ca7d4_0 defaults
tblib 1.7.0 pyhd3eb1b0_0 defaults
tenacity 8.2.2 py311hca03da5_0 defaults
terminado 0.17.1 py311hca03da5_0 defaults
text-unidecode 1.3 pyhd3eb1b0_0 defaults
textdistance 4.2.1 pyhd3eb1b0_0 defaults
threadpoolctl 2.2.0 pyh0d69192_0 defaults
three-merge 0.1.1 pyhd3eb1b0_0 defaults
tifffile 2021.7.2 pyhd3eb1b0_2 defaults
tinycss2 1.2.1 py311hca03da5_0 defaults
tk 8.6.12 hb8d0fd4_0 defaults
tldextract 3.2.0 pyhd3eb1b0_0 defaults
tokenizers 0.13.2 py311h3dd52b7_1 defaults
toml 0.10.2 pyhd3eb1b0_0 defaults
tomlkit 0.11.1 py311hca03da5_0 defaults
toolz 0.12.0 py311hca03da5_0 defaults
tornado 6.3.2 py311h80987f9_0 defaults
tqdm 4.65.0 py311hb6e6a13_0 defaults
traitlets 5.7.1 py311hca03da5_0 defaults
transformers 4.29.2 py311hca03da5_0 defaults
twisted 22.10.0 py311h80987f9_0 defaults
typing-extensions 4.7.1 py311hca03da5_0 defaults
typing_extensions 4.7.1 py311hca03da5_0 defaults
tzdata 2023c h04d1e81_0 defaults
uc-micro-py 1.0.1 py311hca03da5_0 defaults
ujson 5.4.0 py311h313beb8_0 defaults
unidecode 1.2.0 pyhd3eb1b0_0 defaults
unixodbc 2.3.11 h1a28f6b_0 defaults
urllib3 1.26.16 py311hca03da5_0 defaults
utf8proc 2.6.1 h1a28f6b_0 defaults
w3lib 1.21.0 pyhd3eb1b0_0 defaults
watchdog 2.1.6 py311h80987f9_0 defaults
wcwidth 0.2.5 pyhd3eb1b0_0 defaults
webencodings 0.5.1 py311hca03da5_1 defaults
websocket-client 0.58.0 py311hca03da5_4 defaults
werkzeug 2.2.3 py311hca03da5_0 defaults
whatthepatch 1.0.2 py311hca03da5_0 defaults
wheel 0.38.4 py311hca03da5_0 defaults
widgetsnbextension 4.0.5 py311hca03da5_0 defaults
wrapt 1.14.1 py311h80987f9_0 defaults
wurlitzer 3.0.2 py311hca03da5_0 defaults
xarray 2023.6.0 py311hca03da5_0 defaults
xlwings 0.29.1 py311hca03da5_0 defaults
xxhash 0.8.0 h1a28f6b_3 defaults
xyzservices 2022.9.0 py311hca03da5_1 defaults
xz 5.4.2 h80987f9_0 defaults
y-py 0.5.9 py311ha6e5c4f_0 defaults
yaml 0.2.5 h1a28f6b_0 defaults
yaml-cpp 0.7.0 hc377ac9_1 defaults
yapf 0.31.0 pyhd3eb1b0_0 defaults
yarl 1.8.1 py311h80987f9_0 defaults
ypy-websocket 0.8.2 py311hca03da5_0 defaults
zeromq 4.3.4 hc377ac9_0 defaults
zfp 0.5.5 hc377ac9_6 defaults
zict 2.2.0 py311hca03da5_0 defaults
zipp 3.11.0 py311hca03da5_0 defaults
zlib 1.2.13 h5a0b063_0 defaults
zlib-ng 2.0.7 h80987f9_0 defaults
zope 1.0 py311hca03da5_1 defaults
zope.interface 5.4.0 py311h80987f9_0 defaults
zstandard 0.19.0 py311h80987f9_0 defaults
zstd 1.5.5 hd90d995_0 defaults
```
### Additional Context
_No response_
conda install -n base conda=23.7.3 conda-build=3.26.1
It might solve your issue.
yanzi_shi
(yanzi shi)
November 8, 2024, 5:46am
9
Thanks. I just upgraded Conda, and it seems to work now.
conda update conda
yanzi_shi
(yanzi shi)
November 8, 2024, 6:07am
10
PyTorch installed using the following command seems to be an version of CPU rather than GPU, do you have any ideas on this
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.3 -c pytorch -c conda-forge
Tony-Y
November 8, 2024, 9:59am
11
I could not find a GPU package for PyTorch 1.8.1 and 1.9.1 by using conda:
$ conda create -n pytorch-1.8.1 python==3.7 pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.3 -c pytorch -c conda-forge
pytorch-1.8.1 | py3.7_cpu_0 65.9 MB pytorch
pytorch-cpu-1.1.0 | py3.7_cpu_0 53.6 MB pytorch
$ conda create -n pytorch-1.9.1 python==3.7 pytorch==1.9.1 torchvision==0.10.1 torchaudio==0.9.1 cudatoolkit=11.3 -c pytorch -c conda-forge
pytorch-1.9.1 | py3.7_cpu_0 73.0 MB pytorch
pytorch-cpu-1.1.0 | py3.7_cpu_0 53.6 MB pytorch
$ conda create -n pytorch-1.10.1 python==3.7 pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
cudatoolkit-11.3.1 | hb98b00a_13 603.5 MB conda-forge
pytorch-1.10.1 |py3.7_cuda11.3_cudnn8.2.0_0 1.21 GB pytorch
$ conda create -n pytorch-1.11.0 python==3.7 pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch
cudatoolkit-11.3.1 | ha36c431_9 815.2 MB nvidia
pytorch-1.11.0 |py3.7_cuda11.3_cudnn8.2.0_0 1.02 GB pytorch
$ conda create -n pytorch-1.12.1 python==3.7 pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch
cudatoolkit-11.3.1 | ha36c431_9 815.2 MB nvidia
pytorch-1.12.1 |py3.7_cuda11.3_cudnn8.3.2_0 1.19 GB pytorch
Tony-Y
November 8, 2024, 2:19pm
12
@ptrblck Some Conda packages are no longer available at conda-forge
.
For example,
# CUDA 11.3
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.3 -c pytorch -c conda-forge
Do you know people that can edit these installation recipes of the PyTorch website?
ptrblck
November 8, 2024, 2:24pm
13
Which package is missing from conda-forge
?
Tony-Y
November 8, 2024, 2:34pm
14
ptrblck
November 8, 2024, 2:51pm
15
We don’t maintain the conda-forge
PyTorch binary so you might want to reach out to conda-forge
directly. The -c conda-forge
usage was most likely downloading a dependency which was missing in the main channel at this time, but I don’t know which one it was.
Tony-Y
November 9, 2024, 4:50am
16
Why has the installation guide of the PyTorch website been not updated?
There have already been similar reports on this forum:
I follow the official guide to install pytorch 1.9.0 + cuda11.3
conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge
after installment finished, it seems cpu version is installed,not GPU
(py190) hitbuyi@hitbuyi-Dell-G15-5511:~/tmp/$ conda list
packages in environment at /home/hitbuyi/.conda/envs/py190:
Name Version Build Channel
cpuonly 1.0 0 pytorc…
Hi,
I have followed the installation instructions from the website: https://pytorch.org/get-started/previous-versions/ to install PyTorch v1.9.0 with CUDAtoolkit of v11.3.0 on Windows11. However, when running the code, it always shown that ‘Torch is not compatible with CUDA enabled’. I have already installed CUDA v11.3 on Windows11 as well. My device is: Nvidia RTX 3090Ti, Windows11 OS.
Can I know if PyTorch v1.9.0 is compatible with CUDA 11.3? How can I solve this issue?
Thank you!
I need pytorch 1.9.0 and I also want to use my 3080 ti. I’m using anaconda in a new eniviroment, I installed the cuda toolkit, installed cuda 11.3 (didn’t changed the nvidia driver with cuda 12.1), tried serveral versions of pytorch 1.9.0 but I always get cuda version none if I run “torch.version.cuda”. Any idea how to get it solved? Thx for any help, have a nice day.
When I use conda install pytorch=1.9.1 torch vision=0.10.1 torch studio=0.9.1 cudatoolkit=11.3-c pytorch - c conda forge to install the GPU version of pytorch, I can only get one CPU version. Can someone tell me the reason
ptrblck
November 9, 2024, 2:49pm
17
Contributions are always welcome if you have suggestions how to improve the docs or installation guide.
The majority of the users won’t try to install binaries which were released over 3.5 years ago.
In case you are interested in using these and see any dependency issue or installation error, feel free to suggest a fix in a PR or create an issue.
Tony-Y
November 10, 2024, 2:53am
18
The installation guide should be revised as follows:
# CUDA 11.1
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.1 -c pytorch -c conda-forge
because there are Conda packages for CUDA 11.1 instead of CUDA 11.3.
# Name Version Build Channel
pytorch 1.8.1 py3.6_cpu_0 pytorch
pytorch 1.8.1 py3.6_cuda10.1_cudnn7.6.3_0 pytorch
pytorch 1.8.1 py3.6_cuda10.2_cudnn7.6.5_0 pytorch
pytorch 1.8.1 py3.6_cuda11.1_cudnn8.0.5_0 pytorch
pytorch 1.8.1 py3.7_cpu_0 pytorch
pytorch 1.8.1 py3.7_cuda10.1_cudnn7.6.3_0 pytorch
pytorch 1.8.1 py3.7_cuda10.2_cudnn7.6.5_0 pytorch
pytorch 1.8.1 py3.7_cuda11.1_cudnn8.0.5_0 pytorch
pytorch 1.8.1 py3.8_cpu_0 pytorch
pytorch 1.8.1 py3.8_cuda10.1_cudnn7.6.3_0 pytorch
pytorch 1.8.1 py3.8_cuda10.2_cudnn7.6.5_0 pytorch
pytorch 1.8.1 py3.8_cuda11.1_cudnn8.0.5_0 pytorch
pytorch 1.8.1 py3.9_cpu_0 pytorch
pytorch 1.8.1 py3.9_cuda10.1_cudnn7.6.3_0 pytorch
pytorch 1.8.1 py3.9_cuda10.2_cudnn7.6.5_0 pytorch
pytorch 1.8.1 py3.9_cuda11.1_cudnn8.0.5_0 pytorch
I might create a GitHub issue when I have time.
Tony-Y
November 10, 2024, 4:23pm
19
I found an issue for pytorch 1.8.1 and 1.9.1:
opened 08:28PM - 04 Feb 22 UTC
## 📚 Documentation
The "previous versions" installation guide indicates conda… installs (for linux & windows) of torch 1.8.1 should use `cudatoolkit=11.3`; this should be `cudatoolkit=11.1`. The conda website does not have binaries for cuda 11.3 for torch 1.8.1, but does have cuda 11.1 binaries. This would also make sense since it matches the pip wheel instructions for torch 1.8.1 (and cudatoolkit for torch 1.8.0).
Link to the documentation:
https://pytorch.org/get-started/previous-versions/#linux-and-windows-2
conda binaries for comparison: https://anaconda.org/pytorch/pytorch/files?version=1.8.1&type=conda&page=4
I think the change just amounts to swapping from:
```
# CUDA 11.3
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.3 -c pytorch -c conda-forge
```
to
```
# CUDA 11.1
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.1 -c pytorch -c conda-forge
```
opened 04:27AM - 27 Jun 23 UTC
On the page [https://pytorch.org/get-started/previous-versions/](https://pytorch… .org/get-started/previous-versions/#linux-and-windows-16) the following instructions are provided:
```
Linux and Windows
# CUDA 10.2
conda install pytorch==1.9.1 torchvision==0.10.1 torchaudio==0.9.1 cudatoolkit=10.2 -c pytorch
# CUDA 11.3
conda install pytorch==1.9.1 torchvision==0.10.1 torchaudio==0.9.1 cudatoolkit=11.3 -c pytorch -c conda-forge
# CPU Only
conda install pytorch==1.9.0 torchvision==0.10.1 torchaudio==0.9.1 cpuonly -c pytorch
```
However, when checking [https://anaconda.org/pytorch/pytorch/files?version=1.9.1](https://anaconda.org/pytorch/pytorch/files?version=1.9.1), I noticed that there are no PyTorch packages that fulfill the requirement for CUDA 11.3. It appears that CUDA 11.1 should be used instead of 11.3.
Users who follow the current instructions will end up installing the CPU-only packages, which may not be their intention.
Please consider updating the page with the correct CUDA version to prevent this confusion.
Edit
There is another issue:
opened 04:49PM - 02 Jun 22 UTC
## 📚 Documentation
Looks like there are several typos in [pytorch.github.io](… https://github.com/pytorch/pytorch.github.io)/[_get_started](https://github.com/pytorch/pytorch.github.io/tree/site/_get_started)/previous-versions.md regarding conda installs
While 1.10.1 and 1.10.0 have been compiled against Cuda 11.1 and 11.3 in the conda-forge pytorch channel Versions 1.9.1, 1.9.0, and 1.8.1 are only compiled against cuda 11.1
Either the following three sections need to be updated to require cudatoolkit=11.1 not cudatoolkit=11.3
https://pytorch.org/get-started/previous-versions/#linux-and-windows-4
https://pytorch.org/get-started/previous-versions/#linux-and-windows-6
https://pytorch.org/get-started/previous-versions/#linux-and-windows-8
or the additional packages need to uploaded to the conda-forge pytorch channel
I verified the available packages for conda via
https://anaconda.org/pytorch/pytorch/files?version=1.9.1
https://anaconda.org/pytorch/pytorch/files?version=1.9.0
https://anaconda.org/pytorch/pytorch/files?version=1.8.1
Thanks for all the hard work building great tools and keeping the documentation current...