Skip to content

Commit

Permalink
Update transformers, cryptography and optimum versions across multipl…
Browse files Browse the repository at this point in the history
…e environments - Vulnerability image fixes (#3885)

* Update transformers, cryptography nad optimum versions across multiple environments - Vulnerability image fixes

* add more images
  • Loading branch information
saikmicro authored Feb 28, 2025
1 parent b0f4bdb commit ef074e8
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ azureml-metrics[text]=={{latest-pypi-version}}
mltable=={{latest-pypi-version}}
mpi4py==3.1.5
sentencepiece==0.1.99
transformers==4.46.3
transformers==4.48.0
huggingface-hub==0.25.2
datasets==2.17.1
optimum==1.23.3
Expand All @@ -24,4 +24,4 @@ trl==0.8.1
tiktoken==0.6.0
scipy==1.14.0
catalogue==2.0.10
cryptography==43.0.1
cryptography==44.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ RUN pip install scikit-learn==1.5.1

# The below file is required for baking the code into the environment
COPY data_import_run.py /azureml/data_import/run.py

# dummy number to change when needing to force rebuild without changing the definition: 1
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ azureml-core=={{latest-pypi-version}}
azure-ai-ml==1.19.0
requests
datasets==2.19.0
transformers==4.39.3
transformers==4.48.0
accelerate==0.29.3
optimum==1.19.0
optimum==1.23.3
diffusers==0.27.2
huggingface-hub==0.25.2
setuptools>=71.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ azureml-core=={{latest-pypi-version}}
azure-ai-ml==1.19.0
requests
datasets==2.15.0
transformers==4.38.2
transformers==4.48.0
accelerate==0.27.2
optimum==1.17.1
optimum==1.23.3
diffusers==0.24.0
huggingface-hub==0.25.2
openmim==0.3.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ azureml-core=={{latest-pypi-version}}
azure-ai-ml==1.19.0
requests>=2.31.0
datasets==2.15.0
transformers==4.36.2
transformers==4.48.0
accelerate==0.25.0
optimum==1.16.1
optimum==1.23.3
diffusers==0.24.0
openmim==0.3.9
mmengine==0.8.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ ENV AZURE_ML_CLI_PRIVATE_FEATURES_ENABLED=True
RUN pip install gunicorn==22.0.0
RUN pip install certifi==2024.07.04
RUN pip install onnx==1.17.0
# dummy number to change when needing to force rebuild without changing the definition: 2
# dummy number to change when needing to force rebuild without changing the definition: 1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN pip install azureml-metrics==0.0.33
# Vulnerability fix
RUN pip install datasets==2.15.0
RUN pip install pyarrow==14.0.1
RUN pip install cryptography==43.0.1
RUN pip install cryptography==44.0.1
RUN pip install gunicorn==22.0.0
RUN pip install onnxruntime==1.17.3
RUN pip install onnx==1.17.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ azureml-acft-contrib-hf-nlp=={{latest-pypi-version}}
# azureml_acft_multimodal_components=={{latest-pypi-version}}
# needed by multimodal
mltable==1.5.0
transformers==4.36.2
transformers==4.48.0
peft==0.4.0
deepspeed==0.15.2
optimum==1.16.1
optimum==1.23.3
accelerate==0.25.0
diffusers==0.24.0
onnxruntime-training==1.18.0
Expand Down

0 comments on commit ef074e8

Please sign in to comment.