mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-10 12:21:57 +08:00
added training router
This commit is contained in:
@@ -319,6 +319,7 @@ class Trainer(TrainerIO):
|
||||
elif self.use_dp:
|
||||
self.dp_train(model)
|
||||
|
||||
# ON CPU
|
||||
else:
|
||||
# CHOOSE OPTIMIZER
|
||||
# filter out the weights that were done on gpu so we can load on good old cpus
|
||||
|
||||
Reference in New Issue
Block a user