Skip to content
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

fix: split build threads from running threads #703

Merged
merged 2 commits into from
Jun 29, 2023
Merged

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jun 29, 2023

This can be particularly problematic when running on kubernetes where CPU limits can kill the pod.

@maccam912 this splits the env variable so it is not tied to the THREADS which is in runtime. In my k8s deployment LocalAI fails otherwise as overbooks my CPU and gets killed during start, and I'm pretty sure I won't be alone here.

mudler and others added 2 commits June 29, 2023 11:15
This can be particularly problematic when running on kubernetes where
CPU limits can kill the pod.

Signed-off-by: mudler <mudler@localai.io>
@mudler mudler merged commit 92614b9 into master Jun 29, 2023
@mudler mudler deleted the split_build_parallelism branch June 29, 2023 09:57
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