[BE][Easy][10/19] enforce style for empty lines in import segments in test/d*/ (#129761)

See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501. Most changes are auto-generated by linter.

You can review these PRs via:

```bash
git diff --ignore-all-space --ignore-blank-lines HEAD~1
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129761
Approved by: https://github.com/fegin
This commit is contained in:
Xuehai Pan
2024-07-17 14:58:25 +08:00
committed by PyTorch MergeBot
parent 1e13cb2f28
commit db3290846e
149 changed files with 110 additions and 122 deletions

View File

@ -8,7 +8,6 @@ from numpy.testing import assert_array_equal
import torch
import torch.nn.functional as F
from torch.distributed._functional_collectives import AsyncCollectiveTensor
from torch.distributed._tensor import (
DeviceMesh,
distribute_tensor,
@ -28,7 +27,6 @@ from torch.distributed.tensor.parallel import (
parallelize_module,
RowwiseParallel,
)
from torch.testing._internal.common_utils import run_tests
from torch.testing._internal.distributed._tensor.common_dtensor import (
DTensorTestBase,