Update dashboard/app.py
Browse fileskeep floats for better sorting
- 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 |
-
|
80 |
-
|
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
|