Open nithinsubbiah opened 1 day ago
You can directly compile the dispatch with the following command
iree-compile --iree-hal-target-backends=rocm --iree-hip-target=gfx942 --compile-from=executable-sources input_ir.mlir \
--mlir-print-ir-after-all &> output_dump.mlir
Also it would be helpful to include dispatch specific IR dumps to issues when applicable. Here is the dump for this one.
@MaheshRavishankar @qedawkins This is another case of the same thing I have observed with the ONNX models too, not aligned to instrinsic GEMMs with fused elementwise go down LLVMGPUSIMT pipeline and then blow up shared memory usage.
task 2 in this issue should solve this https://github.com/iree-org/iree/issues/19121
You can directly compile the dispatch with the following command
iree-compile --iree-hal-target-backends=rocm --iree-hip-target=gfx942 --compile-from=executable-sources input_ir.mlir \ --mlir-print-ir-after-all &> output_dump.mlir
Also it would be helpful to include dispatch specific IR dumps to issues when applicable. Here is the dump for this one.
@MaheshRavishankar @qedawkins This is another case of the same thing I have observed with the ONNX models too, not aligned to instrinsic GEMMs with fused elementwise go down LLVMGPUSIMT pipeline and then blow up shared memory usage.
task 2 in this issue should solve this #19121
Interesting. This is a bit blocking though. It used to work before and now it isnt...
Failure happened after bubbling up extract_slice
in linalg
(https://github.com/iree-org/iree/pull/19174). The CI didn't catch the failure because of outdated IR
What happened?
The following dispatch exceeds the shared memory limit and results in error while compiling vae model. Here's the link to the whole VAE model (https://sharkpublic.blob.core.windows.net/sharkpublic/sai/sdxl-vae-decode/11-20-2024/model.mlir) and the error can be reproduced by the following command:
Down the attention spec mlir from the following link (https://raw.githubusercontent.com/nod-ai/sdxl-scripts/refs/heads/shared/sdxl_on_main/int8-model/specs/attention_and_matmul_spec.mlir) and pass the file path to
iree-codegen-transform-dialect-library
Error:
Steps to reproduce your issue
Dispatch IR
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
No response