Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docker/Dockerfile_rocm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM rocm/dev-ubuntu-22.04:7.2 AS builder
ARG ROCM_VERSION=7.2.1
FROM rocm/dev-ubuntu-22.04:${ROCM_VERSION} AS builder

RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -87,7 +88,7 @@ RUN cd python && \
python3 -m pip --no-cache-dir install -r install_requirements.txt && \
python3 setup.py bdist_wheel --dist-dir $CTRANSLATE2_ROOT

FROM rocm/dev-ubuntu-22.04:7.2
FROM rocm/dev-ubuntu-22.04:${ROCM_VERSION}

RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion docker/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ build()
}

if [ "$GPU" == "rocm" ]; then
build Dockerfile_rocm ubuntu22.04-rocm7.2
build Dockerfile_rocm ubuntu22.04-rocm7.2.1
else
build Dockerfile ubuntu22.04-cuda12.8
fi
Loading