mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
removed duplicate imports (#161685)
Fixes #161684 Pull Request resolved: https://github.com/pytorch/pytorch/pull/161685 Approved by: https://github.com/Skylion007, https://github.com/ezyang
This commit is contained in:
committed by
PyTorch MergeBot
parent
0d421ace32
commit
e92cd94153
@ -212,8 +212,6 @@ class _SymNodePickleData:
|
||||
self.hint = node._hint
|
||||
|
||||
def _to_sym_node(self) -> SymNode:
|
||||
from torch.fx.experimental.sym_node import SymNode
|
||||
|
||||
assert self.shape_env is not None
|
||||
return SymNode(self.expr, self.shape_env, self.pytype, self.hint)
|
||||
|
||||
|
@ -527,7 +527,6 @@ def tensorboard_trace_handler(
|
||||
``worker_name`` should be unique for each worker in distributed scenario,
|
||||
it will be set to '[hostname]_[pid]' by default.
|
||||
"""
|
||||
import os
|
||||
import socket
|
||||
import time
|
||||
|
||||
|
Reference in New Issue
Block a user