BenchmarkBot commited on
Commit
de8c89e
1 Parent(s): 6064b14
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,10 +15,10 @@ OPTIMUM_TOKEN = os.environ.get("OPTIMUM_TOKEN")
15
  OLD_COLUMNS = ["model", "backend.name", "backend.torch_dtype", "backend.quantization",
16
  "generate.latency(s)", "generate.throughput(tokens/s)"]
17
 
18
- NEW_COLUMNS = ["Model", "Backend 🏭", "Load dtype", "Quantization 🗜️",
19
  "Latency (s) ⬇️", "Throughput (tokens/s) ⬆️"]
20
 
21
- COLUMNS_TYPES = ["markdown", "text", "text", "text", "number", "number"]
22
 
23
  SORTING_COLUMN = ["Throughput (tokens/s) ⬆️"]
24
 
@@ -63,7 +63,7 @@ with demo:
63
  vanilla_benchmark_df = get_vanilla_benchmark_df()
64
  leaderboard_table_lite = gr.components.Dataframe(
65
  value=vanilla_benchmark_df,
66
- type=COLUMNS_TYPES,
67
  headers=NEW_COLUMNS,
68
  elem_id="vanilla-benchmark",
69
  )
 
15
  OLD_COLUMNS = ["model", "backend.name", "backend.torch_dtype", "backend.quantization",
16
  "generate.latency(s)", "generate.throughput(tokens/s)"]
17
 
18
+ NEW_COLUMNS = ["Model", "Backend 🏭", "Load Datatype", "Quantization 🗜️",
19
  "Latency (s) ⬇️", "Throughput (tokens/s) ⬆️"]
20
 
21
+ COLUMNS_DATATYPES = ["markdown", "text", "text", "text", "number", "number"]
22
 
23
  SORTING_COLUMN = ["Throughput (tokens/s) ⬆️"]
24
 
 
63
  vanilla_benchmark_df = get_vanilla_benchmark_df()
64
  leaderboard_table_lite = gr.components.Dataframe(
65
  value=vanilla_benchmark_df,
66
+ datatype=COLUMNS_DATATYPES,
67
  headers=NEW_COLUMNS,
68
  elem_id="vanilla-benchmark",
69
  )