question

WaqasHussainSiddiqui-2093 avatar image
0 Votes"
WaqasHussainSiddiqui-2093 asked YutongTie-MSFT commented

Dataset for inference data is registered with wrong path when deployed on Kubernetes

When model is deployed on Kubernetes with model data collection set to true, the dataset which gets registered in workspace has a wrong path.
The blob storage path where this data being collected has default in it but the path registered doesn't have default.

For example, actual path on storage:

 azuremlwsdev/modeldata/GUID/ad/ad-workspace-dev/dev-ad-model-v1-2-jen/model/default/inputs

Path dataset is registered with:

 GUID/ad/ad-workspace-dev/dev-ad-model-v1-2-jen/model/inputs/**/inputs*.csv

Code inside our scoring service to init collector and use them:

 def init():    
     global inputs_dc, prediction_dc
     ...
     inputs_dc = ModelDataCollector('model', designation="inputs", feature_names=feature_set.columns.values.tolist())
     prediction_dc = ModelDataCollector('model', designation="predictions", feature_names=["score"])
    
 def run(raw_data):
     inputs_dc.collect(X)
     prediction_dc.collect(y_pred)

Below are the library versions being used:

 azureml-defaults==1.1.5
 azureml-monitoring==0.1.0a21


azure-machine-learning
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

Thanks for reaching out to us. May I know how you deployed your model? If you can share the step/ any guidance/ code sample you are referring to, it will us to reproduce the issue.

Regards,
Yutong

0 Votes 0 ·

0 Answers