Skip to content
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
2 changes: 1 addition & 1 deletion exir/passes/sym_shape_eval_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def call(self, graph_module: GraphModule):
not isinstance(s, int) for s in concrete_stride
):
raise RuntimeError(
f"Cannot evalute the shape upper bound of a dynamic-shaped tensor to a concrete bounded integer. Got tensor spec: {spec}."
f"Cannot evaluate the shape upper bound of a dynamic-shaped tensor to a concrete bounded integer. Got tensor spec: {spec}."
f"The upper bound shape we get {concrete_shape}, the upper bound stride we get {concrete_stride}"
"This tensor could either be from 1. a data-dependent operation such as nonzero. Or 2. an input, whose don't have a constraint for the upper bound."
"Please use export's constrain_as_size() or constrain_as_value() apis and set a concrete upper bound to resolve this."
Expand Down
Loading