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
_scaled_dot_product_flash_attention_for_cpu can't be rewrite in ReduceOpVariantsPass. Because of string not pattern.
torch-mlir/lib/Dialect/Torch/Transforms/ReduceOpVariants.cpp
Line 240 in 0c29ccf
I found out the reason is:
torch-mlir/projects/jit_ir_common/csrc/jit_ir_importer/torch_to_mlir_utils.cpp
Line 541 in 0c29ccf
Modify the code and it will work.
return createMlirOperationAtEnd( appendToBlock, "torch.operator", loc, resultTypes, operands, toMlirNamedAttribute( "name", mlirStringAttrGet(context, toMlirStringRef(opName))));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
_scaled_dot_product_flash_attention_for_cpu can't be rewrite in ReduceOpVariantsPass.
Because of string not pattern.
torch-mlir/lib/Dialect/Torch/Transforms/ReduceOpVariants.cpp
Line 240 in 0c29ccf
I found out the reason is:
torch-mlir/projects/jit_ir_common/csrc/jit_ir_importer/torch_to_mlir_utils.cpp
Line 541 in 0c29ccf
Modify the code and it will work.
The text was updated successfully, but these errors were encountered: