Skip to content

Commit

Permalink
fix: pass on sliced big parameter for sliced super OP
Browse files Browse the repository at this point in the history
Signed-off-by: zjgemi <[email protected]>
  • Loading branch information
zjgemi committed May 29, 2024
1 parent b4f5452 commit a2e1867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dflow/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -2288,8 +2288,8 @@ def add_slices(templ: OPTemplate, slices: Slices, layer=0):
for step in steps:
for par in list(step.inputs.parameters.values()):
# input parameter referring to sliced input parameter
if getattr(par, "value", None) is \
templ.inputs.parameters[name]:
if getattr(par, "value", None) is templ.inputs.parameters[
name] or par.source is templ.inputs.parameters[name]:
templ.inputs.parameters["dflow_skip_slice_input"] = \
InputParameter(value=0)
if hasattr(step.template, "set_skip_slice_input"):
Expand Down

0 comments on commit a2e1867

Please sign in to comment.