diff --git a/llamacpp_for_kobold.py b/llamacpp_for_kobold.py index 94ab32376..987c662a3 100644 --- a/llamacpp_for_kobold.py +++ b/llamacpp_for_kobold.py @@ -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.")