JetBrains/requirements

Install torch==1.8.2+cpu, torch==1.8.2+cu102 with "-f https://download.pytorch.org/whl/lts/1.8/torch_lts.html"

Opened this issue · 0 comments

pip3 install torch==1.8.2+cpu torchvision==0.9.2+cpu torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html

I can not prescribe, so that it does not swear

  1. torch==1.8.2+cpu, swears at +cpu
  2. swears at -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html

Can you please tell me how to write the installation of the following library in the file requirements.txt?

with pages: https://pytorch.org/get-started/locally/

pip3 install torch==1.8.2+cpu torchvision==0.9.2+cpu torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html

or

pip3 install torch==1.8.2+cu102 torchvision==0.9.2+cu102 torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html

Expected behavior
What would register this desired version with downloading from the site and it all worked

IDE (please complete the following information. See Main Menu -> Help -> About):
PyCharm 2022.1 (Professional Edition)
Build #PY-221.5080.212, built on April 12, 2022
Licensed to Anton Patshin
Subscription is active until May 11, 2023.
For educational use only.
Runtime version: 11.0.14.1+1-b2043.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-107-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
ide.images.show.chessboard=true

Non-Bundled Plugins:
name.kropp.intellij.makefile (221.5080.126)
com.intellij.ideolog (203.0.28.1)
YAML/Ansible support (0.11.2)
ru.meanmail.plugin.requirements (2022.3-2022.1)
com.leinardi.pycharm.mypy (0.14.0)

Current Desktop: ubuntu:GNOME

Plugin (please complete the following information. See Main Menu -> File -> Settings -> Plugins):

  • 2022.3-2022.1