mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
refactored model tests
This commit is contained in:
1 parent
4e6c7f80e5
commit
7d1e1eb7f9
1 file changed
-2
@@ -458,8 +458,6 @@ class Trainer(TrainerIO):
|
||||
# filter out the weights that were done on gpu so we can load on good old cpus
|
||||
self.optimizers = model.configure_optimizers()
|
||||
|
||||
model.cuda(self.data_parallel_device_ids[0])
|
||||
|
||||
# run through amp wrapper
|
||||
if self.use_amp:
|
||||
# An example
|
||||
|
||||
Reference in new issue
Block a user