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

@@ -2,11 +2,9 @@
#and modified
import torch
import torch as th
import torch.nn as nn
from ..ldm.modules.diffusionmodules.util import (
zero_module,
timestep_embedding,
)