mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 03:44:35 +00:00
convert-gptneox-h5-to-gguf.py : tensor name map changes
This commit is contained in:
parent
56a1f32072
commit
5d22a9db13
@ -1,7 +1,7 @@
|
||||
# HF gptneox--> gguf conversion
|
||||
|
||||
import gguf
|
||||
import gguf_tensor_map as tmap
|
||||
import gguf_namemap as tmap
|
||||
import os
|
||||
import sys
|
||||
import struct
|
||||
@ -188,7 +188,7 @@ if Path(dir_model + "/tokenizer.json").is_file():
|
||||
|
||||
# TENSORS
|
||||
|
||||
tensor_map = tmap.get_tensor_map(block_count)
|
||||
tensor_map = tmap.get_tensor_namemap(block_count)
|
||||
|
||||
# tensor info
|
||||
print("gguf: get tensor metadata")
|
||||
|
Loading…
Reference in New Issue
Block a user