15 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
5a7545a8c3 Add Gitea Actions workflow to build and push Docker image
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 33m7s
Triggers on push to main. Uses BuildKit registry cache so the expensive
CTranslate2 HIP compilation is cached between runs. Pushes both :latest
and :<sha> tags to git.sdgarren.com container registry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 22:17:40 -04:00
1a36770edb Add libopenblas0 runtime dependency
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 22:07:48 -04:00
3adefb551b Install ROCm runtime libs (hipblas, miopen-hip, rocrand) in runtime stage
The builder had dev packages but the runtime stage was missing the .so
files, causing ImportError on libhipblas.so.2 at startup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 22:04:52 -04:00
c3e0e720ba Relax wyoming-faster-whisper version to >=3.1.0 (3.1.1 not on PyPI yet)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 22:01:03 -04:00
f5a19920d7 Fix all ROCm 6.2 hipBLAS API incompatibilities
ROCm 6.2 hipblasGemmEx uses hipblasDatatype_t for the compute type arg,
not hipblasComputeType_t (that came in ROCm 7). Map compute type and
HIPBLAS_COMPUTE_* constants down to the old hipblasDatatype_t/HIPBLAS_R_*
equivalents. Also fix HIPBLAS_R_16B (not 16BF) and add rocrand-dev.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 21:46:56 -04:00
f0504b0ff2 Fix ROCm 6.x hipBLAS API incompatibilities from ROCm 7 patch
- Add hiprand-dev and hipcub-dev for missing headers
- Patch cuda2hip_macros.hpp post-apply: downgrade hipDataType→hipblasDatatype_t
  and HIP_R_* → HIPBLAS_R_* since ROCm 6.2 hipblasGemmEx still uses the
  older hipblasDatatype_t signature (hipDataType wasn't wired into
  hipblasGemmEx until ROCm 7.0)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 21:33:06 -04:00
bfa18a07e0 Install rocthrust-dev to provide Thrust headers for HIP compilation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 21:19:23 -04:00
d2aef1e7e0 Fix missing hipblas/MIOpen dev packages in builder stage
Install hipblas-dev and miopen-hip-dev, and set CMAKE_PREFIX_PATH=/opt/rocm
so cmake can locate the hipblasConfig.cmake and MIOpen config files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 21:05:58 -04:00
b043494c74 Change Wyoming listener port to 10405
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 20:58:31 -04:00
9dd6213831 Add ROCm build for faster-whisper with Wyoming endpoint
Multi-stage Dockerfile builds CTranslate2 v4.0.0 with HIP/ROCm support
targeting gfx1030/gfx1031 (RX 6000 series), then installs faster-whisper
and wyoming-faster-whisper on top for a Wyoming ASR server on port 10300.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 20:57:03 -04:00
a6749fd113 Initial commit 2026-04-02 20:33:10 -04:00