Skip to content

Commit 5be24af

Browse files
authored
gguf-py : correct charsmap parameter typing (#13701)
1 parent d394a9a commit 5be24af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gguf-py/gguf/gguf_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ def add_add_space_prefix(self, value: bool) -> None:
896896
def add_remove_extra_whitespaces(self, value: bool) -> None:
897897
self.add_bool(Keys.Tokenizer.REMOVE_EXTRA_WS, value)
898898

899-
def add_precompiled_charsmap(self, charsmap: Sequence[bytes]) -> None:
899+
def add_precompiled_charsmap(self, charsmap: bytes) -> None:
900900
self.add_array(Keys.Tokenizer.PRECOMPILED_CHARSMAP, charsmap)
901901

902902
def add_chat_template(self, value: str | Sequence[Mapping[str, str]]) -> None:

0 commit comments

Comments
 (0)