[CI] fix piecewise graph test case on ascend (#16933)
This commit is contained in:
@@ -38,8 +38,8 @@ class TestPiecewiseGraphPrefillCorrectness(CustomTestCase):
|
|||||||
128,
|
128,
|
||||||
"--enable-piecewise-cuda-graph",
|
"--enable-piecewise-cuda-graph",
|
||||||
"--piecewise-cuda-graph-tokens",
|
"--piecewise-cuda-graph-tokens",
|
||||||
TOKENS_TO_CAPTURE,
|
]
|
||||||
],
|
+ TOKENS_TO_CAPTURE,
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@@ -79,8 +79,8 @@ class TestPiecewiseGraphPrefillBenchmark(CustomTestCase):
|
|||||||
"ascend",
|
"ascend",
|
||||||
"--enable-piecewise-cuda-graph",
|
"--enable-piecewise-cuda-graph",
|
||||||
"--piecewise-cuda-graph-tokens",
|
"--piecewise-cuda-graph-tokens",
|
||||||
TOKENS_TO_CAPTURE,
|
]
|
||||||
],
|
+ TOKENS_TO_CAPTURE,
|
||||||
)
|
)
|
||||||
self.assertLess(prefill_latency, EXP_PREFILL_LATENCY)
|
self.assertLess(prefill_latency, EXP_PREFILL_LATENCY)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user