textgeflecht commited on
Commit
b5adb0e
·
verified ·
1 Parent(s): 8fd7140

Update dashboard/app.py

Browse files

keep floats for better sorting

Files changed (1) hide show
  1. dashboard/app.py +3 -3
dashboard/app.py CHANGED
@@ -75,9 +75,9 @@ def run(from_results_dir, datasource, port):
75
  ['run_id', 'model', 'rate', 'inter_token_latency_ms_p90', 'time_to_first_token_ms_p90',
76
  'e2e_latency_ms_p90',
77
  'token_throughput_secs']]
78
- for metric in ['inter_token_latency_ms_p90', 'time_to_first_token_ms_p90', 'e2e_latency_ms_p90',
79
- 'token_throughput_secs']:
80
- data[metric] = data[metric].apply(lambda x: f"{x:.2f}")
81
  data = data.rename(
82
  columns=column_mappings)
83
  return data
 
75
  ['run_id', 'model', 'rate', 'inter_token_latency_ms_p90', 'time_to_first_token_ms_p90',
76
  'e2e_latency_ms_p90',
77
  'token_throughput_secs']]
78
+ #for metric in ['inter_token_latency_ms_p90', 'time_to_first_token_ms_p90', 'e2e_latency_ms_p90',
79
+ # 'token_throughput_secs']:
80
+ # data[metric] = data[metric].apply(lambda x: f"{x:.2f}")
81
  data = data.rename(
82
  columns=column_mappings)
83
  return data