Skip to content

Commit d359b80

Browse files
authored
Fix small typo in sym_shape_eval_pass
Differential Revision: D68962203 Pull Request resolved: #8099
1 parent ca7cdc8 commit d359b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exir/passes/sym_shape_eval_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def call(self, graph_module: GraphModule):
278278
not isinstance(s, int) for s in concrete_stride
279279
):
280280
raise RuntimeError(
281-
f"Cannot evalute the shape upper bound of a dynamic-shaped tensor to a concrete bounded integer. Got tensor spec: {spec}."
281+
f"Cannot evaluate the shape upper bound of a dynamic-shaped tensor to a concrete bounded integer. Got tensor spec: {spec}."
282282
f"The upper bound shape we get {concrete_shape}, the upper bound stride we get {concrete_stride}"
283283
"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."
284284
"Please use export's constrain_as_size() or constrain_as_value() apis and set a concrete upper bound to resolve this."

0 commit comments

Comments
 (0)