Fix issue probably-meant-fstring found at https://codereview.doctor (#16913)

This commit is contained in:
code-review-doctor
2022-04-25 20:15:00 +01:00
committed by GitHub
parent fea94d6790
commit 6568752039
11 changed files with 12 additions and 12 deletions

View File

@@ -266,7 +266,7 @@ class TestTrainerExt(TestCasePlus):
)
self.assertEqual(
loss_orig, loss_bnb, "loss should be the same, but got loss_orig={loss_orig}, loss_bnb={loss_bnb}"
loss_orig, loss_bnb, f"loss should be the same, but got loss_orig={loss_orig}, loss_bnb={loss_bnb}"
)
# Additionally let's test that the absolute gpu memory difference is larger or about the