attempt 2 to appease the linter
This commit is contained in:
parent
2e70fa1055
commit
891b19cb81
1 changed files with 1 additions and 2 deletions
|
@ -66,7 +66,7 @@ class GGUFWriterSplit(GGUFWriter):
|
||||||
|
|
||||||
def __init__(self, path: os.PathLike[str] | str, arch: str, split_arguments: SplitArguments,
|
def __init__(self, path: os.PathLike[str] | str, arch: str, split_arguments: SplitArguments,
|
||||||
use_temp_file: bool = True, endianess: GGUFEndian = GGUFEndian.LITTLE
|
use_temp_file: bool = True, endianess: GGUFEndian = GGUFEndian.LITTLE
|
||||||
) -> None:
|
) -> None:
|
||||||
# we intentionally don't call superclass constructor
|
# we intentionally don't call superclass constructor
|
||||||
self.arch = arch
|
self.arch = arch
|
||||||
self.path = Path(path)
|
self.path = Path(path)
|
||||||
|
@ -257,4 +257,3 @@ class GGUFWriterSplit(GGUFWriter):
|
||||||
return f"{fnum:3.1f}{unit}"
|
return f"{fnum:3.1f}{unit}"
|
||||||
fnum /= 1000.0
|
fnum /= 1000.0
|
||||||
return f"{fnum:.1f}T - over 1TB, --split recommended"
|
return f"{fnum:.1f}T - over 1TB, --split recommended"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue