michalpiszczek opened a new pull request #10087: URL: https://github.com/apache/tvm/pull/10087
- Fixes loading late bound consts when there are no late bound consts - Adds associated test When loading late bound consts for a module with none, the assertion at https://github.com/apache/tvm/blob/main/src/runtime/vm/executable.cc#L343 in `Executable::LoadLateBoundConstantsFromStream` fails because this statement https://github.com/apache/tvm/blob/main/src/runtime/vm/executable.cc#L459 in `Executable::LoadConstantSection` clears `late_bound_constant_names` if none exist. It appears, based on the assertion and subsequent logic, that `Executable::LoadLateBoundConstantsFromStream` depends on `late_bound_constant_names` having an entry for _all_ constants, with immediate constants being represented by `nullptr`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
