Skip to content

Commit 9a4d991

Browse files
authored
fix: make logging more informative during training (#310)
1 parent a1819b2 commit 9a4d991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/aiplatform/training_jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,12 +646,12 @@ def _block_until_complete(self):
646646
)
647647
)
648648
log_wait = min(log_wait * multiplier, max_wait)
649-
previous_time = current_time
649+
previous_time = current_time
650650
time.sleep(wait)
651651

652652
self._raise_failure()
653653

654-
_LOGGER.log_action_completed_against_resource("", "run", self)
654+
_LOGGER.log_action_completed_against_resource("run", "completed", self)
655655

656656
if self._gca_resource.model_to_upload and not self.has_failed:
657657
_LOGGER.info(

0 commit comments

Comments
 (0)