[AMD][CI] Adjust MI300 score API performance thresholds (#36290)

This commit is contained in:
Bingxu Chen
2026-08-25 09:41:36 -07:00
committed by GitHub
parent e9c9df6a52
commit 96a73c4e15
@@ -94,9 +94,15 @@ class TestBenchServing1GPUPart2(CustomTestCase):
)
self.assertEqual(res["successful_requests"], res["total_requests"])
self.assertLess(res["avg_latency_ms"], 48)
self.assertLess(res["p95_latency_ms"], 50)
self.assertGreater(res["throughput"], 20)
# relax for mi300x
if is_in_amd_ci():
self.assertLess(res["avg_latency_ms"], 60)
self.assertLess(res["p95_latency_ms"], 65)
self.assertGreater(res["throughput"], 16)
else:
self.assertLess(res["avg_latency_ms"], 48)
self.assertLess(res["p95_latency_ms"], 50)
self.assertGreater(res["throughput"], 20)
def test_score_api_batch_scaling(self):
"""Test score API performance with different batch sizes"""