Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting TRITON_XPU_DUMP_SPIRV_KERNEL_ARGS has Key Error #3183

Open
LiyangLingIntel opened this issue Jan 16, 2025 · 0 comments · May be fixed by #3182
Open

Setting TRITON_XPU_DUMP_SPIRV_KERNEL_ARGS has Key Error #3183

LiyangLingIntel opened this issue Jan 16, 2025 · 0 comments · May be fixed by #3182
Assignees
Labels
bug Something isn't working

Comments

@LiyangLingIntel
Copy link
Contributor

Setting up TRITON_XPU_DUMP_SPIRV_KERNEL_ARGS has Key Error, like

File "/home/jovyan/intel-xpu-backend-for-triton/python/triton/runtime/jit.py", line 336, in
return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
File "/home/jovyan/intel-xpu-backend-for-triton/python/triton/runtime/jit.py", line 585, in run
kernel.run(grid_0, grid_1, grid_2, stream, kernel.function, kernel.packed_metadata,
File "/home/jovyan/intel-xpu-backend-for-triton/python/triton/backends/intel/driver.py", line 594, in call
serialize_args(args, self.constants, self.signature)
File "/home/jovyan/intel-xpu-backend-for-triton/python/triton/backends/intel/driver.py", line 556, in serialize_args
signature[counts['karg_cnt']]
KeyError: 0

@LiyangLingIntel LiyangLingIntel added the bug Something isn't working label Jan 16, 2025
@LiyangLingIntel LiyangLingIntel self-assigned this Jan 16, 2025
@LiyangLingIntel LiyangLingIntel linked a pull request Jan 16, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants