Spaces:
Running
Running
Commit
ยท
e2c5bda
1
Parent(s):
7460420
pull repo
Browse files
app.py
CHANGED
|
@@ -27,6 +27,9 @@ llm_perf_dataset_repo = load_dataset_repo(LLM_PERF_DATASET_REPO, OPTIMUM_TOKEN)
|
|
| 27 |
|
| 28 |
|
| 29 |
def get_benchmark_df(benchmark):
|
|
|
|
|
|
|
|
|
|
| 30 |
# load
|
| 31 |
df = pd.read_csv(
|
| 32 |
f"./llm-perf-dataset/reports/{benchmark}/inference_report.csv")
|
|
@@ -67,7 +70,7 @@ with demo:
|
|
| 67 |
headers=COLUMNS_MAPPING.values(),
|
| 68 |
elem_id="1xA100-table",
|
| 69 |
)
|
| 70 |
-
|
| 71 |
with gr.Row():
|
| 72 |
MULTI_A100_TEXT = """<h3>Multi-GPU (4xA100):</h3>
|
| 73 |
<ul>
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
def get_benchmark_df(benchmark):
|
| 30 |
+
if llm_perf_dataset_repo:
|
| 31 |
+
llm_perf_dataset_repo.git_pull()
|
| 32 |
+
|
| 33 |
# load
|
| 34 |
df = pd.read_csv(
|
| 35 |
f"./llm-perf-dataset/reports/{benchmark}/inference_report.csv")
|
|
|
|
| 70 |
headers=COLUMNS_MAPPING.values(),
|
| 71 |
elem_id="1xA100-table",
|
| 72 |
)
|
| 73 |
+
|
| 74 |
with gr.Row():
|
| 75 |
MULTI_A100_TEXT = """<h3>Multi-GPU (4xA100):</h3>
|
| 76 |
<ul>
|