working on single gpu init speed

This commit is contained in:
William Falcon
2019-07-14 17:11:52 -04:00
parent 468e75c180
commit 904935cf98
+1
View File
@@ -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()