BenchmarkBot commited on
Commit
28d58c8
β€’
1 Parent(s): ec6f618

seperate optimizations by column

Browse files
Files changed (1) hide show
  1. app.py +23 -21
app.py CHANGED
@@ -210,27 +210,29 @@ with demo:
210
  )
211
 
212
  with gr.Row():
213
- backend_checkboxes = gr.CheckboxGroup(
214
- label="Backends 🏭",
215
- choices=["pytorch", "onnxruntime"],
216
- value=["pytorch", "onnxruntime"],
217
- info="β˜‘οΈ Select the backends",
218
- elem_id="backend-checkboxes",
219
- )
220
- datatype_checkboxes = gr.CheckboxGroup(
221
- label="Datatypes πŸ“₯",
222
- choices=["float32", "float16"],
223
- value=["float32", "float16"],
224
- info="β˜‘οΈ Select the load datatypes",
225
- elem_id="datatype-checkboxes",
226
- )
227
- optimizations_checkboxes = gr.CheckboxGroup(
228
- label="Optimizations πŸ› οΈ",
229
- choices=["None", "BetterTransformer", "LLM.int8", "NF4"],
230
- value=[],
231
- info="β˜‘οΈ Select the optimizations",
232
- elem_id="optimizations-checkboxes",
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(