Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gpu doc with docker test. #702

Merged
merged 2 commits into from
Jan 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/model_serving_framework/GPU_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,32 @@ For the second one run this
sudo sysctl -w vm.max_map_count=262144
```

# 3. DOCKER

Tested on AWS EC2 `g5.xlarge`, 64-bit(x86)

- Amazon Linux AMI: `AWS Deep Learning Base AMI GPU CUDA 11 (Ubuntu 20.04) 20221104`
- PyTorch: 1.12.1
- Docker: 20.10.21
- CUDA: 11.6
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also add cuda version after line 13, 62?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure

- CUDA Driver: 510.47.03
- Docker Image: nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04

Some example commands.

Host:
jngz-es marked this conversation as resolved.
Show resolved Hide resolved
```
sudo sysctl -w vm.max_map_count=262144
docker run -it --runtime=nvidia --gpus all -p 9200:9200 nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04 /bin/bash
```
Docker:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Start OpenSearch in nivida/cuda docker container

```
wget https://artifacts.opensearch.org/releases/bundle/opensearch/2.5.0/opensearch-2.5.0-linux-x64.tar.gz
tar -xvf opensearch-2.5.0-linux-x64.tar.gz
cd opensearch-2.5.0
bin/opensearch
jngz-es marked this conversation as resolved.
Show resolved Hide resolved
```




Expand Down