Skip to content

increase j2->j8 ; allow env override MAX_JOBS#157

Merged
alecjacobson merged 1 commit intomasterfrom
alecjacobson/increase-j-override
Feb 1, 2023
Merged

increase j2->j8 ; allow env override MAX_JOBS#157
alecjacobson merged 1 commit intomasterfrom
alecjacobson/increase-j-override

Conversation

@alecjacobson
Copy link
Copy Markdown
Contributor

The default for parallel build was previous 2 cores. I've increased to 8 (I believe this will better match the common case). Meanwhile, I added a param via environment variables to change as needed (mirroring how pytorch controls this). Anyone can do:

MAX_JOBS=64 python setup.py install

@alecjacobson alecjacobson merged commit 7ab17f2 into master Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant