Spaces:
Sleeping
Sleeping
Commit
Β·
527deaa
1
Parent(s):
c796580
added some html to tabs
Browse files- app.py +4 -4
- src/assets/text_content.py +1 -1
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from apscheduler.schedulers.background import BackgroundScheduler
|
|
| 7 |
from src.assets.text_content import (
|
| 8 |
TITLE,
|
| 9 |
INTRODUCTION_TEXT,
|
| 10 |
-
|
| 11 |
CITATION_BUTTON_LABEL,
|
| 12 |
CITATION_BUTTON_TEXT,
|
| 13 |
)
|
|
@@ -284,10 +284,10 @@ with demo:
|
|
| 284 |
|
| 285 |
# leaderboard tabs
|
| 286 |
with gr.Tabs(elem_classes="hardware-tabs"):
|
| 287 |
-
with gr.TabItem("
|
| 288 |
with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
|
| 289 |
with gr.TabItem("π
Leaderboard π", id=0):
|
| 290 |
-
gr.HTML(
|
| 291 |
|
| 292 |
# Original leaderboard table
|
| 293 |
A100_leaderboard = gr.components.Dataframe(
|
|
@@ -299,7 +299,7 @@ with demo:
|
|
| 299 |
|
| 300 |
with gr.TabItem("π Plot π", id=1):
|
| 301 |
# Original leaderboard plot
|
| 302 |
-
gr.HTML(
|
| 303 |
|
| 304 |
# Original leaderboard plot
|
| 305 |
A100_plotly = gr.components.Plot(
|
|
|
|
| 7 |
from src.assets.text_content import (
|
| 8 |
TITLE,
|
| 9 |
INTRODUCTION_TEXT,
|
| 10 |
+
A100_TEXT,
|
| 11 |
CITATION_BUTTON_LABEL,
|
| 12 |
CITATION_BUTTON_TEXT,
|
| 13 |
)
|
|
|
|
| 284 |
|
| 285 |
# leaderboard tabs
|
| 286 |
with gr.Tabs(elem_classes="hardware-tabs"):
|
| 287 |
+
with gr.TabItem("<h1>π₯οΈ A100-80GB π₯οΈ<h1>", id=0):
|
| 288 |
with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
|
| 289 |
with gr.TabItem("π
Leaderboard π", id=0):
|
| 290 |
+
gr.HTML(A100_TEXT)
|
| 291 |
|
| 292 |
# Original leaderboard table
|
| 293 |
A100_leaderboard = gr.components.Dataframe(
|
|
|
|
| 299 |
|
| 300 |
with gr.TabItem("π Plot π", id=1):
|
| 301 |
# Original leaderboard plot
|
| 302 |
+
gr.HTML(A100_TEXT)
|
| 303 |
|
| 304 |
# Original leaderboard plot
|
| 305 |
A100_plotly = gr.components.Plot(
|
src/assets/text_content.py
CHANGED
|
@@ -8,7 +8,7 @@ Anyone from the community can request a model or a hardware/backend/optimization
|
|
| 8 |
- Hardware/Backend/Optimization performance requests should be made in the [community discussions](https://huggingface.co/spaces/optimum/llm-perf-leaderboard/discussions) to assess their relevance and feasibility.
|
| 9 |
"""
|
| 10 |
|
| 11 |
-
|
| 12 |
<ul>
|
| 13 |
<li>Singleton Batch (1)</li>
|
| 14 |
<li>Thousand Tokens (1000)</li>
|
|
|
|
| 8 |
- Hardware/Backend/Optimization performance requests should be made in the [community discussions](https://huggingface.co/spaces/optimum/llm-perf-leaderboard/discussions) to assess their relevance and feasibility.
|
| 9 |
"""
|
| 10 |
|
| 11 |
+
A100_TEXT = """<h3>Single-GPU Benchmark (1xA100):</h3>
|
| 12 |
<ul>
|
| 13 |
<li>Singleton Batch (1)</li>
|
| 14 |
<li>Thousand Tokens (1000)</li>
|