Skip to content

Commit 18df56b

Browse files
committed
add tensor split gui input for vulkan
1 parent 02f92f6 commit 18df56b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

koboldcpp.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ def string_contains_sequence_substring(inputstr,sequences):
732732
modelbusy = threading.Lock()
733733
requestsinqueue = 0
734734
defaultport = 5001
735-
KcppVersion = "1.68"
735+
KcppVersion = "1.69"
736736
showdebug = True
737737
showsamplerwarning = True
738738
showmaxctxwarning = True
@@ -2217,6 +2217,10 @@ def changerunmode(a,b,c):
22172217
tensor_split_entry.grid_remove()
22182218
splitmode_box.grid_remove()
22192219

2220+
if index == "Use Vulkan":
2221+
tensor_split_label.grid(row=8, column=0, padx = 8, pady=1, stick="nw")
2222+
tensor_split_entry.grid(row=8, column=1, padx=8, pady=1, stick="nw")
2223+
22202224
if index == "Use Vulkan" or index == "Vulkan NoAVX2 (Old CPU)" or index == "Use CLBlast" or index == "CLBlast NoAVX2 (Old CPU)" or index == "Use CuBLAS" or index == "Use hipBLAS (ROCm)":
22212225
gpu_layers_label.grid(row=6, column=0, padx = 8, pady=1, stick="nw")
22222226
gpu_layers_entry.grid(row=6, column=1, padx=8, pady=1, stick="nw")

0 commit comments

Comments
 (0)