8000 Update on "[Inductor] Construct subgraph with benchmarking args not e… · pytorch/pytorch@a679e8a · GitHub
[go: up one dir, main page]

Skip to content

Commit a679e8a

Browse files
committed
Update on "[Inductor] Construct subgraph with benchmarking args not example_inputs"
If the inputs to a subgraph has FlexibleLayout, the subgraph does not currently freeze the layouts here. Therefore, the `example_inputs` generated might not be consistent in layout with the `args` based in for benchmarking Differential Revision: [D74900879](https://our.internmc.facebook.com/intern/diff/D74900879/) cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov [ghstack-poisoned]
1 parent c81b6e8 commit a679e8a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/inductor/test_subgraph_choice.py

-3
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,6 @@ def func(mat1, mat2):
185185

186186
res = compiled_func(a_in, b_in)
187187

188-
# Check same results of compiled result and regular torch.mm
189-
torch.testing.assert_close(res, (a_in + 1.0) @ b_in, atol=1e-1, rtol=1e-1)
190-
191188

192189
if __name__ == "__main__":
193190
# Set env to make it work in CI.

0 commit comments

Comments
 (0)
0