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

[T = unsigned int]: Assertion `!empty()' failed during matmul transform script #17289

Open
Eliasj42 opened this issue May 6, 2024 · 0 comments
Assignees

Comments

@Eliasj42
Copy link
Contributor

Eliasj42 commented May 6, 2024

I'm seeing [T = unsigned int]: Assertion `!empty()' failed when I try to apply and transform script to a matmul.

steps to reproduce:

iree-compile --iree-hal-target-backends=rocm --iree-rocm-target-chip=gfx942 --iree-rocm-bc-dir=/opt/rocm/amdgcn/bitcode --iree-global-opt-propagate-transposes=true --iree-opt-outer-dim-concat=true --iree-opt-const-eval=false --iree-codegen-gpu-native-math-precision=true --iree-rocm-waves-per-eu=2 --iree-preprocessing-pass-pipeline='builtin.module(iree-preprocessing-transpose-convolution-pipeline)' --iree-codegen-llvmgpu-use-vector-distribution --iree-codegen-transform-dialect-library=attention_and_matmul_spec.mlir mmt-unet.mlir -o matmul-unet.vmfb

mmt-unet: https://gist.github.com/kuhar/ccd7a0b49e48017454830fe7f97ed981
mmt-unet(with only 1 matmul): https://gist.github.com/Eliasj42/1032cfe9c1405d5202bfb441e4e9ad1c
attention_amd_matmul_spec.mlir: https://gist.github.com/Eliasj42/312ba5c1c7dcdba9e173aa26cb9ac6fb

@kuhar kuhar self-assigned this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants