mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-14 11:07:10 +00:00
gguf-py : allow previewing reflinked size on non-Linux platforms
This commit is contained in:
@@ -761,7 +761,6 @@ class TextModel(ModelBase):
|
||||
super().prepare_metadata(vocab_only=vocab_only)
|
||||
|
||||
total_params = self.gguf_writer.get_total_parameter_count()[0]
|
||||
|
||||
# Extract the encoding scheme from the file type name. e.g. 'gguf.LlamaFileType.MOSTLY_Q8_0' --> 'Q8_0'
|
||||
output_type: str = self.ftype.name.partition("_")[2]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user