-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG] Turns off memory_profiler in examples to stop circleci from hanging #16629
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
[MRG] Turns off memory_profiler in examples to stop circleci from hanging #16629
Conversation
Hmm removing the memory profiler resolve the issue |
So do we just remove the memory profiler, or also upgrade sphinx? (I'm happy with bumping up the scphinx version) |
We may need to disable memory profiler. The gallery generation hangs for Sphinx 2.2-2.4. |
Co-authored-by: JohanWork
This reverts commit 83ec08b.
I have tried to remove the high memory usage examples and circleci still hangs. For now, this PR now just turns off the |
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 @thomasjpfan
How can we check the memory usage of different tests/documents locally to try and fix them?
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 Thomas!
Good to see master CI finally green! |
You can test using memory_profiler: mprof run python examples/... I tried completely removing the high memory examples and circleci still stalled. For reference the high memory examples are:
In all cases, the original dataset loading lead to a bunch of memory. As a follow up, I am planning to test if #16084 resolves the issue. (That PR is needs one more review to get merged) |
Thanks for investigating. Yes, the last two examples load a somewhat large dataset and the openml loader needs improvement. |
Reference Issues/PRs
Fixes #16628
What does this implement/fix? Explain your changes.
Update sphinx to try to get circleci to not timeout.
(Also removes azure pipeline configuration to be nice to the CI, while I test)