mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 11:24:35 +00:00
gguf : single pass for writing tensors + refactoring writer
This commit is contained in:
parent
f31e9230ad
commit
dce07c3121
@ -267,7 +267,7 @@ for part_name in part_names:
|
||||
|
||||
data = data.astype(data_dtype)
|
||||
|
||||
print(name + ", n_dims = " + n_dims + ", " + str(old_dtype) + " --> " + str(data.dtype))
|
||||
print(name + ", n_dims = " + str(n_dims) + ", " + str(old_dtype) + " --> " + str(data.dtype))
|
||||
|
||||
gguf_writer.add_tensor(name, data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user