azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Monitor metric calculation pipeline failing with custom preprocessing component

Open adfi opened this issue 1 year ago • 9 comments

  • Package Name: azure-ml-ai
  • Package Version: 1.11.0
  • Operating System: Ubuntu
  • Python Version: 3.10

Describe the bug I am trying to get a Monitor up and running for the case where I have my own production data. I have followed all the instructions and comply with the prerequisites. When running the python code from the instructions the monitor is created just fine. However when executing the pipeline for the metric calculation the Preprocessing Component fails with the following error: Failed to submit job due to Exception: Response status code does not indicate success: 400 (Must specify ComputeType in the request when submit job to Global Job Dispatcher.). Must specify ComputeType in the request when submit job to Global Job Dispatcher..

The other components in the pipeline all have the serverless spark compute assigned to it but the Custom Preprocessing component does not.

To Reproduce Steps to reproduce the behavior:

  1. Create a custom preprocessing component
  2. Follow the instructions to create a monitor
  3. Manually trigger the pipeline to calculate the metrics

Expected behavior I expected the pipeline to complete successfully.

adfi avatar Oct 11 '23 09:10 adfi

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github @Azure/azure-ml-sdk.

github-actions[bot] avatar Oct 11 '23 17:10 github-actions[bot]

Thanks for the report @adfi! I have looped in the ML team to take a look :)

annatisch avatar Oct 11 '23 17:10 annatisch

Hi, I am facing the same problem. Is there a workaround or solution?

mats-claassen avatar Nov 09 '23 12:11 mats-claassen

Hi guys! Im facing the same problem, Do you have any suggestion please?

anaarmas-sys0 avatar Dec 01 '23 17:12 anaarmas-sys0

Here the issue

anaarmas-sys0 avatar Dec 13 '23 15:12 anaarmas-sys0

Hi again!! Any suggestion until now?

anaarmas-sys avatar Jan 09 '24 21:01 anaarmas-sys

Hello @adfi, @mats-claassen, @anaarmas-sys0

For creating the custom preprocessing component to preprocess your data, please see the examples here: https://github.com/Azure/azureml-examples/tree/main/cli/monitoring/components/custom_preprocessing

I would like to understand more about the challenges your are experiencing here and the format of the data you are attempting to preprocess. If you could please share a contact email I will reach out to you to schedule a call.

Many thanks, Alex

ahughes-msft avatar Jan 10 '24 19:01 ahughes-msft

Hello Alex!

For sure!, my email is @.*** In the meantime I'm going to check the example in the link.

Thank you!

El mié, 10 ene 2024 a las 13:15, Alexander Hughes @.***>) escribió:

Hello @adfi https://github.com/adfi,

For creating the custom preprocessing component to preprocess your data, please see the examples here: https://github.com/Azure/azureml-examples/tree/main/cli/monitoring/components/custom_preprocessing

I would like to understand more about the challenges your are experiencing here and the format of the data you are attempting to preprocess. If you could please share a contact email I will reach out to you to schedule a call.

Many thanks, Alex

— Reply to this email directly, view it on GitHub https://github.com/Azure/azure-sdk-for-python/issues/32427#issuecomment-1885504649, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEMSH7SA4IDBV6EYMHQCSADYN3SDVAVCNFSM6AAAAAA53USLIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGUYDINRUHE . You are receiving this because you commented.Message ID: @.***>

anaarmas-sys0 avatar Jan 10 '24 20:01 anaarmas-sys0

Hello Alex! The example in the link solved the problem about the ComputeType requested. Thank you so much!

anaarmas-sys avatar Jan 11 '24 18:01 anaarmas-sys

The matter isn't relevant for me anymore. As @anaarmas-sys reports it to be resolved, we can close the issue.

adfi avatar Jan 12 '24 11:01 adfi