Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Fix MLF input and output name map #13740

Merged
merged 1 commit into from
Jan 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions python/tvm/micro/model_library_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,12 +468,6 @@ def _export_graph_model_library_format(
input_names = list(inputs.keys())
output_names = list(outputs.keys())

input_name_to_size_map = {
name: property_map["size"] for name, property_map in inputs_sizes.items()
}
output_name_to_size_map = {
name: property_map["size"] for name, property_map in output_sizes.items()
}
generate_c_interface_header(
mod.libmod_name,
input_names,
Expand All @@ -483,8 +477,8 @@ def _export_graph_model_library_format(
devices,
workspace_size,
include_path,
input_name_to_size_map,
output_name_to_size_map,
inputs_sizes,
output_sizes,
)

is_aot = isinstance(mod, executor_factory.AOTExecutorFactoryModule)
Expand Down