Skip to content

Commit b22f552

Browse files
committed
fix states being overridden in generate
1 parent eebbcd3 commit b22f552

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

block_recurrent_transformer_pytorch/block_recurrent_transformer_pytorch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,6 @@ def generate(
939939
output = prime
940940

941941
memories = []
942-
states = []
943942

944943
for ind in range(length - start_len):
945944

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name = 'block-recurrent-transformer-pytorch',
55
packages = find_packages(exclude=[]),
6-
version = '0.4.2',
6+
version = '0.4.3',
77
license='MIT',
88
description = 'Block Recurrent Transformer - Pytorch',
99
author = 'Phil Wang',

0 commit comments

Comments
 (0)