Open ScottTodd opened 1 month ago
Traced this a bit.
We only log stderr on failure here, but we still return stdout: https://github.com/nod-ai/SHARK-TestSuite/blob/3603a453b3777fac9af4506a3dc0b3d87587fd47/iree_tests/benchmarks/sdxl/benchmark_sdxl_rocm.py#L23-L32
We get that stdout output here and pass it to job_summary_process
: https://github.com/nod-ai/SHARK-TestSuite/blob/3603a453b3777fac9af4506a3dc0b3d87587fd47/iree_tests/benchmarks/sdxl/benchmark_sdxl_rocm.py#L174-L176
The stdout output is then ignored in job_summary_process
if the ret value is 1: https://github.com/nod-ai/SHARK-TestSuite/blob/3603a453b3777fac9af4506a3dc0b3d87587fd47/iree_tests/benchmarks/sdxl/benchmark_sdxl_rocm.py#L159-L167
New coverage with pytest prior to the benchmark script also helps here.
Landed a fix in IREE. Can copy it to this repo as well or just call this fixed.
On https://github.com/iree-org/iree/pull/17847, compilation failed and the benchmark job using
iree_tests/benchmarks/sdxl/benchmark_sdxl_rocm.py
at https://github.com/nod-ai/SHARK-TestSuite/commit/3603a453b3777fac9af4506a3dc0b3d87587fd47 did not handle that gracefully:https://github.com/iree-org/iree/actions/runs/9874435266/job/27269408927#step:16:46