tell user to change gpu type/count in quick start doc (#1842)

This commit is contained in:
Di Xu 2018-12-06 16:02:28 +08:00 коммит произвёл GitHub
Родитель 3819f6a698
Коммит 74d9dc50fb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 34 добавлений и 0 удалений

Просмотреть файл

@ -177,6 +177,40 @@ For example: v0.x.y branch, user should change docker-tag to v0.x.y.
docker-tag: v0.x.y
```
##### (3) changing gpu count and type
Quick start will generate node with 1 gpu with type generic, this may not suit your situation,
for example, if you have two types of machines, and one type has 4 Tesla K80 gpu cards, and
another has 2 Tesla P100 cards, you should modify your `~/pai-config/cluster-configuration.yaml` as following:
```yaml
machine-sku:
k80-node:
mem: 40G
gpu:
type: Tesla K80
count: 4
cpu:
vcore: 24
os: ubuntu16.04
p100-node:
mem: 20G
gpu:
type: Tesla P100
count: 2
cpu:
vcore: 24
os: ubuntu16.04
machine-list:
- hostname: xxx
hostip: yyy
machine-type: k80-node
- hostname: xxx
hostip: yyy
machine-type: p100-node
```
[Appendix: Default values in auto-generated configuration files](./how-to-write-pai-configuration.md#appendix)
#### How to check