Skip to content

Commit 5c455c1

Browse files
committed
Filter base: Fix instance init
1 parent c9ce168 commit 5c455c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exllamav2/generator/filters/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ExLlamaV2Filter:
1313
tokenizer: ExLlamaV2Tokenizer
1414
sequence_str: str
1515

16-
background_result: Future | None = None
16+
background_result: Future | None
1717

1818
# For compatibility
1919
allow_return_type_list: bool = True
@@ -25,6 +25,7 @@ def __init__(self,
2525
self.model = model
2626
self.tokenizer = tokenizer
2727
self.sequence_str = ""
28+
self.background_result = None
2829

2930

3031
def clone(self, c = None):

0 commit comments

Comments
 (0)