We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import triton import triton.language as tl import torch @triton.jit def test(values, index, output): val = tl.load(values + tl.arange(0, 4)) idx = tl.load(index + tl.arange(0, 4096)) result = val.gather(idx, axis=0) tl.store(output + tl.arange(0, 4096), result) a = torch.tensor([1, 2, 3, 4], device='cuda') b = torch.zeros((4096,), device='cuda', dtype=torch.int32) c = torch.empty((4096,), device='cuda') test[lambda _ : (4,)](a, b, c)
The program aborts the interpreter
python: /home/ubuntu/triton/lib/Dialect/TritonGPU/Transforms/OptimizeThreadLocality.cpp:232: void mlir::triton::gpu::setOptimizedGatherLayout(mlir::triton::GatherOp, mlir::RewriterBase&): Assertion `GatherLoweringHelper(op).isWarpLocal()' failed. Aborted
Triton: triton==3.2.0+git94643b23 Python: 3.10
triton==3.2.0+git94643b23
3.10
The text was updated successfully, but these errors were encountered:
hi, any update on this?
Sorry, something went wrong.
Mogball
No branches or pull requests
Describe the bug
The program aborts the interpreter
Environment details
Triton:
triton==3.2.0+git94643b23
Python:
3.10
The text was updated successfully, but these errors were encountered: