Skip to content

Commit

Permalink
Stateless timer fix for PTL 1.6 (#3925)
Browse files Browse the repository at this point in the history
* Stateless timer fix for PTL 1.6

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* Stateless timer PTL test

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* Fix year

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* Style

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* Remove unused imports

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* Style

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* GPU test

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* Style

Signed-off-by: MaximumEntropy <sandeep.subramanian.1@umontreal.ca>

* clean import

Signed-off-by: ericharper <complex451@gmail.com>

Co-authored-by: ericharper <complex451@gmail.com>
  • Loading branch information
MaximumEntropy and ericharper committed Apr 20, 2022
1 parent 20215db commit 5419055
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/core_ptl/test_ptl_stateless_timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ def setup_validation_data(self):
pass

def validation_epoch_end(self, loss):
if not loss:
return
self.log("val_loss", torch.stack(loss).mean())


Expand Down

0 comments on commit 5419055

Please sign in to comment.