mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-14 19:09:45 +00:00
added version label, improved file type checks
This commit is contained in:
parent
1543c700d8
commit
18a154715e
5 changed files with 69 additions and 4 deletions
|
@ -141,6 +141,12 @@ ModelLoadResult gpt2_model_load(const std::string & fname, gpt2_model & model, g
|
|||
|
||||
ctx_size += (6 + 12*n_layer)*256; // object overhead
|
||||
|
||||
// if(wtype==GGML_TYPE_Q4_0 || wtype==GGML_TYPE_Q4_1)
|
||||
// {
|
||||
// //quantized needs more context
|
||||
// ctx_size = (ctx_size*4);
|
||||
// }
|
||||
|
||||
printf("%s: ggml ctx size = %6.2f MB\n", __func__, ctx_size/(1024.0*1024.0));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue