mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Revert "[5/N][Easy] fix typo for usort
config in pyproject.toml
(kown
-> known
): sort torch (#127126)"
This reverts commit 7763c83af67eebfdd5185dbe6ce15ece2b992a0f. Reverted https://github.com/pytorch/pytorch/pull/127126 on behalf of https://github.com/XuehaiPan due to Broken CI ([comment](https://github.com/pytorch/pytorch/pull/127126#issuecomment-2133044286))
This commit is contained in:
@ -3,10 +3,18 @@ import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
import torch
|
||||
import torch.distributed as c10d
|
||||
import torch.distributed.rpc as rpc
|
||||
import torch.multiprocessing as mp
|
||||
|
||||
from data import data_map
|
||||
from metrics.ProcessedMetricsPrinter import ProcessedMetricsPrinter
|
||||
from models import model_map
|
||||
from server import server_map
|
||||
from torch.distributed.rpc import TensorPipeRpcBackendOptions
|
||||
from torch.futures import wait_all
|
||||
from torch.utils.data import DataLoader
|
||||
from trainer import (
|
||||
criterion_map,
|
||||
ddp_hook_map,
|
||||
@ -17,14 +25,6 @@ from trainer import (
|
||||
trainer_map,
|
||||
)
|
||||
|
||||
import torch
|
||||
import torch.distributed as c10d
|
||||
import torch.distributed.rpc as rpc
|
||||
import torch.multiprocessing as mp
|
||||
from torch.distributed.rpc import TensorPipeRpcBackendOptions
|
||||
from torch.futures import wait_all
|
||||
from torch.utils.data import DataLoader
|
||||
|
||||
|
||||
def get_name(rank, args):
|
||||
r"""
|
||||
|
Reference in New Issue
Block a user