Skip to content

Instantly share code, notes, and snippets.

@muaiyadh
muaiyadh / Dockerfile
Last active January 12, 2025 09:08
Building CTranslate2 for Python 3.10 from arlo-phoenix
# Dockerfile for building CTranslate2 with ROCm support for Python 3.10
# Tested with ROCm 6.2 and AMD RX 7900 XT (gfx1100)
# Source: https://github.com/arlo-phoenix/CTranslate2-rocm
FROM rocm/pytorch
# Set working directory for build
WORKDIR /build
# Activate conda environment for the rest of the commands