Skip to content

Commit

Permalink
fix: v-sampler output
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioschneider committed Oct 18, 2022
1 parent 954f9be commit 7f6151e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audio_diffusion_pytorch/diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def forward(
alpha, beta = self.get_alpha_beta(sigmas[i + 1].item())
x = x_pred * alpha + x_eps * beta

return x
return x_pred


class KarrasSampler(Sampler):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name="audio-diffusion-pytorch",
packages=find_packages(exclude=[]),
version="0.0.68",
version="0.0.69",
license="MIT",
description="Audio Diffusion - PyTorch",
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 7f6151e

Please sign in to comment.