Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Apr 26, 2024
1 parent 0ebdaa7 commit 0613100
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions merlin/systems/workflow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ def _initialize_ops(self, workflow_node, visited=None, restrict=None):
if visited is None:
visited = set()

if workflow_node.op and hasattr(workflow_node.op, "inference_initialize") and (
not restrict or workflow_node.op.label in restrict
if (
workflow_node.op
and hasattr(workflow_node.op, "inference_initialize")
and (not restrict or workflow_node.op.label in restrict)
):
inference_op = workflow_node.op.inference_initialize(
workflow_node.selector, self.model_config
Expand Down

0 comments on commit 0613100

Please sign in to comment.