Skip to content

Commit b7d14ef

Browse files
author
Mug
committed
Python weirdness
1 parent eed6128 commit b7d14ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llama_cpp/llama.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ def _create_completion(
472472
# Contains multi-byte UTF8
473473
for k,char in enumerate(all_text[-3:]):
474474
k = 3 - k
475-
char = int.from_bytes(char, "big")
476475
for num,pattern in [(2, 192), (3, 224), (4, 240)]:
477476
# Bitwise AND check
478477
if (num > k and pattern & char == pattern):

0 commit comments

Comments
 (0)