mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-01 09:01:57 +00:00
gguf.py : merge all files in gguf.py
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
# HF llama --> gguf conversion
|
||||
|
||||
import gguf
|
||||
import gguf_namemap as tmap
|
||||
|
||||
import os
|
||||
import sys
|
||||
import struct
|
||||
@@ -201,7 +199,7 @@ if Path(dir_model + "/tokenizer.json").is_file():
|
||||
|
||||
# TENSORS
|
||||
|
||||
tensor_map = tmap.get_tensor_namemap(block_count)
|
||||
tensor_map = gguf.get_tensor_name_map(block_count)
|
||||
|
||||
# tensor info
|
||||
print("gguf: get tensor metadata")
|
||||
|
||||
Reference in New Issue
Block a user