Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.38k stars 2.71k forks source link

Issue Importing 'PipelineComponentBatchDeployment' from 'azure.ai.ml.entities' #32339

Open marilyndd opened 9 months ago

marilyndd commented 9 months ago

Description

I'm encountering an ImportError when trying to import PipelineComponentBatchDeployment from azure.ai.ml.entities.

Things Tried

Additional Information

The documentation indicates that PipelineComponentBatchDeployment is an experimental feature. However, I'm unable to import it even after following all troubleshooting steps.

Describe the bug ImportError: cannot import name 'PipelineComponentBatchDeployment' from 'azure.ai.ml.entities'

Installed Packages:


from azure.ai.ml import MLClient, Input
from azure.ai.ml import load_component
from azure.ai.ml.entities import (
    BatchEndpoint,
    PipelineComponentBatchDeployment,
    AmlCompute,
)
from azure.ai.ml.constants import AssetTypes
from azure.identity import DefaultAzureCredential
github-actions[bot] commented 9 months ago

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