Skip to content

Commit a3b1bfb

Browse files
committed
update: test_rex_lr_scheduler
1 parent bc3df01 commit a3b1bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_lr_schedulers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ def test_rex_lr_scheduler():
283283
)
284284

285285
for expected_lr in lrs:
286-
lr: float = lr_scheduler.step()
287-
np.testing.assert_almost_equal(expected_lr, lr, 6)
286+
_ = lr_scheduler.step()
287+
np.testing.assert_almost_equal(expected_lr, lr_scheduler.get_lr(), 6)
288288

289289

290290
def test_deberta_v3_large_lr_scheduler():

0 commit comments

Comments
 (0)