Conda installs a cpu version of pytorch and torchvision
See original GitHub issueConda installation (tested on Ubuntu 20.04) installs a cpu version of pytorch and torchvision. In my own project, the only remedy I’ve found was to hardcode the pytorch package to use. Poor solution. Hoping to find an alternative.
Related to #527
result from conda list
in torchgeo environment:
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Torchvision Cpu - :: Anaconda.org
conda install. To install this package run one of the following: conda install -c pytorch torchvision-cpu. Description. By data scientists, for data ...
Read more >Installing Pytorch with Conda installs CPU only version
I am trying to install pytorch 1.4 with torchversion 0.5 that are compatible with CUDA. Every time I install them I get “pytorch...
Read more >Why does Anaconda install pytorch cpuonly when I install cuda?
no installing torchaudio , it will install cpu versions of pytorch and torchvision . I found it interesting and don't know why.
Read more >Install Pytorch for GPU and CPU using Conda on Ubuntu
Set up virtual environment for pytorch using conda · Install Anaconda or Miniconda depends on your taste. Go to anaconda or miniconda's website ......
Read more >Getting started with PyTorch - IBM
pytorch - Installs the GPU-enabled variants of PyTorch, torchvision, ... Depending on the version of conda being used, the installer may not be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe conda does have a way to determine if your device has a gpu or not via virtual packages. Refer here. But I’m still not clear on the details.
For what it’s worth I’ve opened conda-forge/pytorch-cpu-feedstock#102 to look into this. I didn’t observe this when I pushed #295 so I’m not sure if it’s a new development but I can reproduce this now.