File size: 858 Bytes
370453e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# Sanity Checks
When configuring the slurm script must ensure the following is strictly exact:
1.
players:
- NHIDDEN
- NHEADS
```
NHIDDEN % NHEADS == 0
```
2.
players:
- GLOBAL_BATCH_SIZE
- MICRO_BATCH_SIZE
- DP_SIZE
```
GLOBAL_BATCH_SIZE % (MICRO_BATCH_SIZE * DP_SIZE) == 0
```
3.
players:
- NLAYERS
- PP_SIZE
```
NLAYERS % PP_SIZE == 0
```
4.
5. Curriculum Learning Constraints
- min_difficulty % 8 = 0 (to enable Tensor Core acceleration)
- json ds config can't have numbers with '_' in them - invalid json - careful with substitutions.
## Restaring from existing checkpoint constraints
XXX: quite a few of these - need to start collecting them all
- can't change TP-size (But ok to change PP)
- can't change max-lr or will get:
```
AnnealingLR: class input value 1e-05 and checkpointvalue 3e-05 for learning rate do not match
```
|