Skip to content

Commit 8560c77

Browse files
tarilabsarthw
authored andcommitted
gguf-py : fix double call to add_architecture() (ggml-org#8952)
Signed-off-by: tarilabs <[email protected]>
1 parent afbe094 commit 8560c77

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gguf-py/examples/writer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def writer_example() -> None:
1515
# Example usage with a file
1616
gguf_writer = GGUFWriter("example.gguf", "llama")
1717

18-
gguf_writer.add_architecture()
1918
gguf_writer.add_block_count(12)
2019
gguf_writer.add_uint32("answer", 42) # Write a 32-bit integer
2120
gguf_writer.add_float32("answer_in_float", 42.0) # Write a 32-bit float

0 commit comments

Comments
 (0)