Skip to content

Commit ade967f

Browse files
committed
Add NVIDIA CUDA dependency to README.md
1 parent fb3f393 commit ade967f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,25 @@ the platforms you are targeting. For this purpose these artifacts include profil
133133
the conventions established on this page:
134134
* [Reducing the Number of Dependencies](https://github.com/bytedeco/javacpp-presets/wiki/Reducing-the-Number-of-Dependencies)
135135

136+
### NVIDIA CUDA dependency
137+
138+
If you are using an NVIDIA GPU, you need to install the NVIDIA driver and CUDA. For example, on Ubuntu 24.04, you can install them using the following command:
139+
140+
```sh
141+
sudo apt-get install -y nvidia-driver-550 nvidia-cuda-toolkit
142+
```
143+
144+
Additionally, you need to add the following:
145+
146+
```xml
147+
<dependency>
148+
<groupId>org.bytedeco</groupId>
149+
<artifactId>cuda</artifactId>
150+
<version>12.3-8.9-1.5.10</version>
151+
<classifier>linux-x86_64-redist</classifier>
152+
</dependency>
153+
```
154+
136155
### Snapshots
137156

138157
Snapshots of TensorFlow Java artifacts are automatically distributed after each update in the code. To use them, you need

0 commit comments

Comments
 (0)