Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Circle: Build docs in parallel.#20718

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 2 commits intomatplotlib:mainfromQuLogic:circle-parallel
Aug 9, 2022

Conversation

QuLogic
Copy link
Member

PR Summary

We are supposedly on medium Docker VMs, which offer 2 vCPUs, so we should try to build in parallel.

PR Checklist

  • [n/a] Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (runflake8 on changed files to check).
  • [n/a] New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • [n/a] Conforms to Matplotlib style conventions (installflake8-docstrings and runflake8 --docstring-convention=all).
  • [n/a] New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).

@jklymak
Copy link
Member

Looks like the build ran out of memory?

@QuLogic
Copy link
MemberAuthor

QuLogic commentedAug 4, 2022
edited
Loading

On recent Circle builds, I noticed it said we have access to a higher resource class, so I bumped it up tolarge, which will hopefully mean it won't run out of RAM this time, and will be a little bit faster with double the vCPU.

This doubles the vCPU and RAM, which will hopefully be enough to run inparallel.
We are now on large Docker VMs, which offer 4 vCPUs, so we should try tobuild in parallel.
@QuLogic
Copy link
MemberAuthor

Re-reading the resource class docs again, it looks like the system really has 32 cores, and since I passed-jauto, it probably was running in 32 processes, which is likely to OOM on any amount of RAM. Testing locally, single-core takes 2.4GB, 2-process takes 2.5GB, 3-process takes 2.65GB, and 4-process takes 3.1GB. The times are 19.6min, 17.1min, 15.7min, and 15.3min, respectively. Unfortunately, sphinx-gallery takes half the time and doesn't run in parallel, so we can't save too much.

But we might as well save the 5 minutes by going to-j4.

@QuLogicQuLogic marked this pull request as ready for reviewAugust 5, 2022 04:18
@tacaswelltacaswell added this to thev3.6.0 milestoneAug 9, 2022
@tacaswelltacaswell merged commitd8005dd intomatplotlib:mainAug 9, 2022
@QuLogicQuLogic deleted the circle-parallel branchAugust 9, 2022 19:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.6.0
Development

Successfully merging this pull request may close these issues.

4 participants
@QuLogic@jklymak@timhoffm@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp