Hi,
I been trying to install pytorch from anaconda and keep getting out of memory issue. My first try is
conda install pytorch torchvision -c pytorch
this feedback out of memory
After research, many sites suggested to include a no cache command, so I try the command to
conda install pytorch torchvision -c pytorch --no-cache-dir
and
–no-cache-dir conda install pytorch torchvision -c pytorch
However, the system reports that --no-cache-dir as unrecognized arguments.
My python is 3.6.5. tk version; 8.6.6
rasbt
(Sebastian Raschka)
2
I think this is a pip
, not a conda
command line argument. In this case, try to install it via
pip3 install torch torchvision --no-cache-dir
then
3 Likes
CSRabbit
(Jurarut Subcheevaanan)
3
This work for me. Thanks:+1:
1 Like
Hi! are you working on windows?
I’m trying this on Ubuntu 18.04 but it’s giving me memoryerror
This is also work for me, thanks
xavier
(xavier)
6
same for me, it always show an error
Could you post the error message here please?
xavier
(xavier)
8
i have reboot the computer and i works now (with --no-cache-dir).