This issue is reported to IGC originally. The root cause is related to the Triton auto-grf retrying threshold.
Copied the issue to Triton XPU repo to track.
Comments from [Kwasniewski, Patryk]:
The exact flow is this:
- Old driver/RemoveUnusedIdImplicitArguments=0 - the kernel is compiled with 1472 spills, which triggers a recompilation on application level (a separate IGC call) with -cl-intel-256-GRF-per-thread. This compiles without spills and this version is used for execution.
- New driver/RemoveUnusedIdImplicitArguments=1 - the kernel is compiled with 896 spills, the recompilation is not triggered, and this version is used.
if anything, this is an improvement: it shows that change works well, reducing spills from 1472 to 896. The issue is that now "better" kernel does not triggers recompilation with large GRF mode.
This issue is reported to IGC originally. The root cause is related to the Triton auto-grf retrying threshold.
Copied the issue to Triton XPU repo to track.
Comments from [Kwasniewski, Patryk]:
The exact flow is this: