mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-17 04:19:40 +00:00
add tensor split gui input for vulkan
This commit is contained in:
parent
02f92f6ecc
commit
18df56b8cf
1 changed files with 5 additions and 1 deletions
|
@ -732,7 +732,7 @@ maxhordelen = 256
|
||||||
modelbusy = threading.Lock()
|
modelbusy = threading.Lock()
|
||||||
requestsinqueue = 0
|
requestsinqueue = 0
|
||||||
defaultport = 5001
|
defaultport = 5001
|
||||||
KcppVersion = "1.68"
|
KcppVersion = "1.69"
|
||||||
showdebug = True
|
showdebug = True
|
||||||
showsamplerwarning = True
|
showsamplerwarning = True
|
||||||
showmaxctxwarning = True
|
showmaxctxwarning = True
|
||||||
|
@ -2217,6 +2217,10 @@ def show_new_gui():
|
||||||
tensor_split_entry.grid_remove()
|
tensor_split_entry.grid_remove()
|
||||||
splitmode_box.grid_remove()
|
splitmode_box.grid_remove()
|
||||||
|
|
||||||
|
if index == "Use Vulkan":
|
||||||
|
tensor_split_label.grid(row=8, column=0, padx = 8, pady=1, stick="nw")
|
||||||
|
tensor_split_entry.grid(row=8, column=1, padx=8, pady=1, stick="nw")
|
||||||
|
|
||||||
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)":
|
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)":
|
||||||
gpu_layers_label.grid(row=6, column=0, padx = 8, pady=1, stick="nw")
|
gpu_layers_label.grid(row=6, column=0, padx = 8, pady=1, stick="nw")
|
||||||
gpu_layers_entry.grid(row=6, column=1, padx=8, pady=1, stick="nw")
|
gpu_layers_entry.grid(row=6, column=1, padx=8, pady=1, stick="nw")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue