-
Notifications
You must be signed in to change notification settings - Fork 722
[#9971] Gracefully error out in ETDump part 3 for *profiling_delegate #10147
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10147
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a47a195 with merge base e84c319 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "topic: not user facing" |
Gasoonjia
left a comment
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.
Thanks @zhongmingyuan for working on this! Expecially love to see you updating our doc.
Overall looks good and left some comments.
The main thing is remaining the functions interface in runtime/core/event_tracer_hooks_delegate.h as they are right now.
|
Also please solve the ci issue. |
It has to be from us to manually trigger it for you. I've just done it. Could you also regularly merge the latest changes from main into this branch? |
|
@zhenyan-zhang-meta I've merged this onto the latest main branch 15 minutes ago so it should be ok now. |
53b7092 to
ca14066
Compare
Most of errors are related to huggingface. I guess they are temporary? Please feel free to suggest how to reproduce it locally here. Thanks OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like google/mobilebert-uncased is not the path to a directory containing a file named config.json. |
Gasoonjia
left a comment
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, thanks for update!
|
@Gasoonjia has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
Please let me merge it -- there're some internal issue i need to fix |
@Gasoonjia Thanks!. Do you need me to close this PR and wait for you? |
e26115e to
e0be11b
Compare
|
@pytorchbot label "release notes: none" |
|
@Gasoonjia please help merge this |
e0be11b to
a47a195
Compare
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Summary
Gracefully throw error for
start_profiling_delegate
end_profiling_delegate
end_profiling_delegate
next: check_ready_to_add_event will need to come in later PRs
Test plan
test/run_oss_cpp_tests.sh
Not sure how to trigger CI in draft mode
@Gasoonjia @zhenyan-zhang-meta