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

[Autotuner] - Tunable variables check v2 #2640

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

luarss
Copy link
Contributor

@luarss luarss commented Dec 24, 2024

Rebase of old PR due to merge conflicts.

Copy link
Collaborator

@oharboe oharboe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit on error messages

try:
result = yaml.safe_load(file)
except yaml.YAMLError as exc:
print("[ERROR TUN-0018] Error parsing variables.yaml.")
Copy link
Collaborator

@oharboe oharboe Dec 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove "try/except". This takes actionable information(details of yaml error) and converts it into something that isn't actionable.

@luarss luarss added the autotuner Flow autotuner label Dec 25, 2024
@luarss luarss force-pushed the topic/at-tunable-vars branch from 0ff0e0a to da475f7 Compare January 10, 2025 14:24
@luarss luarss marked this pull request as draft January 10, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autotuner Flow autotuner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants