Issues with SQL Alchemy whilst deploying real time endpoint on ACI

Cameron Grimshaw-Jones 11 Reputation points
2022-01-13T20:18:14.927+00:00

Hello,

I'm trying to deploy an image to an ACI using Azure Machine Learning. One of the requirements/installations is sqlalchemy.

When building the image, sqlalchemy seems to install correctly. However, when I try to import the sqlalchemy modules within the code, the deployment to the ACI fails and I can't work out why.

Anyone had any similar issues - let me know if I need to provide any more info.

Thanks,

Cam

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,577 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Cameron Grimshaw-Jones 11 Reputation points
    2022-01-14T09:23:13.24+00:00

    Hey,

    Thanks for the reply. Below is currently what I'm doing - I'm using a yaml file rather than a docker file but I think what I'm currently doing should allow dependencies?

    This is part of my yaml file that i'm supplying to the image
    165050-image.png

    And then this is the code for the image i'm deploying.
    165068-image.png