File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4501,7 +4501,7 @@ static void ggml_compute_forward_set_rows_f32(
45014501 const int64_t i12 = i/(ne11*ne10);
45024502 const int64_t i11 = (i - i12*ne11*ne10)/ne10;
45034503 const int64_t i10 = (i - i12*ne11*ne10 - i11*ne10);
4504- const int64_t i01 = *(int32_t *) ((char *) src1->data + i10*nb10 + i11*nb11 + i12*nb12);
4504+ const int64_t i01 = *(int64_t *) ((char *) src1->data + i10*nb10 + i11*nb11 + i12*nb12);
45054505
45064506 GGML_ASSERT (i01 >= 0 && i01 < ne1);
45074507
Original file line number Diff line number Diff line change @@ -3408,7 +3408,7 @@ struct ggml_tensor * ggml_set_rows(
34083408 GGML_ASSERT (c -> ne [3 ] == 1 );
34093409 GGML_ASSERT (a -> type == GGML_TYPE_F16 );
34103410 GGML_ASSERT (b -> type == GGML_TYPE_F32 );
3411- GGML_ASSERT (c -> type == GGML_TYPE_I32 );
3411+ GGML_ASSERT (c -> type == GGML_TYPE_I64 );
34123412
34133413 struct ggml_tensor * result = ggml_view_tensor (ctx , a );
34143414
You can’t perform that action at this time.
0 commit comments