-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed as not planned
Closed as not planned
Copy link
Labels
Machine LearningService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.azureml-mlflowcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: More information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.There has been no recent activity on this issue.
Description
- Package Name: azureml-mlflow azure-ai-ml
- Package Version: azureml-mlflow==1.60.0 , azure-ai-ml==1.26.2
- Operating System: Linux
- Python Version: 3.10
Describe the bug
The MLFlow client exposed by azureml-mlflow throws an authentication exception when uploading an artifact to a MLFlow run, if the upload directory (artifact_path
) is malformed (e.g. it is the '.' path ).
I suspect the exception is thrown by the underlying object storage SDK, but the AzureML sdk frontend should do some input validation IMO.
To Reproduce
from mlflow import log_artifact
log_artifact(local_path = 'whatever.jpg',
artifact_path = '.')
Expected behavior
The client should say that the upload directory is malformed/unexpected, rather than throwing an authentication exception.
Add some client-side input validation, please.
Screenshots
Metadata
Metadata
Assignees
Labels
Machine LearningService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.azureml-mlflowcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: More information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.There has been no recent activity on this issue.