Open pdhirajkumarprasad opened 1 month ago
Can you try with a debugger attached? Sometimes the tools crash in ways that don't produce messages (running through layers of Python console scripts also doesn't help)
Do you know which commit this was having problems with? I tried with fecccdc852a7e2dda30cbb924427634acb7eb820 and didn't have an issue
Edit: it also worked on TOM (currently 2dffc9e43fba24e720a122d2ae85d1ce14ed8d36)
Do you know which commit this was having problems with? I tried with fecccdc and didn't have an issue
+1, please always include version information. It's there in the issue template for a reason ;)
@IanWood1 I am using
IREE (https://iree.dev): IREE compiler version 20241018.1051 @ df5e5aab044ed5b6c5860b0b291c95eafe1c2522 LLVM version 20.0.0git Optimized build
@pdhirajkumarprasad I'm not sure whats going on here. I tried with https://github.com/iree-org/iree/commit/df5e5aab044ed5b6c5860b0b291c95eafe1c2522 but I was still was able to generate output.0.bin
@IanWood1 even with 'IREE compiler version 20241024.1057 @ 9c5b57a8b9e6981e300df02c41a296bd49e07c99' I don't see output getting generated. Are you executing the following command only?
iree-compile model.modified.mlir --iree-hal-target-backends=llvm-cpu -o compiled_model.vmfb iree-run-module --module='compiled_model.vmfb' --device=local-task --function='torch_jit' --input='1x3x224x224xf32=@input.0.bin' --output=@'output.0.bin' --input='1x3x224x224xf32=@input.0.bin' --input='1x3x224x224xf32=@input.0.bin'
I don't know what all the single quotes are for but they look wrong - "@'output.0.bin" is definitely not what you want. try removing them all or check for a file named 'output.0.bin
@benvanik even with command below, I still see output.0.bin not getting generated
iree-run-module --module=compiled_model.vmfb --device=local-task --function=torch_jit --input=1x3x224x224xf32=@input.0.bin --input=1x3x224x224xf32=@input.0.bin --input=1x3x224x224xf32=@input.0.bin --output=@output.0.bin
I just talked with @pdhirajkumarprasad, and we weren't able to figure out why he wasn't able to generate output, but I could. Could someone else take a look at this and/or provide some insight into what could be going wrong here? We checked multiple versions (most recently bb542eee65fa0a498963df1f2ee2f205a3dd8bd0) but I was still unable to reproduce the issue. Thanks
Apparently iree-run-module
is exiting with code 245, but I still haven't been able to repro
Someone will need to attach a debugger and step through.
What happened?
for the given IR
iree-run-module exiting silently without generating output
Steps to reproduce your issue
command:
input.0.bin.txt
What component(s) does this issue relate to?
Runtime
Version information
No response
Additional context
No response