mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-25 14:00:39 +08:00
working on single gpu init speed
This commit is contained in:
@@ -82,6 +82,7 @@ class Trainer(TrainerIO):
|
||||
self.print_nan_grads = print_nan_grads
|
||||
self.data_parallel_device_ids = None
|
||||
self.world_size = 1
|
||||
print('-'*100)
|
||||
|
||||
# gpus come in as a string.
|
||||
# if gpus = -1 then use all available devices
|
||||
|
||||
Reference in New Issue
Block a user