Update convert.py
Browse files- convert.py +1 -1
convert.py
CHANGED
|
@@ -291,7 +291,7 @@ def convert(api: "HfApi", model_id: str, force: bool = False) -> Tuple["CommitIn
|
|
| 291 |
operations, errors = convert_multi(model_id, folder, token=api.token)
|
| 292 |
else:
|
| 293 |
raise RuntimeError(f"Model {model_id} doesn't seem to be a valid pytorch model. Cannot convert")
|
| 294 |
-
check_final_model(model_id, folder, token=api.token)
|
| 295 |
else:
|
| 296 |
operations, errors = convert_generic(model_id, folder, filenames, token=api.token)
|
| 297 |
|
|
|
|
| 291 |
operations, errors = convert_multi(model_id, folder, token=api.token)
|
| 292 |
else:
|
| 293 |
raise RuntimeError(f"Model {model_id} doesn't seem to be a valid pytorch model. Cannot convert")
|
| 294 |
+
# check_final_model(model_id, folder, token=api.token)
|
| 295 |
else:
|
| 296 |
operations, errors = convert_generic(model_id, folder, filenames, token=api.token)
|
| 297 |
|