convert-*.py: need to include self in per_model_weight_count_estimation()
This commit is contained in:
parent
54918ad14e
commit
39472a09da
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ class Model:
|
|||
self.gguf_writer.write_kv_data_to_file()
|
||||
self.gguf_writer.close()
|
||||
|
||||
def per_model_weight_count_estimation(tensors: Iterator[tuple[str, Tensor]], expert_count: int) -> int:
|
||||
def per_model_weight_count_estimation(self, tensors: Iterator[tuple[str, Tensor]], expert_count: int) -> int:
|
||||
# TODO: Ensure parameter count is accurate throughout various model type
|
||||
# May currently overestimate parameter count in Mamba model because
|
||||
# output weights is tied with token embeddings.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue