Skip to content

Commit 75377ad

Browse files
committed
convery.py : fix Enum to IntEnum
1 parent 32fc925 commit 75377ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert.py

Lines changed: 1 addition & 1 deletion
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)