Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
pylint & add gguf to requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenzhong1 committed Jan 10, 2024
1 parent 021b3bd commit 44410b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neural_speed/convert/convert_chatglm.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def write_vocab_gguf(dir_model):
data = data.astype(np.float32)
ftype_cur = 0

#print(f"[{i+1:{padi}d}/{len(model)}] Writing tensor {name:38s} | size {size:16} | type {lazy_tensor.data_type.name:4}")
# print(f"[{i+1:{padi}d}/{len(model)}]
# Writing tensor {name:38s} | size {size:16} | type {lazy_tensor.data_type.name:4}")

gguf_writer.add_tensor(name, data)

Expand Down

0 comments on commit 44410b2

Please sign in to comment.