Limit CPU usage
#1111
Replies: 1 comment
-
I should also inform you that I tried to limit the number of threads to 2 but there was not any improvement. import os Limit number of threads to 2os.environ["OMP_NUM_THREADS"] = "2" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Colleagues,
I am sending you this message to ask you about how I can limit CPU core usage when running GPy library.
I am applying a bootstrap technique for the classifier to evaluate model performance using the standard implementation as:
model = GPy.models.GPClassification(X=X_train, Y=Y_train, kernel=kernel )
The process is consuming all resources, I tried to set n_jobs or n_workers but I did not succeed doing it!
Can you please help me!
Thank you
Garo
Beta Was this translation helpful? Give feedback.
All reactions