Skip to content

Commit

Permalink
missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Nov 25, 2024
1 parent a1c264e commit c9e2f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_eval_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_eval_lm():
Vocab = haliax.Axis("vocab", len(tok))
model = Gpt2LMHeadModel.init(Vocab, model_config, key=jax.random.PRNGKey(0))

state = TrainerState(0, model, model, jax.random.PRNGKey(0), True, None, None, ())
state = TrainerState(0, model, model, jax.random.PRNGKey(0), True, None, None)

save_checkpoint(state, 0, f"{f}/ckpt")

Expand Down

0 comments on commit c9e2f97

Please sign in to comment.