Skip to content

docs: add build instructions for NVIDIA Jetson (aarch64 + CUDA) - #2019

Merged
jordimas merged 1 commit into
OpenNMT:masterfrom
vimalk78:docs/jetson-aarch64-cuda-build
Oct 27, 2026
Merged

jordimas merged 1 commit into
OpenNMT:masterfrom
vimalk78:docs/jetson-aarch64-cuda-build

Conversation

@vimalk78

Copy link
Copy Markdown
Contributor

The prebuilt aarch64 wheels on PyPI are CPU-only. Add instructions for building from source with CUDA on Jetson devices (JetPack 6.x), including the required cmake flags and a note in hardware_support.md.

Tested on Jetson Orin Nano with JetPack 6.x, CUDA 12.x, Python 3.10.

Relates to #1908.

The prebuilt aarch64 wheels on PyPI are CPU-only. Add instructions for
building from source with CUDA on Jetson devices (JetPack 6.x), including
the required cmake flags and a note in hardware_support.md.

Tested on Jetson Orin Nano with JetPack 6.x, CUDA 12.x, Python 3.10.

Relates to OpenNMT#1908.
@vimalk78

Copy link
Copy Markdown
Contributor Author

hello, request review.

@vimalk78

Copy link
Copy Markdown
Contributor Author

guys, anyone?

@vimalk78

vimalk78 commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Can you please check this once, thank you.

Comment thread docs/installation.md
```

Verify CUDA support:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use python -m pip install --force-reinstall dist/ctranslate2*.whl here? Otherwise pip may keep the CPU-only wheel if the same version is already installed.

Comment thread docs/installation.md
git clone --recursive https://github.com/OpenNMT/CTranslate2.git
cd CTranslate2
mkdir build && cd build
cmake .. -DWITH_CUDA=ON -DWITH_CUDNN=ON -DWITH_MKL=OFF -DOPENMP_RUNTIME=COMP

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we also add -DWITH_RUY=ON? With MKL disabled, this build has no CPU matrix multiplication backend, so CPU inference won’t work.

@jordimas

Copy link
Copy Markdown
Collaborator

Thanks!

@jordimas
jordimas merged commit d5dedb7 into OpenNMT:master Oct 27, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants