chore: fix typos in the tests directory (#36813)
* chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * chore: fix typos in the tests * fix: format codes * chore: fix copy mismatch issue * fix: format codes * chore: fix copy mismatch issue * chore: fix copy mismatch issue * chore: fix copy mismatch issue * chore: restore previous words * chore: revert unexpected changes
This commit is contained in:
@@ -3200,7 +3200,7 @@ class TrainerIntegrationTest(TestCasePlus, TrainerIntegrationCommon):
|
||||
|
||||
# Checkpoint at intermediate step
|
||||
enable_full_determinism(0)
|
||||
checkpoint = os.path.join(tmpdir, f"checkpoint-{resume_from_step+1}")
|
||||
checkpoint = os.path.join(tmpdir, f"checkpoint-{resume_from_step + 1}")
|
||||
trainer = get_language_model_trainer(**kwargs)
|
||||
trainer.train(resume_from_checkpoint=checkpoint)
|
||||
model_params = torch.cat([p.cpu().flatten() for p in trainer.model.parameters()])
|
||||
|
||||
Reference in New Issue
Block a user