Skip to content

Commit

Permalink
[#56987] pipeline_manager: core: Fixed construction of graph and spec…
Browse files Browse the repository at this point in the history
…ification

Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
  • Loading branch information
glatosinski committed Apr 8, 2024
1 parent d0d3a17 commit 0b4eefe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kenning/pipeline_manager/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def get_specification(
"""
self.spec_builder.metadata_add_param("twoColumn", True)
self.spec_builder.metadata_add_param("layout", self.autolayout)
self.spec_builder.metadata_add_param("navbarItems", actions)
self.spec_builder._metadata["navbarItems"] = actions

def strip_io(io_list: list, direction) -> list:
"""
Expand Down
2 changes: 2 additions & 0 deletions kenning/pipeline_manager/pipeline_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def add_block(kenning_block: Dict) -> Dict:
],
)

self.pm_graph.start_new_graph()

node_ids = {}

block_names = ["dataset", "model_wrapper", "runtime", "protocol"]
Expand Down

0 comments on commit 0b4eefe

Please sign in to comment.