Skip to content

Commit

Permalink
azure-ai-ml is released
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotzh authored Oct 8, 2023
1 parent 55e0153 commit e91aa30
Showing 1 changed file with 3 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@ This is a dummy pipeline job with anonymous reference for flow as component.

Note that you will need to install a private version of cli and make sure that the compute cluster has the permission to access connections before you try to use this feature.

## dependency

To use this feature, you'll need to install a private version of `mldesigner` and cli:

```bash
# install the private version azure-ai-ml first. mldesigner depends this to compile flow as component
python -m pip install azure-ai-ml==1.10.0a20230904003 --extra-index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/

# remove existed ml extension if you haven't installed the private version
az extension remove -n ml
az extension add --source https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2/ml-0.0.139-py3-none-any.whl -y
```

## for usage in office

When using in office, there are some more constraints:
Expand All @@ -27,19 +14,19 @@ To meet the requirement, please install below private version packages and exten
python -m pip install shrike[build]==2.0.0dev9

# install this after shrike as shrike depends on a stable version
python -m pip install azure-ai-ml==1.10.0a20230904003 --extra-index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/
python -m pip install azure-ai-ml

python -m pip install mldesigner==0.0.105430780 --extra-index-url https://azuremlsdktestpypi.azureedge.net/test-sdk-cli-v2

# the private promptflow is to allow pandas >= 2.0.0
python -m pip install promptflow==0.0.105586882 promptflow-tools --extra-index-url https://azuremlsdktestpypi.azureedge.net/promptflow/
python -m pip install promptflow promptflow-tools

# note that all referred python scripts will be loaded during compile. Please use local package import instead of global import
python -m pip install bs4

# remove existed ml extension if you haven't installed the private version
az extension remove -n ml
az extension add --source https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2/ml-0.0.139-py3-none-any.whl -y
az extension add ml
```

For global import issue, suppose below tool is referred in `flow.dag.yaml`:
Expand Down

0 comments on commit e91aa30

Please sign in to comment.