Skip to content

Commit 564ac93

Browse files
author
Zonglin Peng
committed
jarvis-nightly-operators-test-aten-flip-out
Pull Request resolved: #15498 ghstack-source-id: 320280755 @exported-using-ghexport Differential Revision: [D85364548](https://our.internmc.facebook.com/intern/diff/D85364548/)
1 parent d409abf commit 564ac93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backends/cadence/utils/facto_util.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,12 @@ def random_size_constraint(deps: object, r: int, d: int) -> int:
444444
cp.Size.Le(lambda deps, r, d: 2**2),
445445
]
446446
)
447+
case "flip.default":
448+
tensor_constraints.extend(
449+
[
450+
cp.Dtype.In(lambda deps: [torch.float32]),
451+
]
452+
)
447453
case _:
448454
pass
449455
return tensor_constraints

0 commit comments

Comments
 (0)