mirror of
https://github.com/turboderp-org/exllamav2.git
synced 2026-04-20 14:29:28 +00:00
Remove PAD_TOKEN_ID warning
This commit is contained in:
@@ -255,9 +255,9 @@ class ExLlamaV2Tokenizer:
|
||||
|
||||
# Take stock and issue warnings if needed
|
||||
|
||||
if self.pad_token_id == self.bos_token_id:
|
||||
print(" !! Warning: PAD and EOS tokens are identical. Generations might break " + \
|
||||
"and batch sizes > 1 are unlikely to work correctly.")
|
||||
# if self.pad_token_id == self.bos_token_id:
|
||||
# print(" !! Warning: PAD and EOS tokens are identical. Generations might break " + \
|
||||
# "and batch sizes > 1 are unlikely to work correctly.")
|
||||
|
||||
|
||||
# Return size of valid vocabulary
|
||||
|
||||
Reference in New Issue
Block a user