-
Notifications
You must be signed in to change notification settings - Fork 254
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
Enable multiple CPU from arguments #680
Comments
Hi @lij55 can you please let me know what the command you are running is? |
sorry for late reply. |
It also depends on which backend you are using. Is it default backend or mkl? (Depending on whether which version of gemm is being utilized) Each of these have different settings for number of cpus to be used. For instance, mkl is controlled by OMP_NUM_THREADS or MKL_NUM_THREADS environment variable. But, it is still weird that only 2 cores are being used. Again, we need to know which cpu backend is used to solve the issue |
it is the default backend. I will try OMP_NUM_THREADS environments. I didn't notice it. Thanks in advance! |
@lij55 did this work? |
sorry for late reply. I tried both OMP_NUM_THREADS and MKL_NUM_THREADS but no effect. It still use 2 cores. Now I'm using ollama. |
I have a 32 core AMD CPU and no GP.
mistral.rs will only use two of the cores. 2 cores is a bit less. Is it possible to allow to set it through arguments? Ollama will use half of core numbers by default.
Thanks!
The text was updated successfully, but these errors were encountered: