Update convert.py
Browse files- convert.py +1 -1
convert.py
CHANGED
@@ -238,7 +238,7 @@ def convert(api: "HfApi", model_id: str, force: bool = False) -> Optional["Commi
|
|
238 |
operations = convert_multi(model_id, folder)
|
239 |
else:
|
240 |
raise RuntimeError(f"Model {model_id} doesn't seem to be a valid pytorch model. Cannot convert")
|
241 |
-
check_final_model(model_id, folder)
|
242 |
else:
|
243 |
operations = convert_generic(model_id, folder, filenames)
|
244 |
|
|
|
238 |
operations = convert_multi(model_id, folder)
|
239 |
else:
|
240 |
raise RuntimeError(f"Model {model_id} doesn't seem to be a valid pytorch model. Cannot convert")
|
241 |
+
# check_final_model(model_id, folder)
|
242 |
else:
|
243 |
operations = convert_generic(model_id, folder, filenames)
|
244 |
|