Skip to content

Commit d1ec84a

Browse files
committed
docs
1 parent b5a43ce commit d1ec84a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ option(WITH_OPENBLAS "Compile with OpenBLAS backend" OFF)
1414
option(WITH_RUY "Compile with Ruy backend" OFF)
1515
option(WITH_CUDA "Compile with CUDA backend" OFF)
1616
option(WITH_CUDNN "Compile with cuDNN backend" OFF)
17-
option(WITH_HIP "Compile with HIP backend" OFF)
17+
option(WITH_HIP "Compile with AMD HIP GPU backend" OFF)
1818
option(CUDA_DYNAMIC_LOADING "Dynamically load CUDA libraries at runtime" OFF)
1919
option(ENABLE_CPU_DISPATCH "Compile CPU kernels for multiple ISA and dispatch at runtime" ON)
2020
option(ENABLE_PROFILING "Compile with profiling support" OFF)

docs/installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pip install ctranslate2
1111
The Python wheels have the following requirements:
1212

1313
* OS: Linux (x86-64, AArch64), macOS (x86-64, ARM64), Windows (x86-64)
14-
* Python version: >= 3.7
14+
* Python version: >= 3.9
1515
* pip version: >= 19.3 to support `manylinux2014` wheels
1616

1717
```{admonition} GPU support
@@ -114,6 +114,7 @@ The following options can be set with `-DOPTION=VALUE` during the CMake configur
114114
| WITH_ACCELERATE | **OFF**, ON | Compiles with the Apple Accelerate backend |
115115
| WITH_OPENBLAS | **OFF**, ON | Compiles with the OpenBLAS backend |
116116
| WITH_RUY | **OFF**, ON | Compiles with the Ruy backend |
117+
| WITH_HIP | **OFF**, ON | Compiles with the AMD HIP GPU backend |
117118

118119
Some build options require additional dependencies. See their respective documentation for installation instructions.
119120

@@ -123,6 +124,7 @@ Some build options require additional dependencies. See their respective documen
123124
* `-DWITH_DNNL=ON` requires [oneDNN](https://github.com/oneapi-src/oneDNN) >= 3.0
124125
* `-DWITH_ACCELERATE=ON` requires [Accelerate](https://developer.apple.com/documentation/accelerate)
125126
* `-DWITH_OPENBLAS=ON` requires [OpenBLAS](https://github.com/xianyi/OpenBLAS)
127+
* `-DWITH_HIP=ON` requires [ROCm libraries](https://rocm.docs.amd.com/en/latest/reference/api-libraries.html)
126128

127129
Multiple backends can be enabled for a single build, for example:
128130

0 commit comments

Comments
 (0)