mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-26 13:00:58 +08:00
added option to change default tensor
This commit is contained in:
1 parent
5f0a71c414
commit
8e49fc6cf7
1 file changed
+1
@@ -219,6 +219,7 @@ 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()
|
||||
|
||||
pdb.set_trace()
|
||||
if self.use_amp:
|
||||
# An example
|
||||
self.model, optimizer = amp.initialize(
|
||||
|
||||
Reference in new issue
Block a user