You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, i've done extensive research, but unfortunately, I can't find any explanation why is there a subtraction of 2 in max memory calculation mentioned in the README and example code.
max_memory={ i: f'{int(torch.cuda.mem_get_info(i)[0]/1024**3)-2}GB' for i in range(torch.cuda.device_count()) }
Could someone kindly provide an explanation for the purpose behind this subtraction?"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi guys, i've done extensive research, but unfortunately, I can't find any explanation why is there a subtraction of 2 in max memory calculation mentioned in the README and example code.
max_memory={ i: f'{int(torch.cuda.mem_get_info(i)[0]/1024**3)-2}GB' for i in range(torch.cuda.device_count()) }
Could someone kindly provide an explanation for the purpose behind this subtraction?"
Beta Was this translation helpful? Give feedback.
All reactions