Code style
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
26f4337a37
commit
3e9227051f
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ struct llama_file_saver {
|
|||
file.write_u32(new_type);
|
||||
file.write_raw(tensor.ne.data(), sizeof(tensor.ne[0]) * tensor.ne.size());
|
||||
file.write_raw(tensor.name.data(), tensor.name.size());
|
||||
file.seek(-static_cast<ptrdiff_t >(file.tell()) & 31, SEEK_CUR);
|
||||
file.seek(-static_cast<ptrdiff_t>(file.tell()) & 31, SEEK_CUR);
|
||||
LLAMA_ASSERT(new_size == llama_calc_tensor_size(tensor.ne, new_type));
|
||||
file.write_raw(new_data, new_size);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue