File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed
data-labeling/environments/data-labeling/context
automl/environments/ai-ml-automl-dnn-text-gpu-ptca/context
finetune_acft_hf_nlp/environments Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ channels:
44- pytorch
55dependencies :
66- python=3.9
7- - pip=21.3.1
7+ - pip=25.3
88- pip :
99 - azureml-core=={{latest-pypi-version}}
1010 - azureml-contrib-dataset=={{latest-pypi-version}}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ RUN pip uninstall -y onnxruntime
6969RUN pip install \
7070 transformers==4.53.0 \
7171 optimum==1.23.3 \
72- accelerate==0.33 .0 \
72+ accelerate==1.12 .0 \
7373 deepspeed~=0.15.1
7474
7575# Address vulnerabilities
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ RUN apt-get update && apt-get -y upgrade && \
77 apt-get install -y --only-upgrade git tar binutils binutils-common binutils-x86-64-linux-gnu libbinutils wget && \
88 apt-get autoremove -y linux-headers-5.15.0-153 linux-headers-5.15.0-153-generic linux-headers-5.15.0-161 linux-headers-5.15.0-161-generic 2>/dev/null || true && \
99 apt-get clean && rm -rf /var/lib/apt/lists/*
10- RUN pip install pip==25.3
10+ RUN conda install pip==25.3 -y
11+ RUN conda run -n base python -m pip install --upgrade pip==25.3
1112COPY requirements.txt .
1213RUN pip install -r requirements.txt --no-cache-dir
1314
@@ -23,8 +24,6 @@ RUN pip install xgrammar==0.1.27
2324RUN pip install transformers==4.57.1
2425# clean conda and pip caches
2526RUN rm -rf ~/.cache/pip
26- RUN rm -rf /opt/conda/lib/python3.10/site-packages/pip-25.2.dist-info
27- RUN rm -rf opt/conda/lib/python3.13/site-packages/pip-25.2.dist-info
2827COPY loss /opt/conda/envs/ptca/lib/python3.10/site-packages/specforge/core/loss.py
2928COPY eagle3 /opt/conda/envs/ptca/lib/python3.10/site-packages/specforge/core/eagle3.py
3029COPY parse /opt/conda/envs/ptca/lib/python3.10/site-packages/specforge/data/parse.py
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ RUN apt-get update && \
3838 apt-get autoclean && \
3939 apt-get clean && \
4040 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/apt/archives/*.deb
41- RUN pip install --no-cache-dir pip==25.3
41+ RUN conda install pip==25.3 -y
42+ RUN conda run -n base python -m pip install --upgrade pip==25.3
4243# Remove all old pip metadata after upgrade
43- RUN find /opt/conda -type d -name "pip-25.2*" -exec rm -rf {} + 2>/dev/null || true
4444COPY requirements.txt .
4545
4646RUN pip install -r requirements.txt --no-cache-dir
You can’t perform that action at this time.
0 commit comments