Skip to content

Commit

Permalink
release #22
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Aug 24, 2023
1 parent 53c8201 commit 844f7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 = 'soundstorm-pytorch',
packages = find_packages(exclude=[]),
version = '0.1.2',
version = '0.1.4',
license='MIT',
description = 'SoundStorm - Efficient Parallel Audio Generation from Google Deepmind, in Pytorch',
author = 'Phil Wang',
Expand Down
2 changes: 1 addition & 1 deletion soundstorm_pytorch/soundstorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ def generate(

seq = torch.where(sample_mask, sampled_ids, seq)

if mask_num_tokens == 0:
if (mask_num_tokens == 0).all():
continue

if exists(self.token_critic):
Expand Down

0 comments on commit 844f7b3

Please sign in to comment.