Skip to content

Commit

Permalink
fix pyarrow vulnerability in vision envs (#1806)
Browse files Browse the repository at this point in the history
* fixing pyarrow vulnerabilities for dnn-vision-gpu

* Added pyarrow-hotfix to fix vulnerabilities

* Version up environments
  • Loading branch information
nvijayrania authored Nov 23, 2023
1 parent b322af8 commit c63c304
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: acft-transformers-image-gpu
version: "8"
version: "9"
type: environment
spec: spec.yaml
extra_config: environment.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ azureml-acft-image-components=={{latest-pypi-version}}
azureml-core==1.53.0
azure-ai-ml==1.11.0
requests
datasets==2.14.5
datasets==2.14.7
transformers==4.34.1
# Note: pinning transformers[sentencepiece], as sentencepiece is required by optimum lib, to avoid version conflict
transformers[sentencepiece]==4.34.1
accelerate==0.23.0
optimum==1.13.1
diffusers==0.20.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: acft-mmdetection-image-gpu
version: "8"
version: "9"
type: environment
spec: spec.yaml
extra_config: environment.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ azureml-acft-image-components=={{latest-pypi-version}}
azureml-core==1.53.0
azure-ai-ml==1.11.0
requests
datasets==2.14.5
datasets==2.14.7
transformers==4.34.1
# Note: pinning transformers[sentencepiece], as sentencepiece is required by optimum lib, to avoid version conflict
transformers[sentencepiece]==4.34.1
accelerate==0.23.0
# NOTE: optimum is pinned to old version because with new version, we see big drop in run time performance for MMD
optimum==1.8.8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: acft-mmtracking-video-gpu
version: "3"
version: "4"
type: environment
spec: spec.yaml
extra_config: environment.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ azureml-acft-image-components=={{latest-pypi-version}}
azureml-core==1.53.0
azure-ai-ml==1.11.0
requests
datasets==2.14.5
datasets==2.14.7
transformers==4.34.1
# Note: pinning transformers[sentencepiece], as sentencepiece is required by optimum lib, to avoid version conflict
transformers[sentencepiece]==4.34.1
accelerate==0.23.0
# NOTE: optimum is pinned to old version because with new version, we see big drop in run time performance for MMD
optimum==1.8.8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: acpt-automl-image-framework-selector-gpu
version: "8"
version: "9"
type: environment
spec: spec.yaml
extra_config: environment.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ azureml-mlflow
azureml-core
requests
certifi==2023.07.22
setuptools==67.6.0
setuptools==67.6.0
pyarrow-hotfix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mlflow==2.6.0
cloudpickle==2.2.1
datasets==2.14.5
datasets==2.14.7
openmim==0.3.9
torch==2.0.1
torchvision==0.15.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mlflow==2.6.0
cloudpickle==2.2.1
datasets==2.14.5
datasets==2.14.7
openmim==0.3.9
torch==2.0.1
torchvision==0.15.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- wheel=0.38.1
- pip:
- cryptography>=41.0.4
- pyarrow-hotfix>=0.5
- azureml-mlflow=={{latest-pypi-version}}
- azureml-dataset-runtime=={{latest-pypi-version}}
- azureml-telemetry=={{latest-pypi-version}}
Expand All @@ -26,4 +27,5 @@ dependencies:
- azureml-interpret=={{latest-pypi-version}}
- azureml-train-automl-runtime=={{latest-pypi-version}}
- azureml-automl-dnn-vision=={{latest-pypi-version}}
- azureml-dataprep>=2.24.4
- azureml-dataprep>=2.24.4
- pyarrow-hotfix

0 comments on commit c63c304

Please sign in to comment.