Skip to content

Commit

Permalink
Consolidate meta callbacks and oss callbacks in docs
Browse files Browse the repository at this point in the history
Summary: Instead of having two sections for callbacks in the docs, one for OSS and one for Meta we can combine these into one section for better discoverability of callbacks. The one downside of this change is it exposes some Meta-internal names to OSS.

Differential Revision: D46847563

fbshipit-source-id: 6b03c0885199188d3cb6456cde4752a37a56e1a5
  • Loading branch information
daniellepintz authored and facebook-github-bot committed Jul 2, 2023
1 parent 1297517 commit 262beee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
14 changes: 14 additions & 0 deletions docs/source/framework/callbacks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,17 @@ We offer several pre-written callbacks which are ready to be used out of the box
TorchSnapshotSaver
TQDMProgressBar
TrainProgressMonitor

.. fbcode::

.. currentmodule:: torchtnt.meta.framework.callbacks

.. autosummary::
:nosignatures:
:toctree: generated/
:template: class_template.rst

BaseHiveWriter
ModelStoreCheckpointer
StuckJobDetector
ZoomerProfiler
9 changes: 0 additions & 9 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ Documentation
utils/data
utils/loggers

.. fbcode::

.. toctree::
:maxdepth: 2
:caption: Framework (Meta)
:glob:

meta/framework/callbacks

.. fbcode::

.. toctree::
Expand Down

0 comments on commit 262beee

Please sign in to comment.