[NFC] Remove redundant torch.no_grad in models and pipelines (#854)

Signed-off-by: yuanheng <jonathan.zhaoyh@gmail.com>
This commit is contained in:
Yuanheng Zhao authored and GitHub committed 2026-01-27 12:36:54 +00:00
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,