Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions guides/md/orbax_checkpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import orbax.checkpoint as ocp
## Orbax Callback

We need to create two main utilities to manage Orbax checkpointing in Keras:

1. `KerasOrbaxCheckpointManager`: A wrapper around
`orbax.checkpoint.CheckpointManager` for Keras models.
`KerasOrbaxCheckpointManager` uses `Model`'s `get_state_tree` and
Expand Down Expand Up @@ -278,8 +279,5 @@ d manifest.ocdbt
08372fc5734e445753b38235cb522988 c8af54d085d2d516444bd71f32a3787c
4601db15b67650f7c8818bfc8afeb9f5 cfe1e3ea313d637df6f6d2b2c66ca17a
a6ca20e04d8fe161ed95f6f71e8fe113

/usr/local/google/home/ssaadat/anaconda3/envs/keras-io/lib/python3.10/pty.py:89: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
pid, fd = os.forkpty()
```
</div>
1 change: 1 addition & 0 deletions guides/orbax_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
## Orbax Callback

We need to create two main utilities to manage Orbax checkpointing in Keras:

1. `KerasOrbaxCheckpointManager`: A wrapper around
`orbax.checkpoint.CheckpointManager` for Keras models.
`KerasOrbaxCheckpointManager` uses `Model`'s `get_state_tree` and
Expand Down