layout
This commit is contained in:
parent
f27972777f
commit
84ce184c4f
1 changed files with 4 additions and 4 deletions
|
@ -674,7 +674,7 @@ def show_new_gui():
|
||||||
|
|
||||||
import customtkinter as ctk
|
import customtkinter as ctk
|
||||||
nextstate = 0 #0=exit, 1=launch, 2=oldgui
|
nextstate = 0 #0=exit, 1=launch, 2=oldgui
|
||||||
windowwidth = 520
|
windowwidth = 530
|
||||||
windowheight = 500
|
windowheight = 500
|
||||||
ctk.set_appearance_mode("dark")
|
ctk.set_appearance_mode("dark")
|
||||||
root = ctk.CTk()
|
root = ctk.CTk()
|
||||||
|
@ -700,7 +700,7 @@ def show_new_gui():
|
||||||
(lib_clblast, "Use CLBlast"),
|
(lib_clblast, "Use CLBlast"),
|
||||||
(lib_cublas, "Use CuBLAS"),
|
(lib_cublas, "Use CuBLAS"),
|
||||||
(lib_default, "Use No BLAS"),
|
(lib_default, "Use No BLAS"),
|
||||||
(lib_noavx2, "Use NoAVX2 Mode (Old CPU)"),
|
(lib_noavx2, "NoAVX2 Mode (Old CPU)"),
|
||||||
(lib_failsafe, "Failsafe Mode (Old CPU)")]
|
(lib_failsafe, "Failsafe Mode (Old CPU)")]
|
||||||
openblas_option, clblast_option, cublas_option, default_option, openblas_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)
|
openblas_option, clblast_option, cublas_option, default_option, openblas_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)
|
||||||
# slider data
|
# slider data
|
||||||
|
@ -1080,7 +1080,7 @@ def show_new_gui():
|
||||||
args.gpulayers = int(gpulayers_var.get())
|
args.gpulayers = int(gpulayers_var.get())
|
||||||
if runopts_var.get()=="Use No BLAS":
|
if runopts_var.get()=="Use No BLAS":
|
||||||
args.noblas = True
|
args.noblas = True
|
||||||
if runopts_var.get()=="Use NoAVX2 Mode (Old CPU)":
|
if runopts_var.get()=="NoAVX2 Mode (Old CPU)":
|
||||||
args.noavx2 = True
|
args.noavx2 = True
|
||||||
if runopts_var.get()=="Failsafe Mode (Old CPU)":
|
if runopts_var.get()=="Failsafe Mode (Old CPU)":
|
||||||
args.noavx2 = True
|
args.noavx2 = True
|
||||||
|
@ -1297,7 +1297,7 @@ def show_old_gui():
|
||||||
blaschoice = tk.StringVar()
|
blaschoice = tk.StringVar()
|
||||||
blaschoice.set("BLAS = 512")
|
blaschoice.set("BLAS = 512")
|
||||||
|
|
||||||
runopts = ["Use OpenBLAS","Use CLBLast GPU #1","Use CLBLast GPU #2","Use CLBLast GPU #3","Use CuBLAS GPU","Use No BLAS","Use NoAVX2 Mode (Old CPU)","Failsafe Mode (Old CPU)"]
|
runopts = ["Use OpenBLAS","Use CLBLast GPU #1","Use CLBLast GPU #2","Use CLBLast GPU #3","Use CuBLAS GPU","Use No BLAS","NoAVX2 Mode (Old CPU)","Failsafe Mode (Old CPU)"]
|
||||||
runchoice = tk.StringVar()
|
runchoice = tk.StringVar()
|
||||||
runchoice.set("Use OpenBLAS")
|
runchoice.set("Use OpenBLAS")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue