Skip to content

Commit aa1105b

Browse files
committed
Avoid redefinition of ggml_log_callback_default
1 parent fafc5bd commit aa1105b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ggml_extend.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ __STATIC_INLINE__ struct ggml_tensor* ggml_kronecker(ggml_context* ctx, struct g
124124
b);
125125
}
126126

127-
__STATIC_INLINE__ void ggml_log_callback_default(ggml_log_level level, const char* text, void* user_data) {
128-
(void)level;
129-
(void)user_data;
130-
fputs(text, stderr);
131-
fflush(stderr);
132-
}
133-
134127
__STATIC_INLINE__ void ggml_tensor_set_f32_randn(struct ggml_tensor* tensor, std::shared_ptr<RNG> rng) {
135128
uint32_t n = (uint32_t)ggml_nelements(tensor);
136129
std::vector<float> random_numbers = rng->randn(n);

0 commit comments

Comments
 (0)