iree: resnet_fake_weights.mlir doesn't work in Linalg on tensors path
Describe the bug The issue happens in running the module. The compilation was done without any error messages.
The error message is from hal_module.c:
iree/modules/hal/hal_module.c:742: OUT_OF_RANGE; binding count 37 > 32; while invoking native function hal.descriptor_set_layout.create; while calling import; Creating context; Evaluating functions
To Reproduce
Run: iree-run-mlir iree/test/e2e/models/resnet_fake_weights.mlir -iree-hal-target-backends=dylib-llvm-aot -function-input="1x224x224x3xf32"
You can also use iree-translate
+ iree-run-module
. The issue will happen in iree-run-module
.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (8 by maintainers)
Commits related to this issue
- Actually make MobileBERT run in the test. Previously added MobileBERT test was only compiling the model, but not running it due to `iree.symbol.export` not being set on the function. Fixing that lea... — committed to MaheshRavishankar/iree by deleted user 3 years ago
- Actually make MobileBERT run in the test. Previously added MobileBERT test was only compiling the model, but not running it due to `iree.symbol.export` not being set on the function. Fixing that lea... — committed to MaheshRavishankar/iree by deleted user 3 years ago
- Actually make MobileBERT run in the test. (#5264) Previously added MobileBERT test was only compiling the model, but not running it due to `iree.symbol.export` not being set on the function. Fix... — committed to iree-org/iree by MaheshRavishankar 3 years ago
The whole log file is too big, I have the IR after OrdinalAllocationPass https://gist.github.com/hanhanW/5c6badfa299ec757fa3e38f45aad753c
The whole log file can be downloaded from https://drive.google.com/file/d/1Tb8_ANEpS3NFFDjRN9bEnosabBHpgeNL/view?usp=sharing