Skip to content

Re-organize OCP v0 and v1 docs directory structure. #1876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"id": "iabvwEt5je5e"
},
"source": [
"For further information on how to use the new API, see the [introductory tutorial](https://orbax.readthedocs.io/en/latest/guides/checkpoint/orbax_checkpoint_101.html) and the [API Overview](https://orbax.readthedocs.io/en/latest/guides/checkpoint/orbax_checkpoint_api_overview.html)."
"For further information on how to use the new API, see the [introductory tutorial](https://orbax.readthedocs.io/en/latest/guides/checkpoint/v0/orbax_checkpoint_101.html) and the [API Overview](https://orbax.readthedocs.io/en/latest/guides/checkpoint/v0/orbax_checkpoint_api_overview.html)."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@
"id": "MMPpjjErDzTT"
},
"source": [
"`PyTreeCheckpointHandler` also provides options to perform transformations when restoring. This is useful when your target tree has a different structure than your checkpoint tree. This allows you to avoid loading some keys or rename other keys. Full details are available at the [Transformations](https://orbax.readthedocs.io/en/latest/guides/checkpoint/transformations.html) page."
"`PyTreeCheckpointHandler` also provides options to perform transformations when restoring. This is useful when your target tree has a different structure than your checkpoint tree. This allows you to avoid loading some keys or rename other keys. Full details are available at the [Transformations](https://orbax.readthedocs.io/en/latest/guides/checkpoint/v0/transformations.html) page."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"id": "1Ik2ARq4JaL3"
},
"source": [
"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)."
"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/v0/orbax_checkpoint_api_overview.html)."
]
},
{
Expand All @@ -33,7 +33,7 @@
"id": "VyfEdKvwswys"
},
"source": [
"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",
"The following example shows how you can synchronously save and restore a PyTree. See [Checkpointing PyTrees](https://orbax.readthedocs.io/en/latest/guides/checkpoint/v0/checkpointing_pytrees.html) for more detail.\n",
"\n"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
"source": [
"There are some when the mapping between items and respective `CheckpointHandler`s need to be provided at the time of creating a `CheckpointManager` instance.\n",
"\n",
"CheckpointManager constructor argument, `item_handlers`, enables to resolve those scenarios. Please see [Using the Refactored CheckpointManager API](https://orbax.readthedocs.io/en/latest/guides/checkpoint/api_refactor.html) for the details.\n",
"CheckpointManager constructor argument, `item_handlers`, enables to resolve those scenarios. Please see [Using the Refactored CheckpointManager API](https://orbax.readthedocs.io/en/latest/guides/checkpoint/v0/api_refactor.html) for the details.\n",
"\n"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"cell_type": "markdown",
"source": [
"\u003cdiv class=\"alert alert-block alert-warning\"\u003e\n",
"\u003cb\u003eNote:\u003c/b\u003e The transformations library has been deprecated. Please refer to the \u003ca href=\"https://orbax.readthedocs.io/en/latest/guides/checkpoint/checkpointing_pytrees.html#partial-restore\"\u003ePartial Restoration\u003c/a\u003e documentation for information on how to restore only part of a PyTree within a checkpoint.\n",
"\u003cb\u003eNote:\u003c/b\u003e The transformations library has been deprecated. Please refer to the \u003ca href=\"https://orbax.readthedocs.io/en/latest/guides/checkpoint/v0/checkpointing_pytrees.html#partial-restore\"\u003ePartial Restoration\u003c/a\u003e documentation for information on how to restore only part of a PyTree within a checkpoint.\n",
"\u003c/div\u003e"
]
},
Expand Down
36 changes: 18 additions & 18 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ Install from GitHub using the following.
:caption: Checkpointing

guides/checkpoint/orbax_checkpoint_announcements
guides/checkpoint/orbax_checkpoint_101
guides/checkpoint/orbax_checkpoint_api_overview
guides/checkpoint/api_refactor
guides/checkpoint/checkpointing_pytrees
guides/checkpoint/checkpoint_format
guides/checkpoint/optimized_checkpointing
guides/checkpoint/transformations
guides/checkpoint/preemption_checkpointing
guides/checkpoint/v0/orbax_checkpoint_101
guides/checkpoint/v0/orbax_checkpoint_api_overview
guides/checkpoint/v0/api_refactor
guides/checkpoint/v0/checkpointing_pytrees
guides/checkpoint/v0/checkpoint_format
guides/checkpoint/v0/optimized_checkpointing
guides/checkpoint/v0/transformations
guides/checkpoint/v0/preemption_checkpointing
guides/checkpoint/async_checkpointing
guides/checkpoint/debug_guide
guides/checkpoint/v0/debug_guide
api_reference/checkpoint

.. toctree::
Expand Down Expand Up @@ -108,56 +108,56 @@ Checkpointing

.. card:: Getting Started
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/orbax_checkpoint_101.html
:link: guides/checkpoint/v0/orbax_checkpoint_101.html

.. grid-item::
:columns: 6 6 6 4

.. card:: API Overview
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/orbax_checkpoint_api_overview.html
:link: guides/checkpoint/v0/orbax_checkpoint_api_overview.html

.. grid-item::
:columns: 6 6 6 4

.. card:: API Refactor
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/api_refactor.html
:link: guides/checkpoint/v0/api_refactor.html

.. grid-item::
:columns: 6 6 6 4

.. card:: Checkpointing PyTrees of Arrays
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/checkpointing_pytrees.html
:link: guides/checkpoint/v0/checkpointing_pytrees.html

.. grid-item::
:columns: 6 6 6 4

.. card:: Checkpoint Format Guide
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/checkpoint_format.html
:link: guides/checkpoint/v0/checkpoint_format.html

.. grid-item::
:columns: 6 6 6 4

.. card:: Optimized Checkpointing
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/optimized_checkpointing.html
:link: guides/checkpoint/v0/optimized_checkpointing.html

.. grid-item::
:columns: 6 6 6 4

.. card:: Transformations
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/transformations.html
:link: guides/checkpoint/v0/transformations.html

.. grid-item::
:columns: 6 6 6 4

.. card:: Preemption Tolerance
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/preemption_checkpointing.html
:link: guides/checkpoint/v0/preemption_checkpointing.html

.. grid-item::
:columns: 6 6 6 4
Expand All @@ -171,7 +171,7 @@ Checkpointing

.. card:: Debug Guide
:class-card: sd-text-black sd-bg-light
:link: guides/checkpoint/debug_guide.html
:link: guides/checkpoint/v0/debug_guide.html

.. grid-item::
:columns: 6 6 6 4
Expand Down
Loading