Skip to content

Commit

Permalink
update FAQs
Browse files Browse the repository at this point in the history
  • Loading branch information
AllentDan committed Jan 24, 2022
1 parent 60f15eb commit 8144262
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/en/tutorials/how_to_use_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ docker run --gpus all -it -p 8080:8081 mmdeploy:master-gpu
1. CUDA error: the provided PTX was compiled with an unsupported toolchain:

As described [here](https://forums.developer.nvidia.com/t/cuda-error-the-provided-ptx-was-compiled-with-an-unsupported-toolchain/185754), update the GPU driver to the latest one for your GPU.
2. docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
```
# Add the package repositories
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
```
11 changes: 11 additions & 0 deletions docs/zh_cn/tutorials/how_to_use_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@ docker run --gpus all -it -p 8080:8081 mmdeploy:master-gpu
1. CUDA error: the provided PTX was compiled with an unsupported toolchain:

[这里](https://forums.developer.nvidia.com/t/cuda-error-the-provided-ptx-was-compiled-with-an-unsupported-toolchain/185754)所说,更新 GPU 的驱动到你的GPU能使用的最新版本。

2. docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
```
# Add the package repositories
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
```

0 comments on commit 8144262

Please sign in to comment.