mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-30 08:42:00 +00:00
gguf.py : add tensor data layout
This commit is contained in:
3
gguf.py
3
gguf.py
@@ -207,6 +207,9 @@ class GGUFWriter:
|
||||
def add_author(self, author: str):
|
||||
self.add_string(constants.KEY_GENERAL_AUTHOR, author)
|
||||
|
||||
def add_tensor_data_layout(self, layout: str):
|
||||
self.add_string(constants.KEY_LLM_TENSOR_DATA_LAYOUT , layout)
|
||||
|
||||
def add_url(self, url: str):
|
||||
self.add_string(constants.KEY_GENERAL_URL, url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user