Minor logging change

This commit is contained in:
oobabooga 2024-03-11 16:31:13 -07:00
parent afadc787d7
commit 9eca197409

View File

@ -30,8 +30,8 @@ def process_llamacpp_cache(model, new_sequence, past_sequence):
overlapping_sequence = new_sequence[j1:j2 + 1] overlapping_sequence = new_sequence[j1:j2 + 1]
added_chunk = new_sequence[j2 + 1:] added_chunk = new_sequence[j2 + 1:]
# print(past_sequence) # print(past_sequence.tolist())
# print(new_sequence) # print(new_sequence.tolist())
print() print()
print('MATCHING PREFIX=', repr(shared.tokenizer.decode(matching_prefix))) print('MATCHING PREFIX=', repr(shared.tokenizer.decode(matching_prefix)))