From 0c2e9936ae23a859a7bc5579d74fb92a47cde653 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 1 May 2024 09:42:36 -0700 Subject: [PATCH] ui - polish Avg Latency per Toke --- .../src/components/model_dashboard.tsx | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsx index 8f12f9d6808..12e650ac72b 100644 --- a/ui/litellm-dashboard/src/components/model_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/model_dashboard.tsx @@ -1108,6 +1108,8 @@ const handleEditSubmit = async (formValues: Record) => { + Avg Latency per Token

(seconds/token)

+ average Latency for successfull requests divided by the total tokens { modelMetrics && modelMetricsCategories && ( ) => { )} - - - - Model - Median Latency/Token - - - - {modelLatencyMetrics.map((metric, idx) => ( - - {metric.model} - {metric.avg_latency_per_token.toFixed(4)} - - ))} - -
+