Skip to content

Commit 42bbb67

Browse files
TheBigK02kolchfa-awsKonstantin Nebel
authored andcommitted
Added GPU-Access to systemd-Service Definition (opensearch-project#10694)
* Update parent title for install and configure benchmark pages (opensearch-project#10686) Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: Konstantin Nebel <[email protected]> * Delete unused images from the site and correct image formatting (opensearch-project#10691) * Remove unused images Signed-off-by: Fanit Kolchina <[email protected]> * Delete icons file and correct image formatting Signed-off-by: Fanit Kolchina <[email protected]> * Heading formatting Signed-off-by: Fanit Kolchina <[email protected]> --------- Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: Konstantin Nebel <[email protected]> * Added GPU-Access for systemd --------- Signed-off-by: Konstantin Nebel <[email protected]> * Update _ml-commons-plugin/gpu-acceleration.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: TheBigK02 <[email protected]> * Update _ml-commons-plugin/gpu-acceleration.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: TheBigK02 <[email protected]> --------- Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: Konstantin Nebel <[email protected]> Signed-off-by: TheBigK02 <[email protected]> Co-authored-by: kolchfa-aws <[email protected]> Co-authored-by: Konstantin Nebel <[email protected]>
1 parent 9a1fe8c commit 42bbb67

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

_ml-commons-plugin/gpu-acceleration.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ else
6767
fi
6868
```
6969

70+
If you run OpenSearch natively (without Docker) using the packaged version of OpenSearch, `systemd` may block OpenSearch from accessing your GPU. To accelerate models, you need a working [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) installation and access to the NVIDIA device under `/dev`.
71+
72+
To allow OpenSearch to use the GPU, update the `systemd` service by adding the following configuration:
73+
74+
```ini
75+
systemctl edit opensearch.service
76+
77+
[Service]
78+
DevicePolicy=auto
79+
```
80+
81+
7082
After verifying that `nvidia-uvm` exists under `/dev`, you can start OpenSearch inside your cluster.
7183

7284
### Preparing AWS Inferentia ML node

0 commit comments

Comments
 (0)