-
Notifications
You must be signed in to change notification settings - Fork 575
Profile bug fix when both enable_profiler and profiling are set to true. #4855
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
Conversation
📝 WalkthroughWalkthroughThe update refines the logic for exporting a profiling trace at the end of training in the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (30)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## devel #4855 +/- ##
=======================================
Coverage 84.34% 84.34%
=======================================
Files 702 702
Lines 68585 68585
Branches 3573 3572 -1
=======================================
Hits 57849 57849
Misses 9597 9597
Partials 1139 1139 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Jinzhe Zeng <njzjz@qq.com> Signed-off-by: LI TIANCHENG <137472077+OutisLi@users.noreply.github.com>
|
@OutisLi please resolve conflicts. |
Signed-off-by: LI TIANCHENG <137472077+OutisLi@users.noreply.github.com>
Head branch was pushed to by a user without write access
for more information, see https://pre-commit.ci
When enable_profiler has been set to true, it will save the profiling results into json format in the tensorboard_log_dir. Currently, when both enable_profiler and profiling are set to true, it will throw an error
RuntimeError: Trace is already saved. As a result, just ignore the profiling option when enable_profiler is true.Summary by CodeRabbit