125G of memory, executing merge-weights.py on 30B will oom
Chting opened this issue · 4 comments
Chting commented
125G of memory, executing merge-weights.py on 30B will oom
ortegaalfredo commented
Set up at least a 40G swap, it need about 130G of memory for merging 30B
Chting commented
Yes, I set 100G SWP, I don't know if 65B is enough
CaullenOmdahl commented
I was successful. My system has 3 separate swap files. 1 ZRAM (ram compression), 1 on an NVME SSD (32GB), and 1 on a PCI-e SSD (4GB). Set the Zram and NVME priority 1 and PCI-e Priority -1. Ubuntu 22.04, Ryzen 5900x, 64GB RAM.
randaller commented
Mine swap is set to 256 Gb in addition to a 128 Gb of RAM. Max swap usage was about 180 Gb while merging 65B model.