mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
added cpu example
This commit is contained in:
1 parent
7a354668ff
commit
a311a62b48
1 file changed
+1
@@ -86,6 +86,7 @@ class Trainer(TrainerIO):
|
||||
self.lr_schedulers = []
|
||||
self.amp_level = amp_level
|
||||
self.print_nan_grads = print_nan_grads
|
||||
self.data_parallel_device_ids = None
|
||||
|
||||
# gpus come in as a string.
|
||||
# if gpus = -1 then use all available devices
|
||||
|
||||
Reference in new issue
Block a user