mirror of
https://github.com/turboderp-org/exui.git
synced 2026-04-20 06:19:11 +00:00
Temp fix for exllamav2 tokenizer bug
This commit is contained in:
@@ -251,6 +251,11 @@ class ModelContainer:
|
||||
|
||||
def load(self, progress_callback = None):
|
||||
|
||||
ExLlamaV2Tokenizer.unspecial_piece_to_id = {} # TODO: won't be necessary from exllamav2 0.0.17
|
||||
ExLlamaV2Tokenizer.unspecial_id_to_piece = {}
|
||||
ExLlamaV2Tokenizer.extended_id_to_piece = {}
|
||||
ExLlamaV2Tokenizer.extended_piece_to_id = {}
|
||||
|
||||
self.tokenizer = ExLlamaV2Tokenizer(self.config)
|
||||
|
||||
# Load draft model
|
||||
|
||||
Reference in New Issue
Block a user