Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
28d58c8
1
Parent(s):
ec6f618
seperate optimizations by column
Browse files
app.py
CHANGED
@@ -210,27 +210,29 @@ with demo:
|
|
210 |
)
|
211 |
|
212 |
with gr.Row():
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
|
|
|
|
234 |
|
235 |
with gr.Row():
|
236 |
filter_button = gr.Button(
|
|
|
210 |
)
|
211 |
|
212 |
with gr.Row():
|
213 |
+
with gr.Column(scale=2):
|
214 |
+
backend_checkboxes = gr.CheckboxGroup(
|
215 |
+
label="Backends π",
|
216 |
+
choices=["pytorch", "onnxruntime"],
|
217 |
+
value=["pytorch", "onnxruntime"],
|
218 |
+
info="βοΈ Select the backends",
|
219 |
+
elem_id="backend-checkboxes",
|
220 |
+
)
|
221 |
+
datatype_checkboxes = gr.CheckboxGroup(
|
222 |
+
label="Datatypes π₯",
|
223 |
+
choices=["float32", "float16"],
|
224 |
+
value=["float32", "float16"],
|
225 |
+
info="βοΈ Select the load datatypes",
|
226 |
+
elem_id="datatype-checkboxes",
|
227 |
+
)
|
228 |
+
with gr.Column(scale=2):
|
229 |
+
optimizations_checkboxes = gr.CheckboxGroup(
|
230 |
+
label="Optimizations π οΈ",
|
231 |
+
choices=["None", "BetterTransformer", "LLM.int8", "NF4"],
|
232 |
+
value=["None", "BetterTransformer", "LLM.int8", "NF4"],
|
233 |
+
info="βοΈ Select the optimizations",
|
234 |
+
elem_id="optimizations-checkboxes",
|
235 |
+
)
|
236 |
|
237 |
with gr.Row():
|
238 |
filter_button = gr.Button(
|