Skip to content

Commit

Permalink
address #235
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Oct 6, 2023
1 parent b394aec commit 17ebcae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions audiolm_pytorch/audiolm_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,11 @@ def forward(

x = self.grad_shrink(x)

# turn off kv cache if using conditioning as self attention (as in valle), for now

if self.cond_as_self_attn_prefix:
kv_cache = None

# handle kv cache

new_kv_cache = []
Expand Down
2 changes: 1 addition & 1 deletion audiolm_pytorch/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.5.5'
__version__ = '1.5.6'

0 comments on commit 17ebcae

Please sign in to comment.