Skip to content

Commit

Permalink
do not include metadata from base model
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed Nov 1, 2024
1 parent 77c8627 commit 2e11ea2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion convert_lora_to_gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ def set_type(self):

def set_gguf_parameters(self):
self.gguf_writer.add_float32(gguf.Keys.Adapter.LORA_ALPHA, self.lora_alpha)
super().set_gguf_parameters()

def generate_extra_tensors(self) -> Iterable[tuple[str, Tensor]]:
# Never add extra tensors (e.g. rope_freqs) for LoRA adapters
Expand Down

0 comments on commit 2e11ea2

Please sign in to comment.