We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2161c30 commit 284ceb3Copy full SHA for 284ceb3
gguf-py/gguf/gguf_writer.py
@@ -676,8 +676,8 @@ def add_parallel_residual(self, use: bool) -> None:
676
def add_decoder_start_token_id(self, id: int) -> None:
677
self.add_uint32(Keys.LLM.DECODER_START_TOKEN_ID.format(arch=self.arch), id)
678
679
- def add_num_decoder_layers(self, value: int) -> None:
680
- self.add_uint32(Keys.LLM.NUM_DECODER_LAYERS.format(arch=self.arch), value)
+ def add_decoder_block_count(self, value: int) -> None:
+ self.add_uint32(Keys.LLM.DECODER_BLOCK_COUNT.format(arch=self.arch), value)
681
682
def add_embedding_length_per_layer_input(self, value: int) -> None:
683
self.add_uint32(Keys.LLM.EMBD_LENGTH_PER_LAYER_INP.format(arch=self.arch), value)
0 commit comments