default.yaml 2.25 KB
Newer Older
1
# SuperBench Config
2
superbench:
3
  enable: null
4
  benchmarks:
5
6
7
8
9
10
11
12
    kernel-launch:
      enable: true
    gemm-flops:
      enable: true
    cudnn-function:
      enable: true
    cublas-function:
      enable: true
13
    matmul:
14
      enable: true
15
16
17
18
19
      modes:
        - name: local
          proc_num: 8
          prefix: CUDA_VISIBLE_DEVICES={proc_rank}
          parallel: no
20
21
      frameworks:
        - pytorch
22
23
24
25
26
27
28
29
30
31
32
    gpt_models:
      enable: true
      modes:
        - name: torch.distributed
          proc_num: 8
          node_num: all
      frameworks:
        - pytorch
      models:
        - gpt2-small
        - gpt2-large
33
      parameters:
34
35
36
37
38
39
40
41
42
43
        duration: 0
        num_warmup: 16
        num_steps: 128
        batch_size: 4
        precision:
          - float32
          - float16
        model_action:
          - train
          - inference
44
45
    bert_models:
      enable: true
46
47
48
49
      modes:
        - name: torch.distributed
          proc_num: 8
          node_num: all
50
51
52
53
54
55
56
      frameworks:
        - pytorch
      models:
        - bert-base
        - bert-large
      parameters:
        duration: 0
57
58
        num_warmup: 16
        num_steps: 128
59
        batch_size: 16
60
61
62
63
64
65
        precision:
          - float32
          - float16
        model_action:
          - train
          - inference
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
    lstm_models:
      enable: true
      modes:
        - name: torch.distributed
          proc_num: 8
          node_num: all
      frameworks:
        - pytorch
      models:
        - lstm
      parameters:
        duration: 0
        num_warmup: 16
        num_steps: 128
        batch_size: 128
        precision:
          - float32
          - float16
        model_action:
          - train
          - inference
    cnn_models:
      enable: true
      modes:
        - name: torch.distributed
          proc_num: 8
          node_num: all
      frameworks:
        - pytorch
      models:
        - resnet50
        - resnet101
        - resnet152
        - densenet169
        - densenet201
        - vgg11
        - vgg13
        - vgg16
        - vgg19
      parameters:
        duration: 0
        num_warmup: 16
        num_steps: 128
        batch_size: 128
        precision:
          - float32
          - float16
        model_action:
          - train
          - inference