convert.py : fix Enum to IntEnum
ggml-ci
This commit is contained in:
parent
32fc925ea8
commit
34151c9d2b
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ SAFETENSORS_DATA_TYPES: Dict[str, DataType] = {
|
|||
# TODO: match this with `llama_ftype`
|
||||
# TODO: rename to LLAMAFileType
|
||||
# TODO: move to `gguf.py`
|
||||
class GGMLFileType(enum.Enum):
|
||||
class GGMLFileType(enum.IntEnum):
|
||||
AllF32 = 0
|
||||
MostlyF16 = 1 # except 1d tensors
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue