mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-05 20:41:18 +02:00
more library checks
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user