-
Notifications
You must be signed in to change notification settings - Fork 459
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
Support old-style TensorFlow events (tensorboard) #2467
Support old-style TensorFlow events (tensorboard) #2467
Conversation
I didn't see a place to add tests for this code. Is there a good place to add tests? If so, I'm happy to do it. Also unrelated to this bug, but while testing I found it pretty surprising that you consider an event to match as long as the tag name starts with the metric name (e.g. a TF Event with tag "foobar" will match a metric name "foo"). Is this intended? Seems sort of surprising. If that's not intended, I can open another PR to fix. |
d1c626e
to
2942637
Compare
@Electronic-Waste @andreyvelich could someone please review? |
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.
Basically LGTM. Thanks for this @garymm! Just a few comments.
/assign @andreyvelich @helenxie-bit @mahdikhashan
pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py
Outdated
Show resolved
Hide resolved
@Electronic-Waste: GitHub didn't allow me to assign the following users: mahdikhashan. Note that only kubeflow members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
would you please make sure that this funcationality is also tested? there is an existing unit test at test/unit/metricscollector/test_tfevent_metricscollector.py
.
Thanks for your time @garymm
pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py
Outdated
Show resolved
Hide resolved
pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py
Outdated
Show resolved
Hide resolved
800be03
to
e6b5888
Compare
thanks for your contribution @garymm . I kindly ask @andreyvelich @Electronic-Waste for their help by triggering the ci so then we can make sure that everything is fine. |
/rerun-all |
ed698f1
to
a230fd5
Compare
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Fixes: kubeflow#2466 Signed-off-by: Gary Miguel <[email protected]>
Signed-off-by: Gary Miguel <[email protected]>
Signed-off-by: Gary Miguel <[email protected]>
Signed-off-by: Gary Miguel <[email protected]>
Signed-off-by: Gary Miguel <[email protected]>
a230fd5
to
7b4ae33
Compare
@Electronic-Waste I fixed the pre-commit issues. I doubt the e2e test failure is my fault. |
/rerun-all |
@garymm could you please resolve these conflicts? |
/rerun-all |
Signed-off-by: Gary Miguel <[email protected]>
@Electronic-Waste done |
@Electronic-Waste @mahdikhashan @garymm @kubeflow/wg-training-leads Do we want to cherry-pick this PR to the release-0.18 branch ? |
Given how rarely there are releases it seems like it'd be a shame to not include this in 0.18, but up to you |
yes, i agree with you. do we need to add any document for it? cc: @garymm |
Yes, I would appreciate if @garymm or @mahdikhashan can update docs for the |
See kubeflow/katib#2467 Signed-off-by: Gary Miguel <[email protected]>
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* katib metrics-collector: mention supported writers See kubeflow/katib#2467 Signed-off-by: Gary Miguel <[email protected]> * add 'metrics' word Signed-off-by: Gary Miguel <[email protected]> --------- Signed-off-by: Gary Miguel <[email protected]>
/cherry-pick release-0.18 |
@andreyvelich: #2467 failed to apply on top of branch "release-0.18":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'm ok |
@garymm @mahdikhashan @Electronic-Waste Please can you help us to resolve conflicts and manually cherry-pick this commit to the release-branch ? |
I'll do so. |
* Support old-style TensorFlow events (tensorboard) Fixes: kubeflow#2466 Signed-off-by: Gary Miguel <[email protected]> * format Signed-off-by: Gary Miguel <[email protected]> * test Signed-off-by: Gary Miguel <[email protected]> * don't continue loops Signed-off-by: Gary Miguel <[email protected]> * format Signed-off-by: Gary Miguel <[email protected]> --------- Signed-off-by: Gary Miguel <[email protected]>
PTAL: #2517 |
Fixes: #2466