Skip to content

Commit

Permalink
ljkdmald
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Jan 22, 2025
1 parent 7cd4791 commit 8970237
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/levanter/trainer_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ class TrainerState(eqx.Module, Generic[M]):
optimizer: GradientTransformation = eqx.field(static=True)
opt_state: OptState
training_key: PRNGKeyArray
model_averaging: ModelAveraging[M] | None = None

is_trainable: FilterTree = eqx.field(static=True)
mp: jmp.Policy = eqx.field(static=True)

model_averaging: ModelAveraging[M] | None = None

@property
def int_step(self) -> int:
"""
Expand Down

0 comments on commit 8970237

Please sign in to comment.