Files
pytorch-lightning/pytorch_lightning
Allard Hendriksen 7ac1580a31 Add automatic GPU choice to trainer (#1426)
* Add automatic GPU choice to trainer

This commit adds the `gpu_choice` parameter to Trainer. By default,
this parameter is set to 'manual' which causes no observable
difference in behavior.

When `gpu_choice` is set to "auto" and `gpus` is an int, then the
trainer will automatically allocate the first available GPU.
This is especially useful when GPUs are configured to be in "exclusive
mode", which means that only one process at a time can use them.

* Rename gpu_choice -> auto_select_gpus
2020-04-10 11:45:29 -04:00
..
2020-04-09 14:05:46 -04:00
2020-04-09 14:05:46 -04:00
2020-04-09 14:05:46 -04:00
2020-04-09 14:05:46 -04:00
2020-03-31 08:57:48 -04:00
2020-04-09 14:05:46 -04:00
2020-04-09 14:05:46 -04:00
2020-04-09 14:05:46 -04:00
2020-04-10 08:43:46 -04:00