-
Notifications
You must be signed in to change notification settings - Fork 37
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
[Bug]: Issue with 1x1 Tensors (arith.cmpi) & tt.call #162
Comments
Update: For Issue 2, even this very basic code still produces the same error of tt.call not referencing a valid function. No idea why.
|
Seems like the main issue is that tt.call (triton::CallOp) is currently unsupported by triton-shared. |
That is an easy fix that I can do, I can convert triton call to an LLVM call, but the question is where to get this function which is being called? |
Thank you! This function is defined in the same MLIR file. The MLIR file contains the function declaration already, it's just that it cannot be called by tt.call. |
sounds good, let me get back to you with a patch |
Triton python code
Triton IR
Crash log
No response
Additional information
I'm running the following command on the MLIR file included above:
triton-shared-opt --triton-to-linalg-experimental file.mlir
. Two issues arise.%6 = arith.cmpi slt, %5, %cst : tensor<1x1xi32>
, I get the following error:Why is are 1x1 tensors unsupported? As a result, I commented out that assertion in Line 318 of the MaskAnalysis.cpp file and ran the above command again. Which leads to Issue 2.
The text was updated successfully, but these errors were encountered: