Spaces:
Running
Running
Commit
·
e45867e
1
Parent(s):
d02c1e3
Apply styling to updates (TODO: Add a toggle to hide old updates)
Browse files- app.py +3 -3
- static/html_content.py +2 -0
- style/css_html_js.py +17 -0
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def make_leaderboard_tab(state: Simulator, name: str, html: str=None):
|
|
| 28 |
gr.HTML(html)
|
| 29 |
# 1st row filters (select task, benchmark and sim)
|
| 30 |
with gr.Row(equal_height=True):
|
| 31 |
-
with gr.Column(scale=
|
| 32 |
task_radio = gr.Radio(choices=C.TASKS, label="Select Task", value=C.DEFAULT_TASK)
|
| 33 |
with gr.Column(scale=3):
|
| 34 |
benchmark_radio = gr.Radio(
|
|
@@ -36,7 +36,7 @@ def make_leaderboard_tab(state: Simulator, name: str, html: str=None):
|
|
| 36 |
label="Select Benchmark",
|
| 37 |
value=C.DEFAULT_BENCHMARK,
|
| 38 |
)
|
| 39 |
-
with gr.Column(scale=2, min_width=
|
| 40 |
simulator_radio = gr.Radio(
|
| 41 |
choices=C.SIMULATORS,
|
| 42 |
value=C.SIMULATORS[0],
|
|
@@ -244,4 +244,4 @@ app.launch(
|
|
| 244 |
"hpai_logo_grad.png",
|
| 245 |
"bsc-logo.png",
|
| 246 |
]
|
| 247 |
-
)
|
|
|
|
| 28 |
gr.HTML(html)
|
| 29 |
# 1st row filters (select task, benchmark and sim)
|
| 30 |
with gr.Row(equal_height=True):
|
| 31 |
+
with gr.Column(scale=5):
|
| 32 |
task_radio = gr.Radio(choices=C.TASKS, label="Select Task", value=C.DEFAULT_TASK)
|
| 33 |
with gr.Column(scale=3):
|
| 34 |
benchmark_radio = gr.Radio(
|
|
|
|
| 36 |
label="Select Benchmark",
|
| 37 |
value=C.DEFAULT_BENCHMARK,
|
| 38 |
)
|
| 39 |
+
with gr.Column(scale=2, min_width=160):
|
| 40 |
simulator_radio = gr.Radio(
|
| 41 |
choices=C.SIMULATORS,
|
| 42 |
value=C.SIMULATORS[0],
|
|
|
|
| 244 |
"hpai_logo_grad.png",
|
| 245 |
"bsc-logo.png",
|
| 246 |
]
|
| 247 |
+
)
|
static/html_content.py
CHANGED
|
@@ -43,6 +43,7 @@ INTRO_HTML = """
|
|
| 43 |
(PPA: Power, Performance, Area). TuRTLe integrates multiple benchmarks to highlight strengths and weaknesses of available LLMs.
|
| 44 |
Use the filters below to explore different RTL benchmarks, simulators and models.
|
| 45 |
</p>
|
|
|
|
| 46 |
<p style="margin-top:10px; text-align:start !important;">
|
| 47 |
<span style="font-variant:small-caps; font-weight:bold;">UPDATE (NOV 2025):</span> We release a new codebase <a href="https://github.com/HPAI-BSC/TuRTLe" target="_blank">TuRTLe v2</a> with API support and local Docker evaluation. Added <span>Kimi K2 Inst</span>, <span>DeepSeek V3.1 Terminus</span>, and <span>Google's Gemini 2.5 Flash</span>
|
| 48 |
</p>
|
|
@@ -59,6 +60,7 @@ INTRO_HTML = """
|
|
| 59 |
<p style="margin-top: -6px; text-align: start !important;">
|
| 60 |
<span style="font-variant: small-caps; font-weight: bold;">UPDATE (JUNE 2025):</span> We make our framework open-source on GitHub and we add 7 new recent models! For a total of 40 base and instruct models and 5 RTL benchmarks
|
| 61 |
</p>
|
|
|
|
| 62 |
</div>
|
| 63 |
"""
|
| 64 |
|
|
|
|
| 43 |
(PPA: Power, Performance, Area). TuRTLe integrates multiple benchmarks to highlight strengths and weaknesses of available LLMs.
|
| 44 |
Use the filters below to explore different RTL benchmarks, simulators and models.
|
| 45 |
</p>
|
| 46 |
+
<div class="change-log">
|
| 47 |
<p style="margin-top:10px; text-align:start !important;">
|
| 48 |
<span style="font-variant:small-caps; font-weight:bold;">UPDATE (NOV 2025):</span> We release a new codebase <a href="https://github.com/HPAI-BSC/TuRTLe" target="_blank">TuRTLe v2</a> with API support and local Docker evaluation. Added <span>Kimi K2 Inst</span>, <span>DeepSeek V3.1 Terminus</span>, and <span>Google's Gemini 2.5 Flash</span>
|
| 49 |
</p>
|
|
|
|
| 60 |
<p style="margin-top: -6px; text-align: start !important;">
|
| 61 |
<span style="font-variant: small-caps; font-weight: bold;">UPDATE (JUNE 2025):</span> We make our framework open-source on GitHub and we add 7 new recent models! For a total of 40 base and instruct models and 5 RTL benchmarks
|
| 62 |
</p>
|
| 63 |
+
</div>
|
| 64 |
</div>
|
| 65 |
"""
|
| 66 |
|
style/css_html_js.py
CHANGED
|
@@ -233,6 +233,23 @@ flex-grow: 0;
|
|
| 233 |
border-color: #bda237
|
| 234 |
}
|
| 235 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
"""
|
| 237 |
|
| 238 |
get_window_url_params = """
|
|
|
|
| 233 |
border-color: #bda237
|
| 234 |
}
|
| 235 |
}
|
| 236 |
+
|
| 237 |
+
.change-log {
|
| 238 |
+
opacity: 0.8;
|
| 239 |
+
padding: 0px 50px 10px 20px;
|
| 240 |
+
border: 1px solid rgb(146 146 146 / 30%);
|
| 241 |
+
background-color: rgb(124 124 124 / 5%);
|
| 242 |
+
border-radius: 0.6em;
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
@media (prefers-color-scheme: dark) {
|
| 246 |
+
.change-log {
|
| 247 |
+
opacity: 0.9;
|
| 248 |
+
border: 1px solid rgba(255, 255, 255, .3);
|
| 249 |
+
background-color: rgba(255, 255, 255, 0.05);
|
| 250 |
+
}
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
"""
|
| 254 |
|
| 255 |
get_window_url_params = """
|