gguf : single pass for writing tensors + refactoring writer

This commit is contained in:
M. Yusuf Sarıgöz 2023-08-17 16:48:49 +03:00
parent f31e9230ad
commit dce07c3121

View File

@ -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)