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:
Rohit Manav
2025-08-31 16:21:46 +00:00
committed by PyTorch MergeBot
parent 0d421ace32
commit e92cd94153
2 changed files with 0 additions and 3 deletions

View File

@ -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)

View File

@ -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