Skip to content

Commit

Permalink
RWKV 6: Fix error in ggml_cuda_op_bin_bcast
Browse files Browse the repository at this point in the history
Signed-off-by: Molly Sophia <[email protected]>
  • Loading branch information
MollySophia committed Dec 20, 2024
1 parent ff3d226 commit 8699330
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions convert_hf_to_gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,14 @@ def prepare_tensors(self):
gguf.MODEL_TENSOR.TIME_MIX_FIRST,
gguf.MODEL_TENSOR.TIME_MIX_W1,
gguf.MODEL_TENSOR.TIME_MIX_W2,
gguf.MODEL_TENSOR.TIME_MIX_DECAY,
gguf.MODEL_TENSOR.TIME_MIX_DECAY_W1,
gguf.MODEL_TENSOR.TIME_MIX_DECAY_W2,
gguf.MODEL_TENSOR.POSNET_NORM1,
gguf.MODEL_TENSOR.POSNET_NORM2,
)
)
or "lerp" in new_name
or not new_name.endswith(".weight")
):
data_qtype = gguf.GGMLQuantizationType.F32
Expand Down

0 comments on commit 8699330

Please sign in to comment.