Add a title to distributed._dist2.md (#159385)

Sphinx likes titles and complains about them when they are not there. So adding a title to address this Wartning in the build:
```
WARNING: toctree contains reference to document 'distributed._dist2' that doesn't have a title: no link will be generated
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/159385
Approved by: https://github.com/d4l3k
This commit is contained in:
Svetlana Karslioglu
2025-07-30 04:09:38 +00:00
committed by PyTorch MergeBot
parent 96ac64d00c
commit d214901133
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,5 @@
# Experimental Object Oriented Distributed API
```{eval-rst}
.. role:: hidden
:class: hidden-section

View File

@ -1,7 +1,4 @@
"""
Experimental Object Oriented Distributed API - torch.distributed._dist2
=======================================================================
This is an experimental new API for PyTorch Distributed. This is actively in development and subject to change or deletion entirely.
This is intended as a proving ground for more flexible and object oriented distributed APIs.