Spaces:
Running
Running
BenchmarkBot
commited on
Commit
Β·
aed686e
1
Parent(s):
4bbe7fd
remove share
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from src.utils import (
|
|
20 |
process_model_type,
|
21 |
)
|
22 |
|
23 |
-
|
24 |
HARDWARES_EMOJIS = ["π₯οΈ", "π»"]
|
25 |
LLM_PERF_LEADERBOARD_REPO = "optimum/llm-perf-leaderboard"
|
26 |
LLM_PERF_DATASET_REPO = "optimum/llm-perf-dataset"
|
@@ -233,7 +233,7 @@ with demo:
|
|
233 |
hardware_tables = {}
|
234 |
hardware_plots = {}
|
235 |
####################### HARDWARE TABS #######################
|
236 |
-
for i, (hardware, emoji) in enumerate(zip(
|
237 |
# dummy placeholder of the hardware name
|
238 |
hardware_placeholders[hardware] = gr.Textbox(value=hardware, visible=False)
|
239 |
with gr.TabItem(f"{hardware} {emoji}", id=i):
|
@@ -335,7 +335,7 @@ with demo:
|
|
335 |
value="Filter π",
|
336 |
elem_id="filter-button",
|
337 |
)
|
338 |
-
for hardware in
|
339 |
filter_button.click(
|
340 |
filter_query,
|
341 |
[
|
@@ -377,4 +377,4 @@ scheduler.add_job(
|
|
377 |
scheduler.start()
|
378 |
|
379 |
# Launch demo
|
380 |
-
demo.queue(concurrency_count=10).launch(
|
|
|
20 |
process_model_type,
|
21 |
)
|
22 |
|
23 |
+
HARDWARE_NAMES = ["A100-80GB", "RTX4090-24GB"]
|
24 |
HARDWARES_EMOJIS = ["π₯οΈ", "π»"]
|
25 |
LLM_PERF_LEADERBOARD_REPO = "optimum/llm-perf-leaderboard"
|
26 |
LLM_PERF_DATASET_REPO = "optimum/llm-perf-dataset"
|
|
|
233 |
hardware_tables = {}
|
234 |
hardware_plots = {}
|
235 |
####################### HARDWARE TABS #######################
|
236 |
+
for i, (hardware, emoji) in enumerate(zip(HARDWARE_NAMES, HARDWARES_EMOJIS)):
|
237 |
# dummy placeholder of the hardware name
|
238 |
hardware_placeholders[hardware] = gr.Textbox(value=hardware, visible=False)
|
239 |
with gr.TabItem(f"{hardware} {emoji}", id=i):
|
|
|
335 |
value="Filter π",
|
336 |
elem_id="filter-button",
|
337 |
)
|
338 |
+
for hardware in HARDWARE_NAMES:
|
339 |
filter_button.click(
|
340 |
filter_query,
|
341 |
[
|
|
|
377 |
scheduler.start()
|
378 |
|
379 |
# Launch demo
|
380 |
+
demo.queue(concurrency_count=10).launch()
|