Skip to content

reduce to 1/2 available cores - #8

Merged
tylerwarburton merged 1 commit into
mainfrom
cpu-parallelization-reduction
Jun 21, 2025
Merged

tylerwarburton merged 1 commit into
mainfrom
cpu-parallelization-reduction

Conversation

@ClaudeShannon16

Copy link
Copy Markdown
Contributor

No description provided.

Returns:
int: Number of parallel processes to use
"""
parallelization_denominator = 2 # if cpu has 16 cores and parallelization denominator is 2 then this codebase will use 8 cores

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line lets you determine parallelization amount

@tylerwarburton
tylerwarburton merged commit 1292361 into main Jun 21, 2025
@tylerwarburton
tylerwarburton deleted the cpu-parallelization-reduction branch June 21, 2025 22:51
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.

2 participants