load guanaco-33b-merged with paramters --gpus 1,3 --num-gpus 2 error
ValueError: The current device_map had weights offloaded to the disk. Please provide an offload_folder for them. Alternatively,
make sure you have safetensors installed if the model you are using offers the weights in this format.
This is because the model is too big to fit on your gpu(s). The message is pretty bad.
You can overcome this by using the offload_folder and using a ram disk for that. Have a look at the closed merge request here:
https://github.com/lm-sys/FastChat/pull/1529
FastChat only uses 85% of the gpu ram, to not hit the out-of-memory wall. Some people suggested changing this value to 90% - see here: https://github.com/lm-sys/FastChat/issues/1216
How do we enable and use the offload_folder