This commit is contained in:
parent
baa5731984
commit
aa6eb065b3
|
@ -322,10 +322,10 @@ class LoggingSyncDistModel(BoringModel):
|
|||
def training_step(self, batch, batch_idx):
|
||||
value = self.fake_result + self.rank
|
||||
self.log("foo", value, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="sum")
|
||||
# self.log("foo_2", 2, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="sum")
|
||||
# self.log("foo_3", 2, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="mean")
|
||||
# self.log("foo_4", value, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="mean")
|
||||
# self.log("foo_5", batch_idx + self.rank, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="max")
|
||||
self.log("foo_2", 2, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="sum")
|
||||
self.log("foo_3", 2, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="mean")
|
||||
self.log("foo_4", value, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="mean")
|
||||
self.log("foo_5", batch_idx + self.rank, on_step=True, on_epoch=False, sync_dist=True, reduce_fx="max")
|
||||
#
|
||||
# self.log("foo_6", value, on_step=False, on_epoch=True, sync_dist=True, reduce_fx="sum")
|
||||
# self.log("foo_7", 2, on_step=False, on_epoch=True, sync_dist=True, reduce_fx="sum")
|
||||
|
|
Loading…
Reference in New Issue