Skip to content

Commit 5879161

Browse files
committed
sse3 mode for noavx2 clblast, fixed metadata, added version command
1 parent 7b25b61 commit 5879161

File tree

5 files changed

+36
-20
lines changed

5 files changed

+36
-20
lines changed

Makefile

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ FASTCXXFLAGS = $(subst -O3,-Ofast,$(CXXFLAGS))
7575

7676
# these are used on windows, to build some libraries with extra old device compatibility
7777
SIMPLECFLAGS =
78+
SIMPLERCFLAGS =
7879
FULLCFLAGS =
7980
NONECFLAGS =
8081

@@ -91,6 +92,7 @@ CUBLAS_OBJS =
9192

9293
OBJS_FULL += ggml-alloc.o ggml-cpu-traits.o ggml-quants.o ggml-cpu-quants.o ggml-cpu-aarch64.o unicode.o unicode-data.o ggml-threading.o ggml-cpu-cpp.o sgemm.o common.o sampling.o
9394
OBJS_SIMPLE += ggml-alloc.o ggml-cpu-traits.o ggml-quants_noavx2.o ggml-cpu-quants_noavx2.o ggml-cpu-aarch64_noavx2.o unicode.o unicode-data.o ggml-threading.o ggml-cpu-cpp.o sgemm_noavx2.o common.o sampling.o
95+
OBJS_SIMPLER += ggml-alloc.o ggml-cpu-traits.o ggml-quants_noavx1.o ggml-cpu-quants_noavx1.o ggml-cpu-aarch64_noavx1.o unicode.o unicode-data.o ggml-threading.o ggml-cpu-cpp.o sgemm_noavx1.o common.o sampling.o
9496
OBJS_FAILSAFE += ggml-alloc.o ggml-cpu-traits.o ggml-quants_failsafe.o ggml-cpu-quants_failsafe.o ggml-cpu-aarch64_failsafe.o unicode.o unicode-data.o ggml-threading.o ggml-cpu-cpp.o sgemm_failsafe.o common.o sampling.o
9597

9698
# OS specific
@@ -148,6 +150,7 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
148150
CFLAGS +=
149151
NONECFLAGS +=
150152
SIMPLECFLAGS += -mavx -msse3
153+
SIMPLERCFLAGS += -mavx
151154
ifdef LLAMA_NOAVX2
152155
FULLCFLAGS += -msse3 -mavx
153156
else
@@ -161,6 +164,7 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
161164
CFLAGS +=
162165
NONECFLAGS +=
163166
SIMPLECFLAGS += -mavx -msse3
167+
SIMPLERCFLAGS += -mavx
164168
ifdef LLAMA_NOAVX2
165169
FULLCFLAGS += -msse3 -mavx
166170
else
@@ -462,7 +466,7 @@ ggml_v4_clblast.o: ggml/src/ggml.c ggml/include/ggml.h
462466
ggml_v4_cublas.o: ggml/src/ggml.c ggml/include/ggml.h
463467
$(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(CUBLAS_FLAGS) $(HIPFLAGS) -c $< -o $@
464468
ggml_v4_clblast_noavx2.o: ggml/src/ggml.c ggml/include/ggml.h
465-
$(CC) $(FASTCFLAGS) $(SIMPLECFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
469+
$(CC) $(FASTCFLAGS) $(SIMPLERCFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
466470
ggml_v4_vulkan.o: ggml/src/ggml.c ggml/include/ggml.h
467471
$(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(VULKAN_FLAGS) -c $< -o $@
468472
ggml_v4_vulkan_noavx2.o: ggml/src/ggml.c ggml/include/ggml.h
@@ -478,19 +482,23 @@ ggml-cpu_v4_noavx2.o: ggml/src/ggml-cpu/ggml-cpu.c ggml/include/ggml-cpu.h
478482
ggml-cpu_v4_clblast.o: ggml/src/ggml-cpu/ggml-cpu.c ggml/include/ggml-cpu.h
479483
$(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
480484
ggml-cpu_v4_clblast_noavx2.o: ggml/src/ggml-cpu/ggml-cpu.c ggml/include/ggml-cpu.h
481-
$(CC) $(FASTCFLAGS) $(SIMPLECFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
485+
$(CC) $(FASTCFLAGS) $(SIMPLERCFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
482486

483487
#quants
484488
ggml-quants.o: ggml/src/ggml-quants.c ggml/include/ggml.h ggml/src/ggml-quants.h ggml/src/ggml-common.h
485489
$(CC) $(CFLAGS) $(FULLCFLAGS) -c $< -o $@
486490
ggml-quants_noavx2.o: ggml/src/ggml-quants.c ggml/include/ggml.h ggml/src/ggml-quants.h ggml/src/ggml-common.h
487491
$(CC) $(CFLAGS) $(SIMPLECFLAGS) -c $< -o $@
492+
ggml-quants_noavx1.o: ggml/src/ggml-quants.c ggml/include/ggml.h ggml/src/ggml-quants.h ggml/src/ggml-common.h
493+
$(CC) $(CFLAGS) $(SIMPLERCFLAGS) -c $< -o $@
488494
ggml-quants_failsafe.o: ggml/src/ggml-quants.c ggml/include/ggml.h ggml/src/ggml-quants.h ggml/src/ggml-common.h
489495
$(CC) $(CFLAGS) $(NONECFLAGS) -c $< -o $@
490496
ggml-cpu-quants.o: ggml/src/ggml-cpu/ggml-cpu-quants.c ggml/include/ggml.h ggml/src/ggml-cpu/ggml-cpu-quants.h ggml/src/ggml-common.h
491497
$(CC) $(CFLAGS) $(FULLCFLAGS) -c $< -o $@
492498
ggml-cpu-quants_noavx2.o: ggml/src/ggml-cpu/ggml-cpu-quants.c ggml/include/ggml.h ggml/src/ggml-cpu/ggml-cpu-quants.h ggml/src/ggml-common.h
493499
$(CC) $(CFLAGS) $(SIMPLECFLAGS) -c $< -o $@
500+
ggml-cpu-quants_noavx1.o: ggml/src/ggml-cpu/ggml-cpu-quants.c ggml/include/ggml.h ggml/src/ggml-cpu/ggml-cpu-quants.h ggml/src/ggml-common.h
501+
$(CC) $(CFLAGS) $(SIMPLERCFLAGS) -c $< -o $@
494502
ggml-cpu-quants_failsafe.o: ggml/src/ggml-cpu/ggml-cpu-quants.c ggml/include/ggml.h ggml/src/ggml-cpu/ggml-cpu-quants.h ggml/src/ggml-common.h
495503
$(CC) $(CFLAGS) $(NONECFLAGS) -c $< -o $@
496504

@@ -499,6 +507,8 @@ ggml-cpu-aarch64.o: ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp ggml/include/ggml.h g
499507
$(CXX) $(CXXFLAGS) $(FULLCFLAGS) -c $< -o $@
500508
ggml-cpu-aarch64_noavx2.o: ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp ggml/include/ggml.h ggml/src/ggml-cpu/ggml-cpu-aarch64.h
501509
$(CXX) $(CXXFLAGS) $(SIMPLECFLAGS) -c $< -o $@
510+
ggml-cpu-aarch64_noavx1.o: ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp ggml/include/ggml.h ggml/src/ggml-cpu/ggml-cpu-aarch64.h
511+
$(CXX) $(CXXFLAGS) $(SIMPLERCFLAGS) -c $< -o $@
502512
ggml-cpu-aarch64_failsafe.o: ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp ggml/include/ggml.h ggml/src/ggml-cpu/ggml-cpu-aarch64.h
503513
$(CXX) $(CXXFLAGS) $(NONECFLAGS) -c $< -o $@
504514

@@ -507,6 +517,8 @@ sgemm.o: ggml/src/ggml-cpu/llamafile/sgemm.cpp ggml/src/ggml-cpu/llamafile/sgemm
507517
$(CXX) $(CXXFLAGS) $(FULLCFLAGS) -c $< -o $@
508518
sgemm_noavx2.o: ggml/src/ggml-cpu/llamafile/sgemm.cpp ggml/src/ggml-cpu/llamafile/sgemm.h ggml/include/ggml.h
509519
$(CXX) $(CXXFLAGS) $(SIMPLECFLAGS) -c $< -o $@
520+
sgemm_noavx1.o: ggml/src/ggml-cpu/llamafile/sgemm.cpp ggml/src/ggml-cpu/llamafile/sgemm.h ggml/include/ggml.h
521+
$(CXX) $(CXXFLAGS) $(SIMPLERCFLAGS) -c $< -o $@
510522
sgemm_failsafe.o: ggml/src/ggml-cpu/llamafile/sgemm.cpp ggml/src/ggml-cpu/llamafile/sgemm.h ggml/include/ggml.h
511523
$(CXX) $(CXXFLAGS) $(NONECFLAGS) -c $< -o $@
512524

@@ -562,7 +574,7 @@ ggml_v3_clblast.o: otherarch/ggml_v3.c otherarch/ggml_v3.h
562574
ggml_v3_cublas.o: otherarch/ggml_v3.c otherarch/ggml_v3.h
563575
$(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(CUBLAS_FLAGS) $(HIPFLAGS) -c $< -o $@
564576
ggml_v3_clblast_noavx2.o: otherarch/ggml_v3.c otherarch/ggml_v3.h
565-
$(CC) $(FASTCFLAGS) $(SIMPLECFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
577+
$(CC) $(FASTCFLAGS) $(SIMPLERCFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
566578

567579
#version 2 libs
568580
ggml_v2.o: otherarch/ggml_v2.c otherarch/ggml_v2.h
@@ -576,7 +588,7 @@ ggml_v2_clblast.o: otherarch/ggml_v2.c otherarch/ggml_v2.h
576588
ggml_v2_cublas.o: otherarch/ggml_v2.c otherarch/ggml_v2.h
577589
$(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(CUBLAS_FLAGS) $(HIPFLAGS) -c $< -o $@
578590
ggml_v2_clblast_noavx2.o: otherarch/ggml_v2.c otherarch/ggml_v2.h
579-
$(CC) $(FASTCFLAGS) $(SIMPLECFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
591+
$(CC) $(FASTCFLAGS) $(SIMPLERCFLAGS) $(CLBLAST_FLAGS) -c $< -o $@
580592

581593
#extreme old version compat
582594
ggml_v1.o: otherarch/ggml_v1.c otherarch/ggml_v1.h
@@ -692,7 +704,7 @@ ifdef CLBLAST_BUILD
692704
koboldcpp_clblast: ggml_v4_clblast.o ggml-cpu_v4_clblast.o ggml_v3_clblast.o ggml_v2_clblast.o ggml_v1.o expose.o gpttype_adapter_clblast.o ggml-opencl.o ggml_v3-opencl.o ggml_v2-opencl.o ggml_v2-opencl-legacy.o sdcpp_default.o whispercpp_default.o llavaclip_default.o llava.o ggml-backend_default.o ggml-backend-reg_default.o $(OBJS_FULL) $(OBJS)
693705
$(CLBLAST_BUILD)
694706
ifdef NOAVX2_BUILD
695-
koboldcpp_clblast_noavx2: ggml_v4_clblast_noavx2.o ggml-cpu_v4_clblast_noavx2.o ggml_v3_clblast_noavx2.o ggml_v2_clblast_noavx2.o ggml_v1_failsafe.o expose.o gpttype_adapter_clblast_noavx2.o ggml-opencl.o ggml_v3-opencl.o ggml_v2-opencl.o ggml_v2-opencl-legacy.o sdcpp_default.o whispercpp_default.o llavaclip_default.o llava.o ggml-backend_default.o ggml-backend-reg_default.o $(OBJS_SIMPLE) $(OBJS)
707+
koboldcpp_clblast_noavx2: ggml_v4_clblast_noavx2.o ggml-cpu_v4_clblast_noavx2.o ggml_v3_clblast_noavx2.o ggml_v2_clblast_noavx2.o ggml_v1_failsafe.o expose.o gpttype_adapter_clblast_noavx2.o ggml-opencl.o ggml_v3-opencl.o ggml_v2-opencl.o ggml_v2-opencl-legacy.o sdcpp_default.o whispercpp_default.o llavaclip_default.o llava.o ggml-backend_default.o ggml-backend-reg_default.o $(OBJS_SIMPLER) $(OBJS)
696708
$(CLBLAST_BUILD)
697709
else
698710
koboldcpp_clblast_noavx2:

class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def get_requested_parameters(self, model_name, model_path, menu_path, parameters
9999
"extra_classes": "",
100100
'children': [{'text': 'Use No BLAS', 'value': 0}, {'text': 'Use CuBLAS', 'value': 1},
101101
{'text': 'Use CLBLast GPU #1', 'value': 2},{'text': 'Use CLBLast GPU #2', 'value': 3},{'text': 'Use CLBLast GPU #3', 'value': 4}
102-
,{'text': 'NoAVX2 Mode (Old CPU)', 'value': 5},{'text': 'Failsafe Mode (Old CPU)', 'value': 6},{'text': 'Use Vulkan GPU #1', 'value': 7},{'text': 'Use Vulkan GPU #2', 'value': 8}],
102+
,{'text': 'NoAVX2 Mode (Old CPU)', 'value': 5},{'text': 'Failsafe Mode (Older CPU)', 'value': 6},{'text': 'Use Vulkan GPU #1', 'value': 7},{'text': 'Use Vulkan GPU #2', 'value': 8}],
103103
})
104104
requested_parameters.append({
105105
"uitype": "text",

koboldcpp.py

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,9 @@ def pick_existant_file(ntoption,nonntoption):
359359
(lib_hipblas, "Use hipBLAS (ROCm)"),
360360
(lib_vulkan, "Use Vulkan"),
361361
(lib_noavx2, "Use CPU (Old CPU)"),
362-
(lib_clblast_noavx2, "Use CLBlast (Old CPU)"),
363362
(lib_vulkan_noavx2, "Use Vulkan (Old CPU)"),
364-
(lib_failsafe, "Failsafe Mode (Old CPU)")]
363+
(lib_clblast_noavx2, "Use CLBlast (Older CPU)"),
364+
(lib_failsafe, "Failsafe Mode (Older CPU)")]
365365
default_option, clblast_option, cublas_option, hipblas_option, vulkan_option, noavx2_option, clblast_noavx2_option, vulkan_noavx2_option, failsafe_option = (opt if file_exists(lib) or (os.name == 'nt' and file_exists(opt + ".dll")) else None for lib, opt in lib_option_pairs)
366366
runopts = [opt for lib, opt in lib_option_pairs if file_exists(lib)]
367367

@@ -3124,7 +3124,7 @@ def setup_backend_tooltip(parent):
31243124
nl = '\n'
31253125
tooltxt = "Number of backends you have built and available." + (f"\n\nMissing Backends: \n\n{nl.join(antirunopts)}" if len(runopts) < 8 else "")
31263126
num_backends_built = makelabel(parent, str(len(runopts)) + "/8", 5, 2,tooltxt)
3127-
num_backends_built.grid(row=1, column=1, padx=195, pady=0)
3127+
num_backends_built.grid(row=1, column=1, padx=205, pady=0)
31283128
num_backends_built.configure(text_color="#00ff00")
31293129

31303130
def gui_changed_modelfile(*args):
@@ -3143,7 +3143,7 @@ def changed_gpulayers_estimate(*args):
31433143
predicted_gpu_layers = autoset_gpu_layers(int(contextsize_text[context_var.get()]),(sd_quant_var.get()==1),int(blasbatchsize_values[int(blas_size_var.get())]))
31443144
max_gpu_layers = (f"/{modelfile_extracted_meta[0][0]+3}" if (modelfile_extracted_meta and modelfile_extracted_meta[0] and modelfile_extracted_meta[0][0]!=0) else "")
31453145
index = runopts_var.get()
3146-
gpu_be = (index == "Use Vulkan" or index == "Use Vulkan (Old CPU)" or index == "Use CLBlast" or index == "Use CLBlast (Old CPU)" or index == "Use CuBLAS" or index == "Use hipBLAS (ROCm)")
3146+
gpu_be = (index == "Use Vulkan" or index == "Use Vulkan (Old CPU)" or index == "Use CLBlast" or index == "Use CLBlast (Older CPU)" or index == "Use CuBLAS" or index == "Use hipBLAS (ROCm)")
31473147
layercounter_label.grid(row=6, column=1, padx=75, sticky="W")
31483148
quick_layercounter_label.grid(row=6, column=1, padx=75, sticky="W")
31493149
if sys.platform=="darwin" and gpulayers_var.get()=="-1":
@@ -3174,7 +3174,7 @@ def changed_gpu_choice_var(*args):
31743174
if v == "Use Vulkan" or v == "Use Vulkan (Old CPU)":
31753175
quick_gpuname_label.configure(text=VKDevicesNames[s])
31763176
gpuname_label.configure(text=VKDevicesNames[s])
3177-
elif v == "Use CLBlast" or v == "Use CLBlast (Old CPU)":
3177+
elif v == "Use CLBlast" or v == "Use CLBlast (Older CPU)":
31783178
quick_gpuname_label.configure(text=CLDevicesNames[s])
31793179
gpuname_label.configure(text=CLDevicesNames[s])
31803180
else:
@@ -3231,12 +3231,12 @@ def changerunmode(a,b,c):
32313231
global runmode_untouched
32323232
runmode_untouched = False
32333233
index = runopts_var.get()
3234-
if index == "Use Vulkan" or index == "Use Vulkan (Old CPU)" or index == "Use CLBlast" or index == "Use CLBlast (Old CPU)" or index == "Use CuBLAS" or index == "Use hipBLAS (ROCm)":
3234+
if index == "Use Vulkan" or index == "Use Vulkan (Old CPU)" or index == "Use CLBlast" or index == "Use CLBlast (Older CPU)" or index == "Use CuBLAS" or index == "Use hipBLAS (ROCm)":
32353235
quick_gpuname_label.grid(row=3, column=1, padx=75, sticky="W")
32363236
gpuname_label.grid(row=3, column=1, padx=75, sticky="W")
32373237
gpu_selector_label.grid(row=3, column=0, padx = 8, pady=1, stick="nw")
32383238
quick_gpu_selector_label.grid(row=3, column=0, padx = 8, pady=1, stick="nw")
3239-
if index == "Use CLBlast" or index == "Use CLBlast (Old CPU)":
3239+
if index == "Use CLBlast" or index == "Use CLBlast (Older CPU)":
32403240
gpu_selector_box.grid(row=3, column=1, padx=8, pady=1, stick="nw")
32413241
quick_gpu_selector_box.grid(row=3, column=1, padx=8, pady=1, stick="nw")
32423242
CUDA_gpu_selector_box.grid_remove()
@@ -3280,7 +3280,7 @@ def changerunmode(a,b,c):
32803280
else:
32813281
quick_use_flashattn.grid(row=22, column=1, padx=8, pady=1, stick="nw")
32823282

3283-
if index == "Use Vulkan" or index == "Use Vulkan (Old CPU)" or index == "Use CLBlast" or index == "Use CLBlast (Old CPU)" or index == "Use CuBLAS" or index == "Use hipBLAS (ROCm)":
3283+
if index == "Use Vulkan" or index == "Use Vulkan (Old CPU)" or index == "Use CLBlast" or index == "Use CLBlast (Older CPU)" or index == "Use CuBLAS" or index == "Use hipBLAS (ROCm)":
32843284
gpu_layers_label.grid(row=6, column=0, padx = 8, pady=1, stick="nw")
32853285
gpu_layers_entry.grid(row=6, column=1, padx=8, pady=1, stick="nw")
32863286
quick_gpu_layers_label.grid(row=6, column=0, padx = 8, pady=1, stick="nw")
@@ -3302,7 +3302,7 @@ def changerunmode(a,b,c):
33023302
# presets selector
33033303
makelabel(quick_tab, "Presets:", 1,0,"Select a backend to use.\nCuBLAS runs on Nvidia GPUs, and is much faster.\nVulkan and CLBlast works on all GPUs but is somewhat slower.\nOtherwise, runs on CPU only.\nNoAVX2 and Failsafe modes support older PCs.")
33043304

3305-
runoptbox = ctk.CTkComboBox(quick_tab, values=runopts, width=180,variable=runopts_var, state="readonly")
3305+
runoptbox = ctk.CTkComboBox(quick_tab, values=runopts, width=190,variable=runopts_var, state="readonly")
33063306
runoptbox.grid(row=1, column=1,padx=8, stick="nw")
33073307
runoptbox.set(runopts[0]) # Set to first available option
33083308

@@ -3636,9 +3636,9 @@ def export_vars():
36363636
args.noavx2 = False
36373637
if gpu_choice_var.get()!="All":
36383638
gpuchoiceidx = int(gpu_choice_var.get())-1
3639-
if runopts_var.get() == "Use CLBlast" or runopts_var.get() == "Use CLBlast (Old CPU)":
3639+
if runopts_var.get() == "Use CLBlast" or runopts_var.get() == "Use CLBlast (Older CPU)":
36403640
args.useclblast = [[0,0], [1,0], [0,1], [1,1]][gpuchoiceidx]
3641-
if runopts_var.get() == "Use CLBlast (Old CPU)":
3641+
if runopts_var.get() == "Use CLBlast (Older CPU)":
36423642
args.noavx2 = True
36433643
if runopts_var.get() == "Use CuBLAS" or runopts_var.get() == "Use hipBLAS (ROCm)":
36443644
if gpu_choice_var.get()=="All":
@@ -3664,7 +3664,7 @@ def export_vars():
36643664
args.usecpu = True
36653665
if runopts_var.get()=="Use CPU (Old CPU)":
36663666
args.noavx2 = True
3667-
if runopts_var.get()=="Failsafe Mode (Old CPU)":
3667+
if runopts_var.get()=="Failsafe Mode (Older CPU)":
36683668
args.noavx2 = True
36693669
args.usecpu = True
36703670
args.nommap = True
@@ -4517,6 +4517,9 @@ def main(launch_args,start_server=True):
45174517
global libname, args, friendlymodelname, friendlysdmodelname, fullsdmodelpath, mmprojpath, password, fullwhispermodelpath
45184518

45194519
args = launch_args
4520+
if (args.version) and len(sys.argv) <= 2:
4521+
print(f"{KcppVersion}") # just print version and exit
4522+
return
45204523
if (args.model_param or args.model) and args.prompt and not args.benchmark and not (args.debugmode >= 1):
45214524
suppress_stdout()
45224525

@@ -5164,6 +5167,7 @@ def range_checker(arg: str):
51645167

51655168
#more advanced params
51665169
advparser = parser.add_argument_group('Advanced Commands')
5170+
advparser.add_argument("--version", help="Prints version and exits.", action='store_true')
51675171
advparser.add_argument("--ropeconfig", help="If set, uses customized RoPE scaling from configured frequency scale and frequency base (e.g. --ropeconfig 0.25 10000). Otherwise, uses NTK-Aware scaling set automatically based on context size. For linear rope, simply set the freq-scale and ignore the freq-base",metavar=('[rope-freq-scale]', '[rope-freq-base]'), default=[0.0, 10000.0], type=float, nargs='+')
51685172
advparser.add_argument("--blasbatchsize", help="Sets the batch size used in BLAS processing (default 512). Setting it to -1 disables BLAS mode, but keeps other benefits like GPU offload.", type=int,choices=[-1,32,64,128,256,512,1024,2048], default=512)
51695173
advparser.add_argument("--blasthreads", help="Use a different number of threads during BLAS if specified. Otherwise, has the same value as --threads",metavar=('[threads]'), type=int, default=0)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ VSVersionInfo(
1515
StringTable(
1616
u'040904b0',
1717
[
18-
StringStruct(u'CompanyName', u'Your Company Name'),
18+
StringStruct(u'CompanyName', u'KoboldCpp'),
1919
StringStruct(u'FileDescription', u'KoboldCpp'),
2020
StringStruct(u'InternalName', u'KoboldCpp'),
2121
StringStruct(u'LegalCopyright', u'AGPLv3'),

version_template.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ VSVersionInfo(
1515
StringTable(
1616
u'040904b0',
1717
[
18-
StringStruct(u'CompanyName', u'Your Company Name'),
18+
StringStruct(u'CompanyName', u'KoboldCpp'),
1919
StringStruct(u'FileDescription', u'KoboldCpp'),
2020
StringStruct(u'InternalName', u'KoboldCpp'),
2121
StringStruct(u'LegalCopyright', u'AGPLv3'),

0 commit comments

Comments
 (0)