Update gguf-py/gguf/gguf_writer_split.py
Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
parent
0283fc1771
commit
dc5cf5fd82
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ from .constants import Keys
|
||||||
SHARD_NAME_FORMAT = "{:s}-{:05d}-of-{:05d}.gguf"
|
SHARD_NAME_FORMAT = "{:s}-{:05d}-of-{:05d}.gguf"
|
||||||
METADATA_ONLY_INDICATOR = -1
|
METADATA_ONLY_INDICATOR = -1
|
||||||
|
|
||||||
KVTempData: TypeAlias = dict[str, tuple[Any, GGUFValueType]] # {key: (value, type)}
|
KVTempData: TypeAlias = dict[str, tuple[Any, GGUFValueType | None]] # {key: (value, type)}
|
||||||
TensorTempData: TypeAlias = tuple[str, np.ndarray[Any, Any], GGMLQuantizationType] # (tensor name, tensor data, tensor dtype)
|
TensorTempData: TypeAlias = tuple[str, np.ndarray[Any, Any], GGMLQuantizationType | None] # (tensor name, tensor data, tensor dtype)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue