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 @@ -3404,7 +3404,7 @@ struct ggml_tensor * ggml_set_rows(
34043404 GGML_ASSERT (c -> ne [3 ] == 1 );
34053405 GGML_ASSERT (a -> type == GGML_TYPE_F16 );
34063406 GGML_ASSERT (b -> type == GGML_TYPE_F32 );
3407- GGML_ASSERT (c -> type == GGML_TYPE_I32 );
3407+ GGML_ASSERT (c -> type == GGML_TYPE_I64 );
34083408
34093409 struct ggml_tensor * result = ggml_view_tensor (ctx , a );
34103410
You can’t perform that action at this time.
0 commit comments