提交 43cfadd1 编写于 作者: S storypku 提交者: Liu Jiaming

Docs: added/updated notes for Infra and Nvidia driver updates

上级 432cd3d9
......@@ -35,6 +35,31 @@ Apollo is loaded with new modules and features but needs to be calibrated and co
## Prerequisites
**[New 2021-01]** The Apollo platform (stable version) is now upgraded with
software packages and library dependencies of newer versions including:
1. CUDA upgraded to version 11.1 to support Nvidia Ampere (30x0 series) GPUs,
with NVIDIA driver >= 455.32
2. LibTorch (both CPU and GPU version) bumped to version 1.7.0 accordingly.
We do not expect a disruption to your current work, but to ease your life of
migratation, you would need to:
1. Update NVIDIA driver on your host to version >= 455.32.
([Web link](https://www.nvidia.com/Download/index.aspx?lang=en-us))
2. Pull latest code and run the following commands after restarting and
logging into Apollo Development container:
```bash
# Remove Bazel output of previous builds
rm -rf /apollo/.cache/{bazel,build,repos}
# Re-configure bazelrc.
./apollo.sh config --noninteractive
```
---
* The vehicle equipped with the by-wire system, including but not limited to brake-by-wire, steering-by-wire, throttle-by-wire and shift-by-wire (Apollo is currently tested on Lincoln MKZ)
* A machine with a 8-core processor and 16GB memory minimum
......@@ -43,7 +68,7 @@ Apollo is loaded with new modules and features but needs to be calibrated and co
* Ubuntu 18.04
* NVIDIA driver version 440.33.01 and above ([Web link](https://www.nvidia.com/Download/index.aspx?lang=en-us))
* NVIDIA driver version 455.32.00 and above ([Web link](https://www.nvidia.com/Download/index.aspx?lang=en-us))
* Docker-CE version 19.03 and above ([Official doc](https://docs.docker.com/engine/install/ubuntu/))
......
......@@ -30,11 +30,10 @@ sudo apt-get update
sudo apt-get upgrade
```
![tip_icon](images/tip_icon.png) Internet access is needed for successful
software updates. Make sure either WiFi or Ethernet cable is connected to a
network with Internet access. You might need to configure the network for your
host if the connected network is not using the Dynamic Host Configuration
Protocol (DHCP).
![](images/tip_icon.png) Internet access is needed for successful software
updates. Make sure either WiFi or Ethernet cable is connected to a network with
Internet access. You might need to configure the network for your host if the
connected network is not using the Dynamic Host Configuration Protocol (DHCP).
## Installing NVIDIA GPU Driver
......@@ -52,7 +51,7 @@ For Ubuntu 18.04+, you can simply run:
sudo apt-get update
sudo apt-add-repository multiverse
sudo apt-get update
sudo apt-get install nvidia-driver-440
sudo apt-get install nvidia-driver-455
```
You can type `nvidia-smi` to check if NVIDIA GPU works fine on your host. (You
......@@ -61,26 +60,29 @@ message will be shown.
```
Prompt> nvidia-smi
Thu Sep 3 16:01:19 2020
Mon Jan 25 15:51:08 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.33.01 Driver Version: 440.33.01 CUDA Version: 10.2 |
| NVIDIA-SMI 460.27.04 Driver Version: 460.27.04 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 On | 00000000:01:00.0 On | N/A |
| 26% 38C P8 11W / 151W | 890MiB / 8114MiB | 0% Default |
| 0 GeForce RTX 3090 On | 00000000:65:00.0 On | N/A |
| 32% 29C P8 18W / 350W | 682MiB / 24234MiB | 7% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 1290 G /usr/lib/xorg/Xorg 40MiB |
| 0 1426 G /usr/bin/gnome-shell 51MiB |
| 0 2411 G /usr/lib/xorg/Xorg 293MiB |
| 0 2571 G /usr/bin/gnome-shell 227MiB |
| 0 7071 G ...AAAAAAAAAAAACAAAAAAAAAA= --shared-files 272MiB |
| 0 N/A N/A 1286 G /usr/lib/xorg/Xorg 40MiB |
| 0 N/A N/A 1517 G /usr/bin/gnome-shell 120MiB |
| 0 N/A N/A 1899 G /usr/lib/xorg/Xorg 342MiB |
| 0 N/A N/A 2037 G /usr/bin/gnome-shell 69MiB |
| 0 N/A N/A 4148 G ...gAAAAAAAAA --shared-files 105MiB |
+-----------------------------------------------------------------------------+
```
......@@ -106,9 +108,9 @@ and
[Configure Docker to Start on Boot](https://docs.docker.com/engine/install/linux-postinstall/#configure-docker-to-start-on-boot).
There is also a
[dedicated bash script](../../docker/setup_host/install_docker.sh)
Apollo provides to ease Docker installation, which works both for X86_64 and
AArch64 platforms.
[dedicated bash script](../../docker/setup_host/install_docker.sh) Apollo
provides to ease Docker installation, which works both for X86_64 and AArch64
platforms.
## Installing NVIDIA Container Toolkit
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册