Can't setting the scoring script when creating batch endpoint job

Yicong Cui 20 Reputation points Microsoft Employee
2025-03-07T09:00:40.0266667+00:00

I have a deployment in the Azure Machine Learning batch endpoint. In this deployment, I set a custom scoring script batch_driver.py. (see below picture)

azure_ml_job

However, when I try creating new job, the scoring name still is driver/amlbi_main.py. Is it a bug?

azure_ml_job2

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,177 questions
{count} votes

Accepted answer
  1. Manas Mohanty 1,695 Reputation points Microsoft External Staff
    2025-03-07T16:06:09.73+00:00

    Hi Yicong Cui

    Issue seems to be in scoring script. Normally driver/amlbi_main.py issues point towards missing environment packages or runtime issue in loading model etc.

    You can debug it by adding try catch blocks in crucial steps like model/data loading, saving to storage location etc.

    First point of debugging should be in endpoint logs.

    If you could share endpoint and environment logs in private message, we can debug further.

    Attached Troubleshoot guide for batch endpoint for reference

    Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.