Skip to content

Commit

Permalink
Update HPU Dockerfile to latest version and fix CI (#191)
Browse files Browse the repository at this point in the history
* Update HPU Dockerfile to latest version and fix CI

Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>

* update dockerfile

Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>

* fix ci

Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>

---------

Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
  • Loading branch information
XuehaoSun authored Nov 6, 2024
1 parent 9d76832 commit 6633314
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker/hpu.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM vault.habana.ai/gaudi-docker/1.13.0/ubuntu22.04/habanalabs/pytorch-installer-2.1.0:latest as hpu
FROM vault.habana.ai/gaudi-docker/1.18.0/ubuntu22.04/habanalabs/pytorch-installer-2.4.0:latest as hpu

ENV LANG=en_US.UTF-8
ENV PYTHONPATH=/root:/usr/lib/habanalabs/
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/model_test_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- evals/evaluation/**
- evals/metrics/**
- setup.py
- "!**.md"
workflow_dispatch:

# If there is a new commit, the previous jobs will be canceled
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/model_test_hpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- evals/evaluation/**
- evals/metrics/**
- setup.py
- "!**.md"
workflow_dispatch:

# If there is a new commit, the previous jobs will be canceled
Expand Down Expand Up @@ -60,7 +61,7 @@ jobs:
docker stop ${{ env.CONTAINER_NAME }}
docker rm -vf ${{ env.CONTAINER_NAME }} || true
fi
docker run -tid --runtime=habana --name=${{ env.CONTAINER_NAME }} -v ${{ github.workspace }}:/GenAIEval -v /dev/shm:/dev/shm ${{ env.DOCKER_NAME }}:${{ env.DOCKER_TAG }}
docker run -tid --runtime=habana -e HABANA_VISIBLE_DEVICES=all --name=${{ env.CONTAINER_NAME }} -v ${{ github.workspace }}:/GenAIEval -v /dev/shm:/dev/shm ${{ env.DOCKER_NAME }}:${{ env.DOCKER_TAG }}
- name: Evaluation
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/hpu.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM vault.habana.ai/gaudi-docker/1.16.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.2:latest as hpu
FROM vault.habana.ai/gaudi-docker/1.18.0/ubuntu22.04/habanalabs/pytorch-installer-2.4.0:latest as hpu

ENV LANG=en_US.UTF-8
ENV PYTHONPATH=/root:/usr/lib/habanalabs/
Expand Down

0 comments on commit 6633314

Please sign in to comment.