Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce verbosity of the Runner #879

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/orion/client/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ def scatter(self, new_trials):
new_futures.append(future)

self.futures.extend(new_futures)
log.debug("Scheduled new trials")
if new_futures:
log.debug("Scheduled new trials")
return len(new_futures)

def gather(self):
Expand All @@ -331,7 +332,8 @@ def gather(self):
)

to_be_raised = None
log.debug(f"Gathered new results {len(results)}")
if results:
log.debug(f"Gathered new results {len(results)}")
# register the results
# NOTE: For Ptera instrumentation
trials = 0 # pylint:disable=unused-variable
Expand Down