Skip to content

Commit

Permalink
[AdHoc] Test fix: clear metrics and simplify the replicated counter (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rpsilva-aws authored Dec 11, 2024
1 parent aa56abc commit 7ef4a12
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/spmd/test_spmd_lowering_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ def fn(x, y):
assert expected_output[1] == f"f32[32,2048] {b_sharding_spec}"
assert expected_output[2] == f"f32[2048] {a_sharding_spec}"
assert expected_output[3] == f"f32[32,2048] {b_sharding_spec}"
self.assertTrue(met.counter_value("ExecuteReplicated") == 1)
self.assertTrue(met.counter_value("ExecuteComputation") is None)

def test_device_parameter_id_tensor_mapping(self):
met.clear_all()
Expand Down

0 comments on commit 7ef4a12

Please sign in to comment.