convert-gptneox-h5-to-gguf.py : tensor name map changes
This commit is contained in:
parent
56a1f32072
commit
5d22a9db13
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# HF gptneox--> gguf conversion
|
# HF gptneox--> gguf conversion
|
||||||
|
|
||||||
import gguf
|
import gguf
|
||||||
import gguf_tensor_map as tmap
|
import gguf_namemap as tmap
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import struct
|
import struct
|
||||||
|
@ -188,7 +188,7 @@ if Path(dir_model + "/tokenizer.json").is_file():
|
||||||
|
|
||||||
# TENSORS
|
# TENSORS
|
||||||
|
|
||||||
tensor_map = tmap.get_tensor_map(block_count)
|
tensor_map = tmap.get_tensor_namemap(block_count)
|
||||||
|
|
||||||
# tensor info
|
# tensor info
|
||||||
print("gguf: get tensor metadata")
|
print("gguf: get tensor metadata")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue