Open gpetters-amd opened 3 months ago
I'll be adding reproducers once I get them uploaded
if you are using parameters then you'll need to pass the parameters by way of loading the parameters module. This is the runtime saying "hey, your module tried to use parameters but the application never told me they exist".
https://iree.dev/guides/parameters/#from-python
Reference code:
What happened?
Compiling a model (Llama2) on various backends, compilation succeeds but ireert is unable to load the vmfb on any of them. They all fail with
Error creating vm context with modules: c/runtime/src/iree/vm/context.c:156: NOT_FOUND; required module 'io_parameters' not registered on the context
Steps to reproduce your issue
python repro.py
What component(s) does this issue relate to?
Compiler, Runtime
Version information
20240621.931
Additional context
This is on SHARK-Turbine and IREE_SAVE_TEMPS isn't outputting reproducers, so it may be hard to get a smaller reproducer.