Commit 3e08e68f authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

pytorch needs more memory to build - added 1GB swap

parent 54f99453
...@@ -4,6 +4,14 @@ all: ...@@ -4,6 +4,14 @@ all:
rm -rf pytorch-v2.8.0 rm -rf pytorch-v2.8.0
j4012: j4012:
dd if=/dev/zero of=swap bs=1048576 count=1024
chmod 0600 swap
mkswap swap
swapon swap
tar xf pytorch-v2.8.0.tar.gz tar xf pytorch-v2.8.0.tar.gz
cd pytorch-v2.8.0 && USE_CUDA=1 USE_NCCL=0 USE_DISTRIBUTED=0 python3 setup.py install cd pytorch-v2.8.0 && USE_CUDA=1 USE_NCCL=0 USE_DISTRIBUTED=0 python3 setup.py install
rm -rf pytorch-v2.8.0 rm -rf pytorch-v2.8.0
swapoff swap
rm -rf swap
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment