mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-21 05:33:06 +00:00
whisper : migrate to ggml-backend
This commit is contained in:
parent
d03c60dd7f
commit
659757329d
813
whisper.cpp
813
whisper.cpp
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,8 @@
|
|||||||
#ifndef WHISPER_H
|
#ifndef WHISPER_H
|
||||||
#define WHISPER_H
|
#define WHISPER_H
|
||||||
|
|
||||||
|
#include "ggml.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
@ -570,8 +572,7 @@ extern "C" {
|
|||||||
|
|
||||||
// Control logging output; default behavior is to print to stderr
|
// Control logging output; default behavior is to print to stderr
|
||||||
|
|
||||||
typedef void (*whisper_log_callback)(const char * line);
|
WHISPER_API void whisper_log_set(ggml_log_callback log_callback, void * user_data);
|
||||||
WHISPER_API void whisper_set_log_callback(whisper_log_callback callback);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user