Repository: pytorch
Issue: Fix docstring errors in embedding.py, _limiter_utils.py, _dynamo_utils.py, embedding_bag.py, tensor_ops.py, api.py, _internals.py, _common.py, init.py, _exec_order_utils.py, _traversal_utils.py, chunk_sharding_spec.py, _trace_utils.py
Labels: module: docs,triaged,medium,docathon-h2-2023

Please fix the following issues.
First, make sure to install the required tools:
```
pip3 install pydocstyle
```
```
pip3 install ruff
```
Then complete the followings steps:
 1. Run `pydocstyle` to see the number of errors in the file: 
 ```
pydocstyle path-to-file --count
```
 &nbsp; &nbsp; This command prints out the number of errors at the end of the output. Save this output to later add it to your PR description.
2. Next, run `ruff` which should help autofix many of these errors:
```
ruff --select RULECODE --fix path_to_file
```
&nbsp; &nbsp; `RULECODE` is the error code from the output in the issue, for example, **D200**. See the complete list of rules and autofixes [here](https://docs.astral.sh/ruff/rules/#pydocstyle-d).
3. You can run the above command with the `--unsafe-fixes` option. Double-check that the applied fixes are correct.
4. Fix the remaining issues. Fix **only** the errors listed in the issue. Skip the 'Missing docstrings' errors.
5. Run pydocstyle again:
```
pydocstyle path-to-file --count
```
This **number might not be 0** which is **OK**. Add the count of fixed errors to your PR description. 
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `metadata`, **Line**: 119, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `metadata`, **Line**: 119, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `metadata`, **Line**: 119, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `local_shards`, **Line**: 126, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `local_shards`, **Line**: 126, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `local_shards`, **Line**: 126, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_init_from_local_shards_and_global_metadata`, **Line**: 140, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_init_from_local_shards_and_global_metadata`, **Line**: 140, **Description**: First line should end with a period (not 'l')
- **Error Code**: **D204**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `ShardedTensor`, **Line**: 189, **Description**: 1 blank line required after class docstring (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `ShardedTensor`, **Line**: 189, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `ShardedTensor`, **Line**: 189, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_get_preferred_device`, **Line**: 362, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `gather`, **Line**: 376, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `gather`, **Line**: 376, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `gather`, **Line**: 376, **Description**: First line should be in imperative mood (perhaps 'Create', not 'Creates')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `cpu`, **Line**: 469, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `cuda`, **Line**: 526, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `cuda`, **Line**: 526, **Description**: First line should end with a period (not 'r')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `cuda`, **Line**: 526, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_init_from_local_tensor`, **Line**: 738, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_init_from_local_tensor`, **Line**: 738, **Description**: First line should end with a period (not 'r')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_init_from_local_shards_and_global_metadata`, **Line**: 843, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_init_from_local_shards_and_global_metadata`, **Line**: 843, **Description**: First line should end with a period (not 'l')
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `sharding_spec`, **Line**: 976, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `sharding_spec`, **Line**: 976, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `reshard`, **Line**: 982, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `reshard`, **Line**: 982, **Description**: First line should end with a period (not 't')
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `is_pinned`, **Line**: 1141, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `is_pinned`, **Line**: 1141, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `remote_shards`, **Line**: 1150, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `remote_shards`, **Line**: 1150, **Description**: First line should end with a period (not 's')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `remote_shards`, **Line**: 1150, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `ProcessGroupState`, **Line**: 1171, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D204**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `ProcessGroupState`, **Line**: 1171, **Description**: 1 blank line required after class docstring (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `ProcessGroupState`, **Line**: 1171, **Description**: First line should end with a period (not 'p')
- **Error Code**: **D210**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_create_tensor_from_params`, **Line**: 1231, **Description**: No whitespaces allowed surrounding docstring text
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/api.py`, **Entity**: `_create_tensor_from_params`, **Line**: 1231, **Description**: First line should be in imperative mood; try rephrasing (found 'Helper')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/_common.py`, **Entity**: `_sharded_op_common`, **Line**: 10, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/_common.py`, **Entity**: `_sharded_op_common`, **Line**: 10, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/_common.py`, **Entity**: `_register_sharded_op_on_local_shards`, **Line**: 60, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/_common.py`, **Entity**: `_register_sharded_op_on_local_shards`, **Line**: 60, **Description**: First line should end with a period (not 'n')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/_common.py`, **Entity**: `_register_sharded_op_on_local_shards`, **Line**: 60, **Description**: First line should be in imperative mood (perhaps 'Handle', not 'Handles')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `uniform_`, **Line**: 13, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `uniform_`, **Line**: 13, **Description**: First line should end with a period (not 'm')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `uniform_`, **Line**: 13, **Description**: First line should be in imperative mood (perhaps 'Fill', not 'Fills')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `normal_`, **Line**: 35, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `normal_`, **Line**: 35, **Description**: First line should end with a period (not 'l')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `normal_`, **Line**: 35, **Description**: First line should be in imperative mood (perhaps 'Fill', not 'Fills')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `kaiming_uniform_`, **Line**: 57, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `kaiming_uniform_`, **Line**: 57, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `kaiming_uniform_`, **Line**: 57, **Description**: First line should be in imperative mood (perhaps 'Fill', not 'Fills')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `constant_`, **Line**: 93, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `constant_`, **Line**: 93, **Description**: First line should be in imperative mood (perhaps 'Fill', not 'Fills')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `tensor_creation_op`, **Line**: 121, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `tensor_creation_op`, **Line**: 121, **Description**: First line should end with a period (not 't')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/init.py`, **Entity**: `tensor_creation_op`, **Line**: 121, **Description**: First line should be in imperative mood (perhaps 'Handle', not 'Handles')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/tensor_ops.py`, **Entity**: `sharded_type_as_check`, **Line**: 60, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/tensor_ops.py`, **Entity**: `sharded_type_as_check`, **Line**: 60, **Description**: First line should end with a period (not 'o')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharded_tensor/_ops/tensor_ops.py`, **Entity**: `sharded_type_as`, **Line**: 86, **Description**: First line should be in imperative mood (perhaps 'Handle', not 'Handles')
- **Error Code**: **D204**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `PlacementSpec`, **Line**: 25, **Description**: 1 blank line required after class docstring (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `PlacementSpec`, **Line**: 25, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `PlacementSpec`, **Line**: 25, **Description**: First line should end with a period (not 's')
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `ShardingSpec`, **Line**: 49, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D204**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `ShardingSpec`, **Line**: 49, **Description**: 1 blank line required after class docstring (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `build_metadata`, **Line**: 57, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `build_metadata`, **Line**: 57, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `shard`, **Line**: 73, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `shard`, **Line**: 73, **Description**: First line should end with a period (not 'r')
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `_has_custom_op`, **Line**: 93, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `_has_custom_op`, **Line**: 93, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `_dispatch_custom_op`, **Line**: 100, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `_dispatch_custom_op`, **Line**: 100, **Description**: First line should be in imperative mood (perhaps 'Call', not 'Calls')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `custom_sharding_spec_op`, **Line**: 110, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `custom_sharding_spec_op`, **Line**: 110, **Description**: First line should be in imperative mood (perhaps 'Decorate', not 'Decorator')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `EnumerableShardingSpec`, **Line**: 128, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `EnumerableShardingSpec`, **Line**: 128, **Description**: First line should end with a period (not 'c')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/api.py`, **Entity**: `_infer_sharding_spec_from_shards_metadata`, **Line**: 170, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec.py`, **Entity**: `ChunkShardingSpec`, **Line**: 27, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec.py`, **Entity**: `ChunkShardingSpec`, **Line**: 27, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec.py`, **Entity**: `shard`, **Line**: 117, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec.py`, **Entity**: `shard`, **Line**: 117, **Description**: First line should end with a period (not '
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `_check_shard_metadata_pair_overlap`, **Line**: 7, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D202**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `_check_shard_metadata_pair_overlap`, **Line**: 7, **Description**: No blank lines allowed after function docstring (found 1)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `_check_shard_metadata_pair_overlap`, **Line**: 7, **Description**: First line should be in imperative mood (perhaps 'Check', not 'Checks')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `validate_non_overlapping_shards_metadata`, **Line**: 72, **Description**: First line should be in imperative mood (perhaps 'Ensure', not 'Ensures')
- **Error Code**: **D202**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `check_tensor`, **Line**: 114, **Description**: No blank lines allowed after function docstring (found 1)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `check_tensor`, **Line**: 114, **Description**: First line should be in imperative mood (perhaps 'Check', not 'Checks')
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `get_split_size`, **Line**: 157, **Description**: First line should end with a period (not '`')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `get_split_size`, **Line**: 157, **Description**: First line should be in imperative mood (perhaps 'Compute', not 'Computes')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `get_chunked_dim_size`, **Line**: 170, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `get_chunked_dim_size`, **Line**: 170, **Description**: First line should end with a period (not '`')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `get_chunked_dim_size`, **Line**: 170, **Description**: First line should be in imperative mood (perhaps 'Compute', not 'Computes')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `get_chunk_sharding_params`, **Line**: 185, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/_internals.py`, **Entity**: `get_chunk_sharding_params`, **Line**: 185, **Description**: First line should end with a period (not 'r')
- **Error Code**: **D200**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_chunk_sharding_spec_check`, **Line**: 22, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_register_sharded_op_on_local_tensor`, **Line**: 34, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_register_sharded_op_on_local_tensor`, **Line**: 34, **Description**: First line should end with a period (not 'n')
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_register_sharded_op_on_local_tensor`, **Line**: 34, **Description**: First line should be in imperative mood (perhaps 'Handle', not 'Handles')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_handle_col_wise_sharding_base`, **Line**: 97, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_result_distribute_with_col_rearrange`, **Line**: 161, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_result_distribute_with_col_rearrange`, **Line**: 161, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_handle_max_norm_col_wise`, **Line**: 232, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_handle_max_norm_col_wise`, **Line**: 232, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_handle_row_wise_mask`, **Line**: 303, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/_common.py`, **Entity**: `_handle_row_wise_mask`, **Line**: 303, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding.py`, **Entity**: `sharded_embedding`, **Line**: 20, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding.py`, **Entity**: `sharded_embedding`, **Line**: 20, **Description**: First line should be in imperative mood (perhaps 'Handle', not 'Handles')
- **Error Code**: **D202**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding.py`, **Entity**: `_validate_embedding_param`, **Line**: 132, **Description**: No blank lines allowed after function docstring (found 1)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding.py`, **Entity**: `_handle_col_wise_sharding`, **Line**: 189, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding.py`, **Entity**: `_handle_col_wise_sharding`, **Line**: 189, **Description**: First line should end with a period (not 't')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding.py`, **Entity**: `_handle_row_wise_sharding`, **Line**: 237, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding.py`, **Entity**: `_handle_row_wise_sharding`, **Line**: 237, **Description**: First line should end with a period (not 't')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `sharded_embedding_bag`, **Line**: 23, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D401**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `sharded_embedding_bag`, **Line**: 23, **Description**: First line should be in imperative mood (perhaps 'Handle', not 'Handles')
- **Error Code**: **D202**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `_validate_embedding_bag_param`, **Line**: 154, **Description**: No blank lines allowed after function docstring (found 1)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `_handle_col_wise_sharding`, **Line**: 252, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `_handle_col_wise_sharding`, **Line**: 252, **Description**: First line should end with a period (not 't')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `_handle_row_wise_sharding`, **Line**: 326, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `_handle_row_wise_sharding`, **Line**: 326, **Description**: First line should end with a period (not 't')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `_all_gather_embedding_bag_input`, **Line**: 440, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_spec/chunk_sharding_spec_ops/embedding_bag.py`, **Entity**: `_all_gather_embedding_bag_input`, **Line**: 440, **Description**: First line should end with a period (not 'g')
- **Error Code**: **D204**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `ShardingPlan`, **Line**: 12, **Description**: 1 blank line required after class docstring (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `ShardingPlan`, **Line**: 12, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `ShardingPlan`, **Line**: 12, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D204**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `ShardingPlanner`, **Line**: 70, **Description**: 1 blank line required after class docstring (found 0)
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `ShardingPlanner`, **Line**: 70, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `ShardingPlanner`, **Line**: 70, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D205**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `build_plan`, **Line**: 76, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/_shard/sharding_plan/api.py`, **Entity**: `build_plan`, **Line**: 76, **Description**: First line should end with a period (not 's')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_dynamo_utils.py`, **Entity**: `_annotate_modules_for_dynamo`, **Line**: 11, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_dynamo_utils.py`, **Entity**: `_annotate_modules_for_dynamo`, **Line**: 11, **Description**: First line should end with a period (not 'n')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_ExecOrderData`, **Line**: 25, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_ExecOrderData`, **Line**: 25, **Description**: First line should end with a period (not 'k')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `init`, **Line**: 78, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `init`, **Line**: 78, **Description**: First line should be in imperative mood (perhaps 'Initialize', not 'Initializes')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `get_handles_to_backward_prefetch`, **Line**: 104, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `get_handles_to_backward_prefetch`, **Line**: 104, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `get_handles_to_backward_prefetch`, **Line**: 104, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `get_handles_to_forward_prefetch`, **Line**: 127, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `get_handles_to_forward_prefetch`, **Line**: 127, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `get_handles_to_forward_prefetch`, **Line**: 127, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `record_post_forward`, **Line**: 147, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `record_post_forward`, **Line**: 147, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `record_post_forward`, **Line**: 147, **Description**: First line should be in imperative mood (perhaps 'Record', not 'Records')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `record_pre_forward`, **Line**: 169, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `record_pre_forward`, **Line**: 169, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `record_pre_forward`, **Line**: 169, **Description**: First line should be in imperative mood (perhaps 'Record', not 'Records')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_check_order`, **Line**: 193, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_check_order`, **Line**: 193, **Description**: First line should end with a period (not 's')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_check_order`, **Line**: 193, **Description**: First line should be in imperative mood (perhaps 'Check', not 'Checks')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_handle_indices`, **Line**: 322, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_handle_indices`, **Line**: 322, **Description**: First line should end with a period (not ')')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_handle_indices`, **Line**: 322, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_names_from_handle_indices`, **Line**: 339, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_names_from_handle_indices`, **Line**: 339, **Description**: First line should end with a period (not 'a')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_names_from_handle_indices`, **Line**: 339, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_names_from_handles`, **Line**: 357, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_names_from_handles`, **Line**: 357, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `_get_names_from_handles`, **Line**: 357, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `next_iter`, **Line**: 370, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_exec_order_utils.py`, **Entity**: `next_iter`, **Line**: 370, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_limiter_utils.py`, **Entity**: `_FreeEventQueue`, **Line**: 8, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_limiter_utils.py`, **Entity**: `_FreeEventQueue`, **Line**: 8, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_ParamUsageInfo`, **Line**: 35, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_ParamUsageInfo`, **Line**: 35, **Description**: First line should end with a period (not 'd')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_patched_call_module`, **Line**: 124, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_patched_call_module`, **Line**: 124, **Description**: First line should end with a period (not 'o')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_patched_call_module`, **Line**: 124, **Description**: First line should be in imperative mood (perhaps 'Override', not 'Overrides')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_patched_create_proxy`, **Line**: 172, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_patched_create_proxy`, **Line**: 172, **Description**: First line should end with a period (not 'o')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_trace_utils.py`, **Entity**: `_patched_create_proxy`, **Line**: 172, **Description**: First line should be in imperative mood (perhaps 'Override', not 'Overrides')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: ``, **Line**: 1, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not 'e')
- **Error Code**: **D200**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_composable`, **Line**: 36, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_composable`, **Line**: 36, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_get_fsdp_states_with_modules`, **Line**: 49, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_get_fsdp_states_with_modules`, **Line**: 49, **Description**: First line should end with a period (not '
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_get_fsdp_states_with_modules`, **Line**: 49, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **Error Code**: **D205**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_get_fsdp_handles`, **Line**: 102, **Description**: 1 blank line required between summary line and description (found 0)
- **Error Code**: **D400**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_get_fsdp_handles`, **Line**: 102, **Description**: First line should end with a period (not '`')
- **Error Code**: **D401**, **File**: `torch/distributed/fsdp/_traversal_utils.py`, **Entity**: `_get_fsdp_handles`, **Line**: 102, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')

cc @carljparker