GGUFWriter compatibility fix
Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
parent
706bd69023
commit
6a05183b97
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class GGUFManager(GGUFWriter):
|
|||
|
||||
self.state = WriterState.KV_DATA
|
||||
|
||||
def write_tensors_to_file(self, progress: bool = False) -> None:
|
||||
def write_tensors_to_file(self, *, progress: bool = False) -> None:
|
||||
if self.state is not WriterState.KV_DATA:
|
||||
raise ValueError(f'Expected GGUFManager state to be KV_DATA, got {self.state}')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue