From: Omar Sanseviero Date: Mon, 2 Sep 2024 13:34:08 +0000 (+0200) Subject: Use id rather than modelId X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=cafcd3d5ee520f44004cb819faa3c03adfb656e7;p=safetensors.git Use id rather than modelId --- diff --git a/bindings/python/convert_all.py b/bindings/python/convert_all.py index 2fd2a43..39fe9b4 100644 --- a/bindings/python/convert_all.py +++ b/bindings/python/convert_all.py @@ -16,7 +16,7 @@ if __name__ == "__main__": correct = 0 errors = set() for model in models: - model = api.model_info(model.modelId, files_metadata=True) + model = api.model_info(model.id, files_metadata=True) size = None for sibling in model.siblings: if sibling.rfilename == "pytorch_model.bin":