Skip to content

Fix issue if async task count does not evenly divide accross process pool #120

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

Merged
merged 2 commits into from
Apr 18, 2025

Conversation

sjmonson
Copy link
Collaborator

If SchedulingStrategy.processing_requests_limit does not evenly divide over SchedulingStrategy.processes_limit then we will either run too few requests or run "0" requests which will cause and unlimited number of request to be scheduled at a time.

@sjmonson sjmonson requested a review from markurtz April 17, 2025 19:46
@sjmonson sjmonson force-pushed the fix/max_concurrency branch from 0c28b6a to be0f52a Compare April 17, 2025 23:44
@sjmonson sjmonson force-pushed the fix/max_concurrency branch from be0f52a to 26d59fe Compare April 17, 2025 23:59
@sjmonson sjmonson force-pushed the fix/max_concurrency branch from c6bdb83 to a691329 Compare April 18, 2025 13:23
@sjmonson sjmonson requested a review from markurtz April 18, 2025 13:33
@markurtz markurtz merged commit ab38935 into neuralmagic:main Apr 18, 2025
9 checks passed
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