Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,56 +72,47 @@ with demo:
|
|
72 |
lat_score_mem_plot = create_lat_score_mem_plot(
|
73 |
open_llm_perf_df
|
74 |
)
|
75 |
-
# ##################### ATTENTIONS SPEEDUP TAB #######################
|
76 |
-
# with gr.TabItem("Attention π", id=2):
|
77 |
-
# attn_prefill_plot, attn_decode_plot = create_attn_plots(
|
78 |
-
# open_llm_perf_df
|
79 |
-
# )
|
80 |
-
# ####################### KERNELS SPEEDUP TAB #######################
|
81 |
-
# with gr.TabItem("Kernels π", id=4):
|
82 |
-
# quant_krnl_prefill_plot, quant_krnl_decode_plot = (
|
83 |
-
# create_quant_krnl_plots(llm_perf_df)
|
84 |
-
# )
|
85 |
|
86 |
-
####################### CONTROL CALLBACK #######################
|
87 |
-
create_control_callback(
|
88 |
-
filter_button,
|
89 |
-
# inputs
|
90 |
-
machine_value,
|
91 |
-
subsets_value,
|
92 |
-
backends_value,
|
93 |
-
hardware_type_value,
|
94 |
-
score_slider,
|
95 |
-
memory_slider,
|
96 |
-
backend_checkboxes,
|
97 |
-
datatype_checkboxes,
|
98 |
-
optimization_checkboxes,
|
99 |
-
quantization_checkboxes,
|
100 |
-
kernels_checkboxes,
|
101 |
-
# interactive
|
102 |
-
columns_checkboxes,
|
103 |
-
search_bar,
|
104 |
-
# outputs
|
105 |
-
leaderboard_table,
|
106 |
-
lat_score_mem_plot,
|
107 |
-
# attn_prefill_plot,
|
108 |
-
# attn_decode_plot,
|
109 |
-
# quant_krnl_prefill_plot,
|
110 |
-
# quant_krnl_decode_plot,
|
111 |
-
)
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
####################### ABOUT TAB #######################
|
127 |
with gr.TabItem("About π", id=len(configs)):
|
|
|
72 |
lat_score_mem_plot = create_lat_score_mem_plot(
|
73 |
open_llm_perf_df
|
74 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
+
# ####################### CONTROL CALLBACK #######################
|
78 |
+
# create_control_callback(
|
79 |
+
# filter_button,
|
80 |
+
# # inputs
|
81 |
+
# machine_value,
|
82 |
+
# subsets_value,
|
83 |
+
# backends_value,
|
84 |
+
# hardware_type_value,
|
85 |
+
# score_slider,
|
86 |
+
# memory_slider,
|
87 |
+
# backend_checkboxes,
|
88 |
+
# datatype_checkboxes,
|
89 |
+
# optimization_checkboxes,
|
90 |
+
# quantization_checkboxes,
|
91 |
+
# kernels_checkboxes,
|
92 |
+
# # interactive
|
93 |
+
# columns_checkboxes,
|
94 |
+
# search_bar,
|
95 |
+
# # outputs
|
96 |
+
# leaderboard_table,
|
97 |
+
# lat_score_mem_plot,
|
98 |
+
# # attn_prefill_plot,
|
99 |
+
# # attn_decode_plot,
|
100 |
+
# # quant_krnl_prefill_plot,
|
101 |
+
# # quant_krnl_decode_plot,
|
102 |
+
# )
|
103 |
+
|
104 |
+
# create_select_callback(
|
105 |
+
# # inputs
|
106 |
+
# machine_value,
|
107 |
+
# subsets_value,
|
108 |
+
# backends_value,
|
109 |
+
# hardware_type_value,
|
110 |
+
# # interactive
|
111 |
+
# columns_checkboxes,
|
112 |
+
# search_bar,
|
113 |
+
# # outputs
|
114 |
+
# leaderboard_table,
|
115 |
+
# )
|
116 |
|
117 |
####################### ABOUT TAB #######################
|
118 |
with gr.TabItem("About π", id=len(configs)):
|