convert : fix F32 ftype not being saved
This commit is contained in:
parent
178b1850eb
commit
6c0c9243bd
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ class OutputFile:
|
|||
if params.f_rope_scale:
|
||||
self.gguf.add_rope_scale_linear(params.f_rope_scale)
|
||||
|
||||
if params.ftype:
|
||||
if params.ftype is not None:
|
||||
self.gguf.add_file_type(params.ftype)
|
||||
|
||||
def add_meta_vocab(self, vocab: Vocab) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue