Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
53225be
1
Parent(s):
223c247
fix bug
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def get_benchmark_df(benchmark="1xA100-80GB"):
|
|
74 |
# create composite score
|
75 |
score_distance = 100 - bench_df["score"]
|
76 |
latency_distance = bench_df["generate.latency(s)"]
|
77 |
-
bench_df["perf"] = 1 /
|
78 |
# normalize between 0 and 100
|
79 |
bench_df["perf"] = (
|
80 |
(bench_df["perf"] - bench_df["perf"].min())
|
|
|
74 |
# create composite score
|
75 |
score_distance = 100 - bench_df["score"]
|
76 |
latency_distance = bench_df["generate.latency(s)"]
|
77 |
+
bench_df["perf"] = 1 / ((score_distance**2 + latency_distance**2) ** 0.5)
|
78 |
# normalize between 0 and 100
|
79 |
bench_df["perf"] = (
|
80 |
(bench_df["perf"] - bench_df["perf"].min())
|