Remove PAD_TOKEN_ID warning

This commit is contained in:
turboderp
2024-06-17 01:11:11 +02:00
parent f01e0d0736
commit 81931e38c2

View File

@@ -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