Change AMD test threshold (#6091)

This commit is contained in:
fzyzcjy
2025-05-08 16:05:52 +08:00
committed by GitHub
parent cef91b1ed7
commit a05bd83a94

View File

@@ -235,7 +235,7 @@ class TestBenchServing(CustomTestCase):
f'accept_length: {res["accept_length"]:.2f} \n' f'accept_length: {res["accept_length"]:.2f} \n'
) )
if os.getenv("SGLANG_AMD_CI") == "1": if os.getenv("SGLANG_AMD_CI") == "1":
self.assertLess(res["median_e2e_latency_ms"], 1450) self.assertLess(res["median_e2e_latency_ms"], 1800)
else: else:
self.assertLess(res["median_e2e_latency_ms"], 900) self.assertLess(res["median_e2e_latency_ms"], 900)
self.assertGreater(res["accept_length"], 3.0) self.assertGreater(res["accept_length"], 3.0)