Squish last type warning in gguf.py - yay!
This commit is contained in:
parent
ce005285aa
commit
d77b74b41e
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from enum import IntEnum, auto
|
from enum import IntEnum, auto
|
||||||
|
from io import BufferedWriter
|
||||||
from typing import Any, BinaryIO, Callable, IO, Dict, List, Optional, Sequence, Tuple, Union
|
from typing import Any, BinaryIO, Callable, IO, Dict, List, Optional, Sequence, Tuple, Union
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -422,7 +423,7 @@ class GGUFValueType(IntEnum):
|
||||||
|
|
||||||
|
|
||||||
class GGUFWriter:
|
class GGUFWriter:
|
||||||
fout: BinaryIO
|
fout: BufferedWriter
|
||||||
arch: str
|
arch: str
|
||||||
offset_tensor = 0
|
offset_tensor = 0
|
||||||
data_alignment = GGUF_DEFAULT_ALIGNMENT
|
data_alignment = GGUF_DEFAULT_ALIGNMENT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue