This repository was archived by the owner on Sep 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
PyTorch/Hugging_Face_pipelines/Benchmarking_on_Optimum-habana_with_fp8 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Copyright (c) 2025 Intel Corporation
22# SPDX-License-Identifier: Apache-2.0
33
4- FROM vault.habana.ai/gaudi-docker/1.20.0/ubuntu22.04/habanalabs/pytorch-installer-2.6.0:1.20.0-543
5-
4+ FROM vault.habana.ai/gaudi-docker/1.21.1/ubuntu22.04/habanalabs/pytorch-installer-2.6.0:latest
65# Need node to build doc HTML. Taken from https://stackoverflow.com/a/67491580
76RUN apt-get update && apt-get install -y --no-install-recommends \
87 software-properties-common \
@@ -12,15 +11,16 @@ RUN npm install n -g && \
1211
1312RUN python3 -m pip install --no-cache-dir --upgrade pip
1413RUN python3 -m pip install --upgrade-strategy eager optimum[habana]
15- RUN python3 -m pip install git+https://github.com/HabanaAI/DeepSpeed.git@1.20 .0
14+ RUN python3 -m pip install git+https://github.com/HabanaAI/DeepSpeed.git@1.21 .0
1615RUN mkdir -p /workspace
1716WORKDIR /workspace
18- RUN git clone https://github.com/huggingface/optimum-habana && cd optimum-habana && git checkout v1.16 .0
17+ RUN git clone https://github.com/huggingface/optimum-habana && cd optimum-habana && git checkout v1.18 .0
1918
2019WORKDIR /workspace/optimum-habana/examples/text-generation
2120RUN python3 -m pip install -r requirements.txt
2221RUN python3 -m pip install -r requirements_lm_eval.txt
2322COPY . .
24- COPY Gaudi_1-20 .json Gaudi.json
25- COPY HQT_1-20 .zip HQT.zip
23+ COPY Gaudi_1-21 .json Gaudi.json
24+ COPY HQT_1-21 .zip HQT.zip
2625RUN python3 -m pip install -r requirements_bm.txt
26+ ENV skip_llama2_70b 1
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2025 Intel Corporation
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ FROM vault.habana.ai/gaudi-docker/1.20.0/ubuntu22.04/habanalabs/pytorch-installer-2.6.0:1.20.0-543
5+
6+ # Need node to build doc HTML. Taken from https://stackoverflow.com/a/67491580
7+ RUN apt-get update && apt-get install -y --no-install-recommends \
8+ software-properties-common \
9+ npm
10+ RUN npm install n -g && \
11+ n latest
12+
13+ RUN python3 -m pip install --no-cache-dir --upgrade pip
14+ RUN python3 -m pip install --upgrade-strategy eager optimum[habana]
15+ RUN python3 -m pip install git+https://github.com/HabanaAI/DeepSpeed.git@1.20.0
16+ RUN mkdir -p /workspace
17+ WORKDIR /workspace
18+ RUN git clone https://github.com/huggingface/optimum-habana && cd optimum-habana && git checkout v1.16.0
19+
20+ WORKDIR /workspace/optimum-habana/examples/text-generation
21+ RUN python3 -m pip install -r requirements.txt
22+ RUN python3 -m pip install -r requirements_lm_eval.txt
23+ COPY . .
24+ COPY Gaudi_1-20.json Gaudi.json
25+ COPY HQT_1-20.zip HQT.zip
26+ RUN python3 -m pip install -r requirements_bm.txt
You can’t perform that action at this time.
0 commit comments