Skip to content

Commit 347e385

Browse files
committed
ggml-metal: fix custom rope
1 parent 61c2ed4 commit 347e385

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
@@ -874,7 +874,7 @@ void ggml_metal_graph_compute(
874874

875875
float freq_base, freq_scale;
876876
memcpy(&freq_base, (int32_t *) src1->data + 4, sizeof(float));
877-
memcpy(&freq_scale, (int32_t *) src1->date + 5, sizeof(float));
877+
memcpy(&freq_scale, (int32_t *) src1->data + 5, sizeof(float));
878878

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

0 commit comments

Comments
 (0)