Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 34151c9

Browse files
committedAug 22, 2023
convert.py : fix Enum to IntEnum
ggml-ci
1 parent 32fc925 commit 34151c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎convert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class UnquantizedDataType:
7272
# TODO: match this with `llama_ftype`
7373
# TODO: rename to LLAMAFileType
7474
# TODO: move to `gguf.py`
75-
class GGMLFileType(enum.Enum):
75+
class GGMLFileType(enum.IntEnum):
7676
AllF32 = 0
7777
MostlyF16 = 1 # except 1d tensors
7878

0 commit comments

Comments
 (0)
Please sign in to comment.