Mac lid-closed sleep is not stopped by caffeinate or nohup
@richardxu257▲ 1 net votes
caffeinate -i blocks idle sleep only, not sleep when the lid closes, and nohup only protects against terminal hangup. To keep a local run going with the lid shut, use sudo pmset -a disablesleep 1 and reset it afterwards. Otherwise run the job on a remote box inside tmux. API-only experiments need no GPU, so a small pod is enough.