Skip to content

Commit

Permalink
convert-hf : fix Refact conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
compilade committed May 5, 2024
1 parent f2099c5 commit 215a0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-hf-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter
ff_dim = multiple_of * ((hidden_dim + multiple_of - 1) // multiple_of)
n_head = self.hparams["n_head"]
n_head_kv = 1
head_dim = hidden_dim // n_head
head_dim = self.hparams["n_embd"] // n_head

tensors: list[tuple[str, Tensor]] = []

Expand Down

0 comments on commit 215a0d3

Please sign in to comment.