Skip to content

Commit 3c6feef

Browse files
Kaiwei Tufacebook-github-bot
authored andcommitted
Update job file to include output data type and representative workload from new workload (#140)
Summary: Pull Request resolved: #140 This diff updates the existing jobs and introduces new jobs for the AI benchmark suite in DCPerf. It specifically adds the output type to the benchmark and includes representative workloads from a new workload. Reviewed By: excelle08 Differential Revision: D76649961 fbshipit-source-id: d17175f3da56e94786c6ba10c5ad6123e2e33e8a
1 parent 9014cd4 commit 3c6feef

File tree

1 file changed

+49
-17
lines changed

1 file changed

+49
-17
lines changed

benchpress/config/jobs_ai.yml

Lines changed: 49 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- benchmark: fbgemm_embedding
22
name: fbgemm_embedding_a_single
3-
description: Embedding workload for ai benchmark with one representative table
3+
description: Performance benchmark for Model A workload using one single representative embedding table.
44
args:
55
- nbit-cpu
66
- '--num-embeddings={embeddings}'
@@ -9,62 +9,94 @@
99
- '--batch-size={batch_size}'
1010
- '--num-tables={num_tables}'
1111
- '--weights-precision={weights_precision}'
12+
- '--output-dtype={output_dtype}'
1213
- '--copies={copies}'
1314
- '--iters={iters}'
1415

1516
vars:
1617
- 'embeddings=40000000'
1718
- 'bag_size=2'
1819
- 'embedding_dim=96'
19-
- 'batch_size=166'
20-
- 'num_tables=1'
20+
- 'batch_size=162'
21+
- 'num_tables=8'
2122
- 'weights_precision=int4'
23+
- 'output_dtype=fp32'
2224
- 'copies=16'
23-
- 'iters=1000'
25+
- 'iters=30000'
2426

2527
- benchmark: fbgemm_embedding
2628
name: fbgemm_embedding_a_spec
27-
description: Embedding workload for ai benchmark with 8 representative tables having different bag sizes.
29+
description: Performance benchmark for Model A workload using a representative set of embedding tables with different bag sizes.
2830
args:
2931
- nbit-device-with-spec
3032
- '--num-embeddings-list={embeddings_list}'
3133
- '--bag-size-list={bag_size_list}'
3234
- '--embedding-dim-list={embedding_dim_list}'
3335
- '--batch-size={batch_size}'
3436
- '--weights-precision={weights_precision}'
37+
- '--output-dtype={output_dtype}'
3538
- '--cpu-copies={copies}'
3639
- '--iters={iters}'
3740
- '--use-cpu'
3841

3942
vars:
40-
- 'embeddings_list=40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000'
41-
- 'bag_size_list=1,1,1,1,1,1,1,5'
42-
- 'embedding_dim_list=96,96,96,96,96,96,96,96'
43-
- 'batch_size=166'
43+
- 'embeddings_list=40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000,40000000'
44+
- 'bag_size_list=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,5'
45+
- 'embedding_dim_list=96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96'
46+
- 'batch_size=168'
4447
- 'weights_precision=int4'
48+
- 'output_dtype=fp32'
4549
- 'copies=16'
46-
- 'iters=1000'
50+
- 'iters=20000'
4751

4852

4953
- benchmark: fbgemm_embedding
50-
name: fbgemm_embedding_b_spec
51-
description: Embedding workload for ai benchmark with 8 representative tables having different bag sizes.
54+
name: fbgemm_embedding_b_spec_int4
55+
description: Performance benchmark for Model B workload using a representative set of embedding tables with int4 precision.
5256
args:
5357
- nbit-device-with-spec
5458
- '--num-embeddings-list={embeddings_list}'
5559
- '--bag-size-list={bag_size_list}'
5660
- '--embedding-dim-list={embedding_dim_list}'
5761
- '--batch-size={batch_size}'
5862
- '--weights-precision={weights_precision}'
63+
- '--output-dtype={output_dtype}'
5964
- '--cpu-copies={copies}'
6065
- '--iters={iters}'
6166
- '--use-cpu'
6267

6368
vars:
64-
- 'embeddings_list=100000,100000,100000,100000,100000,5000000,5000000,5000000,10000,10000,14794452'
65-
- 'bag_size_list=1,1,1,1,1,1,1,1,1,1,1'
66-
- 'embedding_dim_list=64,64,64,64,64,64,64,64,64,64,64'
67-
- 'batch_size=166'
69+
- 'embeddings_list=5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,14794752,4494000,4494000,4494000,4494000,4494000,4494000,4494000,4494000,4494000,4494000,1697000,1697000,1697000,1697000,1697000,1697000,1697000,1697000,1697000,5000000,5000000,5000000,5000000,5000000,5000000,5000000,2520064,2520064,2520064,2520064,2520064,2520064,2520064,1567000,1567000,1567000,1567000,1567000,1567000,1144000,1144000,1144000,1144000,1144000,1144000,1144000,1144000,1144000,1144000'
70+
- 'bag_size_list=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,5,5,3,3,4'
71+
- 'embedding_dim_list=64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64'
72+
- 'batch_size=190'
6873
- 'weights_precision=int4'
74+
- 'output_dtype=fp32'
6975
- 'copies=16'
70-
- 'iters=1000'
76+
- 'iters=4000'
77+
78+
79+
- benchmark: fbgemm_embedding
80+
name: fbgemm_embedding_b_spec_int8
81+
description: Performance benchmark for Model B workload using a representative set of embedding tables with int8 precision.
82+
args:
83+
- nbit-device-with-spec
84+
- '--num-embeddings-list={embeddings_list}'
85+
- '--bag-size-list={bag_size_list}'
86+
- '--embedding-dim-list={embedding_dim_list}'
87+
- '--batch-size={batch_size}'
88+
- '--weights-precision={weights_precision}'
89+
- '--output-dtype={output_dtype}'
90+
- '--cpu-copies={copies}'
91+
- '--iters={iters}'
92+
- '--use-cpu'
93+
94+
vars:
95+
- 'embeddings_list=100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,872448,619520,619520,619520,619520,529408,529408,529408,529408,619520,619520,619520,872448,872448,872448,529408,529408,529408,529408,529408,529408,872448,872448,100000,100000,619520,619520,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,619520,100000,100000,100000,100000,100000,619520,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,10000,100000,100000,100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64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64'
98+
- 'batch_size=188'
99+
- 'weights_precision=int8'
100+
- 'output_dtype=fp32'
101+
- 'copies=16'
102+
- 'iters=4000'

0 commit comments

Comments
 (0)