Skip to content

Commit

Permalink
fix: make logging more informative during training (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha-gitg committed Apr 13, 2021
1 parent a1819b2 commit 9a4d991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/aiplatform/training_jobs.py
Expand Up @@ -646,12 +646,12 @@ def _block_until_complete(self):
)
)
log_wait = min(log_wait * multiplier, max_wait)
previous_time = current_time
previous_time = current_time
time.sleep(wait)

self._raise_failure()

_LOGGER.log_action_completed_against_resource("", "run", self)
_LOGGER.log_action_completed_against_resource("run", "completed", self)

if self._gca_resource.model_to_upload and not self.has_failed:
_LOGGER.info(
Expand Down

0 comments on commit 9a4d991

Please sign in to comment.