more library checks
This commit is contained in:
parent
d8febc8653
commit
0f5b470c04
1 changed files with 2 additions and 2 deletions
|
@ -286,8 +286,8 @@ def RunServerMultiThreaded(addr, port, embedded_kailite = None):
|
|||
|
||||
def main(args):
|
||||
global use_blas
|
||||
if not os.path.exists(os.path.join(os.path.dirname(os.path.realpath(__file__)), "libopenblas.dll")):
|
||||
print("Warning: libopenblas.dll not found. OpenBLAS will be disabled.")
|
||||
if not os.path.exists(os.path.join(os.path.dirname(os.path.realpath(__file__)), "libopenblas.dll")) or not os.path.exists(os.path.join(os.path.dirname(os.path.realpath(__file__)), "llamacpp_blas.dll")):
|
||||
print("Warning: libopenblas.dll or llamacpp_blas.dll not found. OpenBLAS will be disabled.")
|
||||
use_blas = False
|
||||
elif not args.noblas:
|
||||
print("Attempting to use OpenBLAS library for faster prompt ingestion. A compatible libopenblas.dll will be required.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue