Skip to content

Commit

Permalink
Update test_export_fx_passes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tugsbayasgalan authored Nov 4, 2024
1 parent ea31979 commit ac632b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stablehlo/test_export_fx_passes.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def forward(self, x, dim, weight, bias, eps):
self.assertTrue(
torch.allclose(before_decomp_out, after_decomp_out, atol=1e-6))
ep_training = export(m, args, dynamic_shapes=dynamic_shapes)
ep = ep.run_decompositions({})
ep = ep_training.run_decompositions({})
decompose_dynamic_native_layer_norm(ep.graph_module)
ep.graph_module.recompile()
self.assertFalse('aten.native_layer_norm' in ep.graph_module.code)
Expand Down

0 comments on commit ac632b0

Please sign in to comment.