Merge branch 'master' into gguf

This commit is contained in:
Georgi Gerganov 2023-08-18 15:21:48 +03:00
commit 38016ed9ec
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
11 changed files with 1073 additions and 35 deletions

View file

@ -235,6 +235,9 @@ extern "C" {
LLAMA_API int llama_n_ctx_from_model (const struct llama_model * model);
LLAMA_API int llama_n_embd_from_model (const struct llama_model * model);
// Get a string describing the model type
LLAMA_API int llama_model_type(const struct llama_model * model, char * buf, size_t buf_size);
// Returns 0 on success
LLAMA_API int llama_model_quantize(
const char * fname_inp,