-
Notifications
You must be signed in to change notification settings - Fork 39
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
Aqua v1.0.1 release #803
Aqua v1.0.1 release #803
Conversation
…finetune. - added tracking shapes for evaluation
…finetune. - added finetune shape, finetune model and combination of a shape and model
|
||
def __init__( | ||
self, | ||
log_level: str = os.environ.get(ENV_VAR_LOG_LEVEL, "ERROR").upper(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if user pass empty string as a log_level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ads aqua model list --log-level=""
just checked, it fails with the message:
File "/Users/<user>/miniconda3/envs/ads-local-v38/lib/python3.8/logging/__init__.py", line 198, in _checkLevel
raise ValueError("Unknown level: %r" % level)
ValueError: Unknown level: ''
@mingkang111 can we have an input check to fix this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It just one line check, can you add from you side instead of creating another PR and waiting for review? Thanks!
Something like:
if not log_level in [...]:
exit()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, I'll update it my PR, might be better to default to Error level instead of exit. thanks Ming!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my understanding, ads aqua --help
provides what value can be put there. If user provide wrong value, it is should be ok to fail. And the error raised here also indicate the cause for the failure, i.e. the value provided is invalid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is true, but in this case the error should be human friendly. I'm ok with any solution that would make it more clear for end user.
Description
This PR releases v1.0.1 iteration of Aqua, mainly comprising of bug fixes and improving unit tests and covers the following:
ADS version will be updated to v2.11.8.
Jira
ODSC-55689