OpenBLAS blas_thread_ init Error - Linux Centos 7 with llama-cpp-python == 0.1.67
Author: omkargaduteCreated Jul 7, 2023Updated May 24, 2026
Labelswontfix
I am trying to run the wizardvicuna ggml model using llama-cpp-python 0.1.67 inside a linux machine, but i am getting this following error, Earlier when i was using v0.1.55 it was working fine. I tried to look this issue on stackoverflow where people have suggested to increase the max user process limit, i did that using "ulimit -u unlimited", but was facing still the same problem, i tried serval other solution but still getting this issue.
BASE OS - Centos 7
Failure Logs
Logs of the docker container -
OpenBLAS blas_thread_ init: pthread_create failed for thread 1 of 12: Operation not permitted OpenBLAS blas_thread_init: RLIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: pthread_create failed for thread 2 of 12: Operation not permitted OpenBLAS blas_thread_init: LIMIT_ NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: pthread create failed for thread 3 of 12: Operation not permitted OpenBLAS blas_thread_init: LIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: pthread_create failed for thread 4 of 12: Operation not permitted OpenBLAS blas_ thread_init: RLIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: pthread _create failed for thread 5 of 12: Operation not permitted OpenBLAS blas_thread_init: LIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: thread _create failed for thread 6 of 12: Operation not permitted OpenBLAS blas_thread_init: LIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: pthread_create failed for thread 7 of 12: Operation not permitted OpenBLAS blas_thread_ init: LIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: pthread_create failed for thread 8 of 12: Operation not permitted OpenBLAS blas_thread_ init: LIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas thread init: thread create failed for thread 9 of 12: Operation not permitted OpenBLAS blas_thread_init: LIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_thread_init: pthread_create failed for thread 10 of 12: Operation not permitted OpenBLAS blas_thread_init: LIMIT_NPROC 1048576 current, 1048576 max
OpenBLAS blas_ thread_init: thread _create failed for thread 11 of 12: Operation not permitted OpenBLAS blas_thread_init: RLIMIT_ NPROC 1048576 current, 1048576 max
Traceback (most recent call last):
File
*/usr/local/lib/python3.10/runpy-py", line 187, in _run_module_as main
mod _name, mod_spec, code = _get_module_details (mod _name, _Error)
File -/usr/local/lib/python3.10/rumpy.py", line 110, in Jet module_details
import__(pkg_name)
File */us/local/lib/python3.10/site-packages/llama_cpp/__init_py", line 2, in <modules from llama import *
File /usr/local/lib/python3.10/site-packages/11ama_cp/llama-py", line 26, in <module> import numpy as np
File "/usr/local/lib/python3.10/site-packages/numpy/__init_py", line 139, in <module> from import core
File "/us/local/lib/python3.10/site-packages/numpy/core/__init_
-•py", line 23, in ‹module>
from. import multiarray
File */us/local/lib/python3.10/site-packages/numpy/core/multiarray.py",line 10, in <module> from . import overrides
File */us/local/lib/python3.10/site-packages/numpy/core/overrides.py", line 8, in <modules from numpy.core._multiarray_umath import (
File "‹frozen importlib. _bootstrap›", line 216, in _lock_unlock module
KeyboardInterrupt
Model is available. Running the next command. ..python3 -m 11ama_cp.server --model $MODEL_PATHSource: abetlen/llama-cpp-python