BenchmarkBot commited on
Commit
53225be
β€’
1 Parent(s): 223c247
Files changed (1) hide show
  1. app.py +1 -1
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 / math.sqrt(score_distance**2 + latency_distance**2)
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())