[NFC] Remove redundant torch.no_grad in models and pipelines (#854)
Signed-off-by: yuanheng <jonathan.zhaoyh@gmail.com>
This commit is contained in:
1 parent
16be03b909
commit
2f5e32477c
9 files changed
-14
No files matched your search
@@ -312,7 +312,6 @@ class ZImagePipeline(nn.Module):
|
||||
def interrupt(self):
|
||||
return self._interrupt
|
||||
|
||||
@torch.no_grad()
|
||||
def forward(
|
||||
self,
|
||||
req: OmniDiffusionRequest,
|
||||
|
||||
Reference in new issue
Block a user