fix the test_fleet_lars_meta_optimizer ut. (#27291)

cancel_disable_ut
Zhen Wang 4 years ago committed by GitHub
parent 4e8582fe5a
commit ef6dd6b8e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -141,7 +141,7 @@ class TestFleetLambMetaOptimizer(unittest.TestCase):
ops = [op.type for op in avg_cost.block.ops]
self.assertIn('lamb', ops)
self.assertIn('cast', ops)
self.assertIn('isfinite', ops)
self.assertIn('check_finite_and_unscale', ops)
if __name__ == "__main__":

@ -145,7 +145,7 @@ class TestFleetLarsMetaOptimizer(unittest.TestCase):
ops = [op.type for op in avg_cost.block.ops]
self.assertIn('lars_momentum', ops)
self.assertIn('cast', ops)
self.assertIn('isfinite', ops)
self.assertIn('check_finite_and_unscale', ops)
if __name__ == "__main__":

Loading…
Cancel
Save