Skip to content

Commit 4b854d4

Browse files
committed
Hide hipBLAS (ROCm) if CuBLAS exists - vice versa
1 parent e2cf3b7 commit 4b854d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: koboldcpp.py

+4
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,10 @@ def show_new_gui():
10771077
contextsize_text = ["256", "512", "1024", "2048", "3072", "4096", "6144", "8192", "12288", "16384", "24576", "32768", "65536"]
10781078
runopts = [opt for lib, opt in lib_option_pairs if file_exists(lib)]
10791079
antirunopts = [opt.replace("Use ", "") for lib, opt in lib_option_pairs if not (opt in runopts)]
1080+
if "Use CuBLAS" in runopts:
1081+
antirunopts.remove("hipBLAS (ROCm)")
1082+
if "Use hipBLAS (ROCm)" in runopts:
1083+
antirunopts.remove("CuBLAS")
10801084
if os.name != 'nt':
10811085
if "NoAVX2 Mode (Old CPU)" in antirunopts:
10821086
antirunopts.remove("NoAVX2 Mode (Old CPU)")

0 commit comments

Comments
 (0)