Memory error when installing pytorch

In my case, on Fedora 23 VPS, I used the given below hack:

mkdir /tmp2
export TMPDIR=/tmp2
python3.8 -m pip install --no-clean --no-cache-dir torch torchvision
1 Like