Compare commits

...

4 Commits

Author SHA1 Message Date
464c3d372c Update CI to trigger on main only and tag image as latest
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 27s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 10:02:53 -04:00
473cf730d4 Trigger CI on rocm7-dev branch, tag image by branch name
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 23m37s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 17:34:00 -04:00
c749c974e7 Update docker-compose ROCM_VERSION to 7.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 17:33:44 -04:00
80ffcdd5da Upgrade to ROCm 7.0 and remove 6.2 API backport shims
The HIP patch already targets the ROCm 7 hipBLAS API (HIPBLAS_COMPUTE_*,
hipDataType, HIP_R_*). The sed block was explicitly downgrading those to
the deprecated ROCm 6.2 equivalents; removing it lets the patch build
natively against ROCm 7.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 17:31:09 -04:00
2 changed files with 2 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
ARG ROCM_VERSION=6.2
ARG ROCM_VERSION=7.0
ARG GPU_ARCH="gfx1030;gfx1031"
ARG ONEDNN_VERSION=3.1.1
@@ -40,20 +40,6 @@ RUN git clone --branch v4.0.0 --depth 1 \
cd /build/CTranslate2 && \
git submodule update --init --recursive && \
git apply /tmp/ct2_4.0.0_rocm.patch && \
sed -i \
-e 's/hipDataType/hipblasDatatype_t/g' \
-e 's/hipblasComputeType_t/hipblasDatatype_t/g' \
-e 's/HIP_R_16F/HIPBLAS_R_16F/g' \
-e 's/HIP_R_32F/HIPBLAS_R_32F/g' \
-e 's/HIP_R_16BF/HIPBLAS_R_16B/g' \
-e 's/HIP_R_32I/HIPBLAS_R_32I/g' \
-e 's/HIP_R_8I/HIPBLAS_R_8I/g' \
-e 's/HIPBLAS_COMPUTE_16F/HIPBLAS_R_16F/g' \
-e 's/HIPBLAS_COMPUTE_32F_FAST_16BF/HIPBLAS_R_32F/g' \
-e 's/HIPBLAS_COMPUTE_32F_FAST_16F/HIPBLAS_R_32F/g' \
-e 's/HIPBLAS_COMPUTE_32F/HIPBLAS_R_32F/g' \
-e 's/HIPBLAS_COMPUTE_32I/HIPBLAS_R_32I/g' \
src/cuda2hip_macros.hpp && \
mkdir build && cd build && \
cmake -DCMAKE_INSTALL_PREFIX=${CTRANSLATE2_ROOT} \
-DCMAKE_PREFIX_PATH=/opt/rocm \

View File

@@ -3,7 +3,7 @@ services:
build:
context: .
args:
ROCM_VERSION: "6.2"
ROCM_VERSION: "7.0"
GPU_ARCH: "gfx1030;gfx1031"
image: rocm-faster-whisper:latest
devices: