|
15 | 15 | "id": "1Ik2ARq4JaL3" |
16 | 16 | }, |
17 | 17 | "source": [ |
18 | | - "This page serves as a simple overview of common tasks that you may wish to accomplish with Orbax. For more in-depth documentation of the API's, see [API Overview](https://orbax.readthedocs.io/en/latest/guides/checkpoint/orbax_checkpoint_api_overview.html)." |
| 18 | + "This page serves as a simple overview of common tasks that you may wish to accomplish with Orbax. For more in-depth documentation of the API's, see {doc}`API Overview</guides/checkpoint/orbax_checkpoint_api_overview>`." |
19 | 19 | ] |
20 | 20 | }, |
21 | 21 | { |
|
33 | 33 | "id": "VyfEdKvwswys" |
34 | 34 | }, |
35 | 35 | "source": [ |
36 | | - "The following example shows how you can synchronously save and restore a PyTree. See [Checkpointing PyTrees](https://orbax.readthedocs.io/en/latest/guides/checkpoint/checkpointing_pytrees.html) for more detail.\n", |
| 36 | + "The following example shows how you can synchronously save and restore a PyTree. See {doc}`Checkpointing PyTrees</guides/checkpoint/checkpointing_pytrees>` for more detail.\n", |
37 | 37 | "\n" |
38 | 38 | ] |
39 | 39 | }, |
|
106 | 106 | "source": [ |
107 | 107 | "To save and restore, we create a `Checkpointer` object. The `Checkpointer` must be constructed with a `CheckpointHandler` - essentially as a configuration providing the `Checkpointer` with the logic needed to save and restore your object.\n", |
108 | 108 | "\n", |
109 | | - "For PyTrees, the most common checkpointable object, we can use the convenient shorthand of `StandardCheckpointer`, which is the same as `Checkpointer(StandardCheckpointHandler())` (see [docs](https://orbax.readthedocs.io/en/latest/api_reference/checkpoint.checkpoint_handlers.html#standardcheckpointhandler) for more info)." |
| 109 | + "For PyTrees, the most common checkpointable object, we can use the convenient shorthand of `StandardCheckpointer`, which is the same as `Checkpointer(StandardCheckpointHandler())` (see {py:class}`StandardCheckpointHandler <orbax.checkpoint.StandardCheckpointHandler>` for more info)." |
110 | 110 | ] |
111 | 111 | }, |
112 | 112 | { |
|
161 | 161 | "id": "LI-3bCyMEUCC" |
162 | 162 | }, |
163 | 163 | "source": [ |
164 | | - "It is often necessary to deal with multiple distinct checkpointable objects at once, often with different types. A `Checkpointer` combined with a `CompositeCheckpointHandler` ([docs](https://orbax.readthedocs.io/en/latest/api_reference/checkpoint.checkpoint_handlers.html#compositecheckpointhandler)) can be used to represent a single checkpoint consisting of multiple sub-items, each represented by a sub-directory within the checkpoint." |
| 164 | + "It is often necessary to deal with multiple distinct checkpointable objects at once, often with different types. A `Checkpointer` combined with a {py:class}`CompositeCheckpointHandler <orbax.checkpoint.CompositeCheckpointHandler>` can be used to represent a single checkpoint consisting of multiple sub-items, each represented by a sub-directory within the checkpoint." |
165 | 165 | ] |
166 | 166 | }, |
167 | 167 | { |
|
274 | 274 | "id": "sYxNt2Zrw_Yt" |
275 | 275 | }, |
276 | 276 | "source": [ |
277 | | - "In the context of training a model, it is helpful to deal with a series of steps. The `CheckpointManager` allows you to save steps sequentially, according to a given period, cleaning up after a certain number are stored, and many other [functionalities](https://orbax.readthedocs.io/en/latest/api_reference/checkpoint.checkpoint_manager.html#checkpointmanageroptions).\n", |
| 277 | + "In the context of training a model, it is helpful to deal with a series of steps. The `CheckpointManager` allows you to save steps sequentially, according to a given period, cleaning up after a certain number are stored, and many other functionalities(check {py:class}`CheckpointManagerOptions <orbax.checkpoint.CheckpointManagerOptions>` for more info).\n", |
278 | 278 | "\n", |
279 | | - "**Beware: `CheckpointManager.save(...)` happens in a background thread by default. See [Asynchronous Checkpointing](https://orbax.readthedocs.io/en/latest/guides/checkpoint/async_checkpointing.html) for more details.**\n", |
| 279 | + "**Beware: `CheckpointManager.save(...)` happens in a background thread by default. See {doc}`Asynchronous Checkpointing</guides/checkpoint/async_checkpointing>` for more details.**\n", |
280 | 280 | "\n" |
281 | 281 | ] |
282 | 282 | }, |
|
0 commit comments