mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 11:04:33 +00:00
remove token_embd from metal mem
This commit is contained in:
parent
92f00303d5
commit
fb05f80f89
1 changed files with 1 additions and 1 deletions
|
@ -5260,7 +5260,7 @@ struct llama_model_loader {
|
|||
try {
|
||||
const char * tname = ggml_get_name(tensor);
|
||||
if (keep_only_inp_out && !(
|
||||
strcmp(tname, "token_embd.weight") == 0 ||
|
||||
// strcmp(tname, "token_embd.weight") == 0 || // lookup table is used so we do not need to keep it in metal memory
|
||||
strcmp(tname, "output_norm.weight") == 0 ||
|
||||
strcmp(tname, "output.weight") == 0)) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue