Open Avsecz opened 6 years ago
Add https://github.com/anderskm/gputil to auto-schedule model training
import GPUtil if args.gpu == -1: gpu = GPUtil.getFirstAvailable(attempts=3, includeNan=True)[0] else: gpu = args.gpu
add also the GPU memory fraction to use.
Add https://github.com/anderskm/gputil to auto-schedule model training
add also the GPU memory fraction to use.