-
Notifications
You must be signed in to change notification settings - Fork 35
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
[tuner] add the output file #815
Conversation
49bea8d
to
261ad2e
Compare
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.
Could you also add the time information (absolute time and % of the baseline)?
083ca1c
to
41dd78c
Compare
61b965b
to
e62d2c5
Compare
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.
We should open the file once and keep appending to it
Instead of opening a plaintext file, we can have multiple loggers configured with different logging level, such that the summary log contains only the most important messages: https://docs.python.org/3/howto/logging-cookbook.html#logging-to-multiple-destinations |
e62d2c5
to
19f6a2a
Compare
f4b01ab
to
fbe3d30
Compare
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.
Can you upload a sample summary log file so that we know what to expect after merging this?
|
081eef9
to
a131e75
Compare
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
a131e75
to
c51351a
Compare
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.
Overall looks good, but it seems like there's some stuff to clean up still
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
d13ec6a
to
16b4697
Compare
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
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.
LGTM
This PR addresses the task described in #806.
It adds a separate output file to the tuner to summarize the most important information, such as the top candidates (dispatch and model) and paths to their specifications.
Also, it fixes the issue with incorrect reporting of the compilation success rate in the log.