Skip to content

Commit

Permalink
turn on attention softclamping
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jul 19, 2024
1 parent 90bb536 commit e02c233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion e2_tts_pytorch/e2_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def __init__(
num_gateloop_layers = 1,
dropout = 0.1,
attn_kwargs: dict = dict(
gate_value_heads = True
gate_value_heads = True,
softclamp_logits = True,
),
ff_kwargs: dict = dict()
):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "e2-tts-pytorch"
version = "0.0.35"
version = "0.0.37"
description = "E2-TTS in Pytorch"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
Expand Down Expand Up @@ -36,7 +36,7 @@ dependencies = [
'torchdiffeq',
'torchaudio>=2.3.1',
'tqdm>=4.65.0',
'x-transformers>=1.31.12',
'x-transformers>=1.31.14',
]

[project.urls]
Expand Down

0 comments on commit e02c233

Please sign in to comment.