mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-11 12:31:23 +08:00
working on single gpu init speed
This commit is contained in:
@@ -306,6 +306,7 @@ class Trainer(TrainerIO):
|
||||
self.single_gpu_train(model)
|
||||
|
||||
else:
|
||||
print('NO GPU')
|
||||
# CHOOSE OPTIMIZER
|
||||
# filter out the weights that were done on gpu so we can load on good old cpus
|
||||
self.optimizers = model.configure_optimizers()
|
||||
|
||||
Reference in New Issue
Block a user