From a53131c389ec55006ed82036c9e6a99bfd5685c8 Mon Sep 17 00:00:00 2001 From: Omar Sanseviero Date: Tue, 13 Aug 2024 10:40:16 +0200 Subject: [PATCH] Update convert_all.py --- bindings/python/convert_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/convert_all.py b/bindings/python/convert_all.py index 2fd2a43c..39fe9b4e 100644 --- a/bindings/python/convert_all.py +++ b/bindings/python/convert_all.py @@ -16,7 +16,7 @@ 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":