Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mlflow_export_import/model/import_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _import_version(self,
:param sleep_time: Seconds to wait for model version crreation.
"""
dst_source = dst_source.replace("file://","") # OSS MLflow
if not dst_source.startswith("dbfs:") and not os.path.exists(dst_source):
if not dst_source.startswith("dbfs:") and not dst_source.startswith("s3:") and not os.path.exists(dst_source):
raise MlflowExportImportException(f"'source' argument for MLflowClient.create_model_version does not exist: {dst_source}", http_status_code=404)
kwargs = {"await_creation_for": self.await_creation_for } if self.await_creation_for else {}
tags = src_vr["tags"]
Expand Down