wip
This commit is contained in:
parent
3edfa7d375
commit
2a458d1a9d
3 changed files with 1002 additions and 0 deletions
|
@ -229,6 +229,16 @@ extern "C" {
|
|||
bool sorted;
|
||||
} llama_token_data_array;
|
||||
|
||||
// represent an RGB image
|
||||
// size of data must be equal to 3*nx*ny
|
||||
typedef struct llama_vision_bitmap {
|
||||
uint32_t nx;
|
||||
uint32_t ny;
|
||||
unsigned char * data;
|
||||
} llama_vision_bitmap;
|
||||
|
||||
struct llama_vision_patches;
|
||||
|
||||
typedef bool (*llama_progress_callback)(float progress, void * user_data);
|
||||
|
||||
// Input data for llama_decode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue