From ff93b394daf79be096ff676a89e96f98f1eb2912 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 6 May 2023 12:37:34 +0800 Subject: [PATCH] fixed a typo --- expose.cpp | 2 +- koboldcpp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = ""