File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9124,7 +9124,7 @@ static void ggml_compute_forward_alibi_f32(
9124
9124
//const int nb3 = src0->nb[3];
9125
9125
9126
9126
assert (nb0 == sizeof (float ));
9127
- assert (ne1 + n_past == ne0 );
9127
+ assert (ne1 + n_past == ne0 ); ( void ) n_past ;
9128
9128
9129
9129
// add alibi to src0 (KQ_scaled)
9130
9130
const int n_heads_log2_floor = 1 << (int ) floor (log2 (n_head ));
@@ -9185,7 +9185,7 @@ static void ggml_compute_forward_alibi_f16(
9185
9185
//const int nb3 = src0->nb[3];
9186
9186
9187
9187
assert (nb0 == sizeof (ggml_fp16_t ));
9188
- assert (ne1 + n_past == ne0 );
9188
+ assert (ne1 + n_past == ne0 ); ( void ) n_past ;
9189
9189
9190
9190
// add alibi to src0 (KQ_scaled)
9191
9191
const int n_heads_log2_floor = 1 << (int ) floor (log2 (n_head ));
Original file line number Diff line number Diff line change @@ -701,8 +701,8 @@ extern "C" {
701
701
struct ggml_tensor * c1 );
702
702
703
703
// Mapping operations
704
- GGML_API typedef void (* ggml_unary_op_f32_t )(const int , float * , const float * );
705
- GGML_API typedef void (* ggml_binary_op_f32_t )(const int , float * , const float * , const float * );
704
+ typedef void (* ggml_unary_op_f32_t )(const int , float * , const float * );
705
+ typedef void (* ggml_binary_op_f32_t )(const int , float * , const float * , const float * );
706
706
707
707
GGML_API struct ggml_tensor * ggml_map_unary_f32 (
708
708
struct ggml_context * ctx ,
You can’t perform that action at this time.
0 commit comments