Skip to content

Commit

Permalink
Resolve typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Sep 27, 2024
1 parent cf360bd commit 3dd11d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scico/flax/train/checkpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def checkpoint_save(state: TrainState, config: ConfigDict, workdir: Union[str, P
# Remove non-serializable partial functools in post_lst if it exists
config_ = config.copy()
if "post_lst" in config_:
config_.pop("post_lst", None)
config_.pop("post_lst", None) # type: ignore
mngr.save(
step,
args=ocp.args.Composite(
Expand Down

0 comments on commit 3dd11d7

Please sign in to comment.