Skip to content

Commit c3a37ec

Browse files
committed
update: docs
1 parent 292b13d commit c3a37ec

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

MIG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ Red Hat Demo Platform Catalog (RHDP) option:
77
*MIG demo is currently a WIP for RHDP and likely will NOT work*
88

99
Error message
10-
```
10+
11+
```sh
1112
error launching instance: You have requested more vCPU capacity than your
1213
current vCPU limit of 64 allows for the instance bucket that the specified
1314
instance type belongs to.
1415
```
1516

16-
### AWS Notes
17+
## AWS Notes
1718

1819
AWS type `p4d.24xlarge` is currently only in availability zone `us-east-2b` and has 96 vCPU.
1920

@@ -35,7 +36,7 @@ Setup MIG single mode.
3536
- Profile: 1 GPU and 5GB of memory
3637
- Resource: `nvidia.com/gpu: 1`
3738

38-
```
39+
```sh
3940
. scripts/bootstrap.sh
4041

4142
nvidia_setup_mig_config single all-1g.5gb
@@ -45,7 +46,7 @@ nvidia_setup_mig_config single all-1g.5gb
4546

4647
Setup MIG profile
4748

48-
```
49+
```sh
4950
. scripts/bootstrap.sh
5051

5152
# setup MIG single
@@ -60,7 +61,7 @@ nvidia_setup_mig_config mixed all-balanced
6061

6162
Manually Pick MIG profile
6263

63-
```
64+
```sh
6465
# mode = single / mixed
6566
MIG_CONFIG=all-1g.5gb
6667
MIG_CONFIG=all-2g.10gb
@@ -71,7 +72,7 @@ MIG_CONFIG=all-balanced
7172

7273
Manually apply MIG partitioning profile(s) - Mixed
7374

74-
```
75+
```sh
7576
# add profile label
7677
oc label node --overwrite \
7778
-l "node-role.kubernetes.io/gpu" \

0 commit comments

Comments
 (0)