Lint unused import (#5973)

* Lint unused import

* nit

* Remove unused imports

* revert fix_torch import

* nit
This commit is contained in:
Chenlei Hu
2024-12-09 14:24:39 -06:00
committed by GitHub
parent e2fafe0686
commit 0fd4e6c778
40 changed files with 39 additions and 75 deletions

View File

@@ -3,7 +3,7 @@ from torch import nn
from functools import partial
import math
from einops import rearrange
from typing import Any, Mapping, Optional, Tuple, Union, List
from typing import Optional, Tuple, Union
from .conv_nd_factory import make_conv_nd, make_linear_nd
from .pixel_norm import PixelNorm

View File

@@ -1,6 +1,5 @@
from typing import Tuple, Union
import torch
from .dual_conv3d import DualConv3d
from .causal_conv3d import CausalConv3d