Skip to content

Commit 2dc5dfb

Browse files
committed
Avoid redefinition of ggml_log_callback_default
1 parent 67c30e1 commit 2dc5dfb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: ggml_extend.hpp

-7
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,6 @@ __STATIC_INLINE__ struct ggml_tensor* ggml_kronecker(ggml_context* ctx, struct g
119119
b);
120120
}
121121

122-
__STATIC_INLINE__ void ggml_log_callback_default(ggml_log_level level, const char* text, void* user_data) {
123-
(void)level;
124-
(void)user_data;
125-
fputs(text, stderr);
126-
fflush(stderr);
127-
}
128-
129122
__STATIC_INLINE__ void ggml_tensor_set_f32_randn(struct ggml_tensor* tensor, std::shared_ptr<RNG> rng) {
130123
uint32_t n = (uint32_t)ggml_nelements(tensor);
131124
std::vector<float> random_numbers = rng->randn(n);

0 commit comments

Comments
 (0)