diff --git a/expose.cpp b/expose.cpp index fe487c524..38defd15e 100644 --- a/expose.cpp +++ b/expose.cpp @@ -58,7 +58,7 @@ extern "C" int platform = parseinfo/10; int devices = parseinfo%10; platformenv = "GGML_CLBLAST_PLATFORM="+std::to_string(platform); - deviceenv = "GGML_CLBLAST_DEVICES="+std::to_string(devices); + deviceenv = "GGML_CLBLAST_DEVICE="+std::to_string(devices); putenv((char*)platformenv.c_str()); putenv((char*)deviceenv.c_str()); executable_path = inputs.executable_path; diff --git a/koboldcpp.py b/koboldcpp.py index 67d46a7d7..a9cf8ae12 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -196,7 +196,7 @@ maxctx = 2048 maxlen = 128 modelbusy = False defaultport = 5001 -KcppVersion = "1.19" +KcppVersion = "1.19.1" class ServerRequestHandler(http.server.SimpleHTTPRequestHandler): sys_version = ""