Skip to content

Commit a7b1559

Browse files
committed
Update on "[et][dim order] aot support for dim order variant empty op"
This diff added aot support for dim order variant empty op, including operator impl and registration, memory_format_pass update, and end2end tests on both aten and lean mode. Differential Revision: [D66738618](https://our.internmc.facebook.com/intern/diff/D66738618/) [ghstack-poisoned]
1 parent 5168351 commit a7b1559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exir/passes/memory_format_ops_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def call_operator(self, op, args, kwargs, meta):
5656
else:
5757
assert (
5858
0
59-
), f"Expecting a Tensor a ProxyValue or a Sequence, but got {type(args[0])}"
59+
), f"Expecting a Tensor, a ProxyValue, or a Sequence, but got {type(args[0])}"
6060

6161
nkwargs["dim_order"] = get_dim_order(mem_format, ndim)
6262
logger.debug(

0 commit comments

Comments
 (0)