mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-20 01:31:42 +02:00
token count includes ids
This commit is contained in:
@@ -83,6 +83,11 @@ struct generation_outputs
|
||||
int status = -1;
|
||||
char text[32768]; //32kb should be enough for any response
|
||||
};
|
||||
struct token_count_outputs
|
||||
{
|
||||
int count = 0;
|
||||
int * ids; //we'll just use shared memory for this one, bit of a hack
|
||||
};
|
||||
|
||||
extern std::string executable_path;
|
||||
extern std::string lora_filename;
|
||||
|
||||
Reference in New Issue
Block a user