Skip to content

Commit 2d6b99d

Browse files
committed
ggml-metal: fix custom rope
1 parent 94bbc4e commit 2d6b99d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-metal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ void ggml_metal_graph_compute(
876876

877877
float freq_base, freq_scale;
878878
memcpy(&freq_base, (int32_t *) src1->data + 4, sizeof(float));
879-
memcpy(&freq_scale, (int32_t *) src1->date + 5, sizeof(float));
879+
memcpy(&freq_scale, (int32_t *) src1->data + 5, sizeof(float));
880880

881881
[encoder setComputePipelineState:ctx->pipeline_rope];
882882
[encoder setBuffer:id_src0 offset:offs_src0 atIndex:0];

0 commit comments

Comments
 (0)