Open monorimet opened 12 months ago
Thanks for filing the issue, I will take a look at it!
Hey @monorimet I checked the core-command-line.txt and found that it is using host
features. Can you provide a way to reproduce it without using --iree-llvmcpu-target-cpu-features=host
?
I can compile the core-input.mlir
with the following command:
build/tools/iree-compile \
--output-format=vm-bytecode \
--iree-hal-target-backends=llvm-cpu \
--iree-llvmcpu-target-cpu=cascadelake \
--iree-llvmcpu-target-triple=x86_64-unknown-linux-gnu \
~/core-input.mlir -o /tmp/a.vmfb
Copying the error message out from the log, so people don't have to click into it. The error is'iree_linalg_ext.set_encoding' op unhandled tensor operation
.
What happened?
Stable Diffusion UNet fails to compile as of https://github.com/nod-ai/SRT/releases/tag/candidate-20231130.600
Full log available at: https://github.com/nod-ai/SHARK/actions/runs/7051976572/job/19196033642#step:11:1010
Compiles successfully with
--iree-opt-data-tiling=False
Reproducers are located at: https://console.cloud.google.com/storage/browser/shark-public/ean/unet-data-tiling
I can narrow this down further when I have some more cycles to spare, but for now I have data tiling disabled by default on SD sub-model compilation in SHARK. Let me know if I can provide specific follow-up otherwise I'll minimize the reproducers when I get a chance.
Steps to reproduce your issue
What component(s) does this issue relate to?
Compiler
Version information
No response
Additional context
No response