mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 11:24:40 +00:00
add option --keep-inp-out-in-metal and fix bugs in unmap
This commit is contained in:
parent
ce2ef9699f
commit
facb4ea736
5 changed files with 142 additions and 131 deletions
|
@ -312,6 +312,7 @@ extern "C" {
|
|||
bool use_mmap; // use mmap if possible
|
||||
bool use_mlock; // force system to keep model in RAM
|
||||
bool check_tensors; // validate model tensor data
|
||||
bool keep_inp_out_in_metal; // whether to keep input/output weight in metal
|
||||
};
|
||||
|
||||
// NOTE: changing the default values of parameters marked as [EXPERIMENTAL] may cause crashes or incorrect results in certain configurations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue