File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1236,6 +1236,7 @@ def get_metrics_from_deployment_configs(
1236
1236
instance_type_to_display = (
1237
1237
f"{ current_instance_type } (Default)"
1238
1238
if index == 0
1239
+ and concurrent_user
1239
1240
and int (concurrent_user ) == 1
1240
1241
and current_instance_type
1241
1242
== deployment_config .deployment_args .default_instance_type
@@ -1295,7 +1296,7 @@ def _normalize_benchmark_metrics(
1295
1296
instance_type_rate = None
1296
1297
concurrent_users = {}
1297
1298
for current_instance_type_metric in benchmark_metric_stats :
1298
- if current_instance_type_metric .name .lower () == "instance rate" :
1299
+ if "instance rate" in current_instance_type_metric .name .lower ():
1299
1300
instance_type_rate = current_instance_type_metric
1300
1301
elif current_instance_type_metric .concurrency not in concurrent_users :
1301
1302
concurrent_users [current_instance_type_metric .concurrency ] = [
You can’t perform that action at this time.
0 commit comments