Skip to content

Commit

Permalink
address #273
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 17, 2024
1 parent 43960ad commit 9d8bd8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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 = 'x-transformers',
packages = find_packages(exclude=['examples']),
version = '1.35.1',
version = '1.35.2',
license='MIT',
description = 'X-Transformers - Pytorch',
author = 'Phil Wang',
Expand Down
1 change: 1 addition & 0 deletions x_transformers/x_transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2321,6 +2321,7 @@ def __init__(

self.encoder = TransformerWrapper(
**enc_transformer_kwargs,
return_only_embed = True,
attn_layers = Encoder(dim = dim, **enc_kwargs)
)

Expand Down

0 comments on commit 9d8bd8a

Please sign in to comment.