Remove torch.serialization entries from the doc ignore list (#160224)

Follows the approach done in #158581
Pull Request resolved: https://github.com/pytorch/pytorch/pull/160224
Approved by: https://github.com/janeyx99
This commit is contained in:
Joel Schlosser
2025-08-08 17:38:47 -04:00
committed by PyTorch MergeBot
parent d0c24b392c
commit 9fe3b2afbe
3 changed files with 22 additions and 12 deletions

View File

@ -492,6 +492,9 @@ coverage_ignore_functions = [
"amp_definitely_not_available", "amp_definitely_not_available",
# torch.mtia.memory # torch.mtia.memory
"reset_peak_memory_stats", "reset_peak_memory_stats",
# torch.compiler
"load_cache_artifacts",
"save_cache_artifacts",
# torch.cuda.nccl # torch.cuda.nccl
"all_gather", "all_gather",
"all_reduce", "all_reduce",
@ -1727,17 +1730,6 @@ coverage_ignore_functions = [
"tensorboard_trace_handler", "tensorboard_trace_handler",
# torch.return_types # torch.return_types
"pytree_register_structseq", "pytree_register_structseq",
# torch.serialization
"check_module_version_greater_or_equal",
"default_restore_location",
"load",
"location_tag",
"mkdtemp",
"normalize_storage_type",
"save",
"storage_to_tensor_type",
"validate_cuda_device",
"validate_hpu_device",
# torch.signal.windows.windows # torch.signal.windows.windows
"bartlett", "bartlett",
"blackman", "blackman",

View File

@ -32,3 +32,22 @@ in which they are defined. Feel free to use either the top-level version in ``to
unique_consecutive unique_consecutive
unravel_index unravel_index
``` ```
```{eval-rst}
.. automodule:: torch.serialization
.. currentmodule:: torch.serialization
.. autosummary::
:toctree: generated
:nosignatures:
check_module_version_greater_or_equal
default_restore_location
load
location_tag
mkdtemp
normalize_storage_type
save
storage_to_tensor_type
validate_cuda_device
validate_hpu_device
```

View File

@ -808,7 +808,6 @@ Operator Tags
.. py:module:: torch.utils.viz .. py:module:: torch.utils.viz
.. py:module:: torch.quasirandom .. py:module:: torch.quasirandom
.. py:module:: torch.return_types .. py:module:: torch.return_types
.. py:module:: torch.serialization
.. py:module:: torch.signal.windows.windows .. py:module:: torch.signal.windows.windows
.. py:module:: torch.sparse.semi_structured .. py:module:: torch.sparse.semi_structured
.. py:module:: torch.storage .. py:module:: torch.storage