Spaces:
Running
Running
BenchmarkBot
commited on
Commit
Β·
4bbe7fd
1
Parent(s):
b1a20c2
different emojis
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ from src.utils import (
|
|
21 |
)
|
22 |
|
23 |
HARDWARES = ["A100-80GB", "RTX4090-24GB"]
|
|
|
24 |
LLM_PERF_LEADERBOARD_REPO = "optimum/llm-perf-leaderboard"
|
25 |
LLM_PERF_DATASET_REPO = "optimum/llm-perf-dataset"
|
26 |
OPTIMUM_TOKEN = os.environ.get("OPTIMUM_TOKEN", None)
|
@@ -232,10 +233,10 @@ with demo:
|
|
232 |
hardware_tables = {}
|
233 |
hardware_plots = {}
|
234 |
####################### HARDWARE TABS #######################
|
235 |
-
for i, hardware in enumerate(
|
236 |
# dummy placeholder of the hardware name
|
237 |
hardware_placeholders[hardware] = gr.Textbox(value=hardware, visible=False)
|
238 |
-
with gr.TabItem(f"{hardware}
|
239 |
with gr.Tabs(elem_classes="hardware-tabs"):
|
240 |
# placeholder for full dataframe
|
241 |
hardware_df = get_benchmark_df(benchmark=f"Succeeded-1x{hardware}")
|
|
|
21 |
)
|
22 |
|
23 |
HARDWARES = ["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"
|
27 |
OPTIMUM_TOKEN = os.environ.get("OPTIMUM_TOKEN", None)
|
|
|
233 |
hardware_tables = {}
|
234 |
hardware_plots = {}
|
235 |
####################### HARDWARE TABS #######################
|
236 |
+
for i, (hardware, emoji) in enumerate(zip(HARDWARES, 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):
|
240 |
with gr.Tabs(elem_classes="hardware-tabs"):
|
241 |
# placeholder for full dataframe
|
242 |
hardware_df = get_benchmark_df(benchmark=f"Succeeded-1x{hardware}")
|