fix sparge on torch2.13 - #2130
Merged
Merged
Conversation
triton 3.7.x enables has_predicated_io for non-LTS Intel GPU drivers and emits the SPV_INTEL_predicated_io SPIR-V extension. Some level-zero loaders (e.g. 1.13.35563) reject that extension at kernel load time, aborting every triton kernel launch with 'InvalidModule: ... unknown extension'. Since it is not a catchable Python exception, the torch preprocess fallback never ran and the whole benchmark died. Add auto_round_kernel/_xpu_triton_compat.py which patches the intel triton backend to force has_predicated_io off (standard predicated loads instead), and apply it when the triton preprocess module loads. The triton-xpu preprocess backend now works and is faster than torch (seq 32768/50% e2e: 327ms -> 206ms).
tools/run_sparse_sagev1_bench.sh documents and runs the sparse SAGE v1 (fp16 / INT8) benchmark on main: sources oneAPI, pins a GPU, uses the rebuilt extension, and saves timestamped CSV + log under benchmarks/results/. Includes env overrides and a note on the triton preprocess backend.
for more information, see https://pre-commit.ci
Collaborator
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
jijiaz
pushed a commit
to jijiaz/auto-round
that referenced
this pull request
Aug 8, 2026
Signed-off-by: yiliu30 <yi4.liu@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please briefly describe your main changes, the motivation.
Type of Change
Bug fix
Related Issues
Fixes or relates to #
Checklist Before Submitting
/azp run Unit-Test-CUDA-AutoRound.