You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Simple function that just returns produces a module that can't be loaded #21066
An MLIR that is a function that just returns the argument results in a module that can not be loaded.
c/runtime/src/iree/vm/bytecode/module.c:99: NOT_FOUND; no type registered with name '!torch.vtensor<[5],f32>'; loading bytecode module at 'model.vmfb'; loading modules and dependencies; creating run context
changed the title [-]Simple function that just returns can't produces a module that can't be loaded[/-][+]Simple function that just returns can't produces a module that can be loaded[/+]on Jun 10, 2025
changed the title [-]Simple function that just returns can't produces a module that can be loaded[/-][+]Simple function that just returns produces a module that can't be loaded[/+]on Jun 10, 2025
I suspect the input type auto detection is looking for ops and not finding any. The error you're getting is what happens with custom types, and if the torch input pipeline never runs the vtensor remains. The auto input selection needs to also look at function types.
Activity
[-]Simple function that just returns can't produces a module that can't be loaded[/-][+]Simple function that just returns can't produces a module that can be loaded[/+][-]Simple function that just returns can't produces a module that can be loaded[/-][+]Simple function that just returns produces a module that can't be loaded[/+]benvanik commentedon Jun 10, 2025
I suspect the input type auto detection is looking for ops and not finding any. The error you're getting is what happens with custom types, and if the torch input pipeline never runs the vtensor remains. The auto input selection needs to also look at function types.
Triggering auto torch input conversion based on func arg/result types.
Triggering auto torch input conversion based on func arg/result types. (
Triggering auto torch input conversion based on func arg/result types. (