From dc8f2b2cd1c950ae5a492ce2e40a44532642c364 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Wed, 8 Jul 2026 17:26:47 +0800 Subject: [PATCH] updated cmake --- CMakeLists.txt | 2 ++ koboldcpp.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bfced02f9..b3f782aaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -537,6 +537,8 @@ add_library(sdtype_adapter otherarch/sdcpp/src/tokenizers/gpt_oss_tokenizer.cpp otherarch/sdcpp/src/tokenizers/tokenizer.cpp otherarch/sdcpp/src/tokenizers/tokenize_util.cpp + otherarch/sdcpp/src/core/backend_fit.cpp + otherarch/sdcpp/src/core/layer_split_partition.cpp otherarch/sdcpp/src/core/ggml_extend_backend.cpp) target_include_directories(sdtype_adapter PUBLIC . ./ggml/include ./ggml/src ./ggml/src/ggml-cpu ./include ./otherarch ./otherarch/tools ./vendor/stb ./vendor/nlohmann ./vendor ./otherarch/sdcpp ./otherarch/sdcpp/include ./otherarch/sdcpp/src ./otherarch/sdcpp/examples ./tools ./common) target_compile_features(sdtype_adapter PUBLIC cxx_std_17) # don't bump diff --git a/koboldcpp.py b/koboldcpp.py index bfc16ee10..68d2d2857 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -2500,7 +2500,7 @@ def sd_get_device_override(deviceid, module=''): result = module + '=' + device_name else: result = device_name - return result; + return result def sd_load_model(model_filename,vae_filename,t5xxl_filename,clip1_filename,clip2_filename,photomaker_filename,upscaler_filename,audio_vae_filename): global args