[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
@@ -347,7 +347,6 @@ class StableAudioPipeline(nn.Module, SupportAudioOutput):
|
||||
latents = latents * self.scheduler.init_noise_sigma
|
||||
return latents
|
||||
|
||||
@torch.no_grad()
|
||||
def forward(
|
||||
self,
|
||||
req: OmniDiffusionRequest,
|
||||
|
||||
Reference in new issue
Block a user