Skip to content

Commit 7f6151e

Browse files
fix: v-sampler output
1 parent 954f9be commit 7f6151e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

audio_diffusion_pytorch/diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def forward(
388388
alpha, beta = self.get_alpha_beta(sigmas[i + 1].item())
389389
x = x_pred * alpha + x_eps * beta
390390

391-
return x
391+
return x_pred
392392

393393

394394
class KarrasSampler(Sampler):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name="audio-diffusion-pytorch",
55
packages=find_packages(exclude=[]),
6-
version="0.0.68",
6+
version="0.0.69",
77
license="MIT",
88
description="Audio Diffusion - PyTorch",
99
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)