Skip to content

Commit f21f6db

Browse files
authored
Merge branch 'main' into sunghcho/gpt-oss-20b-generic-cpu
2 parents ff7f3c0 + 8f7bcba commit f21f6db

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

assets/data-labeling/environments/data-labeling/context/conda_dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- pytorch
55
dependencies:
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}}

assets/training/automl/environments/ai-ml-automl-dnn-text-gpu-ptca/context/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ RUN pip uninstall -y onnxruntime
6969
RUN 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

assets/training/finetune_acft_hf_nlp/environments/acpt-draft/context/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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
1112
COPY requirements.txt .
1213
RUN pip install -r requirements.txt --no-cache-dir
1314

@@ -23,8 +24,6 @@ RUN pip install xgrammar==0.1.27
2324
RUN pip install transformers==4.57.1
2425
# clean conda and pip caches
2526
RUN 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
2827
COPY loss /opt/conda/envs/ptca/lib/python3.10/site-packages/specforge/core/loss.py
2928
COPY eagle3 /opt/conda/envs/ptca/lib/python3.10/site-packages/specforge/core/eagle3.py
3029
COPY parse /opt/conda/envs/ptca/lib/python3.10/site-packages/specforge/data/parse.py

assets/training/finetune_acft_hf_nlp/environments/acpt-rft/context/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
4444
COPY requirements.txt .
4545

4646
RUN pip install -r requirements.txt --no-cache-dir

0 commit comments

Comments
 (0)