jerryzh168 commited on
Commit
a63ba95
·
verified ·
1 Parent(s): 8023fca

Upload pytorch-llama/float16.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. pytorch-llama/float16.json +546 -0
pytorch-llama/float16.json ADDED
@@ -0,0 +1,546 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch-llama",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.5.1",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model_type": "llama",
11
+ "model": "meta-llama/Llama-2-7b-chat-hf",
12
+ "processor": "meta-llama/Llama-2-7b-chat-hf",
13
+ "device": "cuda",
14
+ "device_ids": "0",
15
+ "seed": 42,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
18
+ "model_kwargs": {},
19
+ "processor_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": null,
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {},
33
+ "quantization_scheme": null,
34
+ "quantization_config": {},
35
+ "deepspeed_inference": false,
36
+ "deepspeed_inference_config": {},
37
+ "peft_type": null,
38
+ "peft_config": {}
39
+ },
40
+ "scenario": {
41
+ "name": "inference",
42
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
43
+ "iterations": 10,
44
+ "duration": 10,
45
+ "warmup_runs": 10,
46
+ "input_shapes": {
47
+ "batch_size": 1,
48
+ "num_choices": 2,
49
+ "sequence_length": 128
50
+ },
51
+ "new_tokens": null,
52
+ "memory": true,
53
+ "latency": true,
54
+ "energy": false,
55
+ "forward_kwargs": {},
56
+ "generate_kwargs": {
57
+ "max_new_tokens": 32,
58
+ "min_new_tokens": 32
59
+ },
60
+ "call_kwargs": {}
61
+ },
62
+ "launcher": {
63
+ "name": "process",
64
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
65
+ "device_isolation": true,
66
+ "device_isolation_action": "warn",
67
+ "numactl": false,
68
+ "numactl_kwargs": {},
69
+ "start_method": "spawn"
70
+ },
71
+ "environment": {
72
+ "cpu": " Intel(R) Xeon(R) Platinum 8339HC CPU @ 1.80GHz",
73
+ "cpu_count": 22,
74
+ "cpu_ram_mb": 189584.162816,
75
+ "system": "Linux",
76
+ "machine": "x86_64",
77
+ "platform": "Linux-5.19.0-0_fbk12_hardened_11583_g0bef9520ca2b-x86_64-with-glibc2.34",
78
+ "processor": "x86_64",
79
+ "python_version": "3.10.15",
80
+ "gpu": [
81
+ "NVIDIA PG509-210"
82
+ ],
83
+ "gpu_count": 1,
84
+ "gpu_vram_mb": 85899345920,
85
+ "optimum_benchmark_version": "0.5.0.dev0",
86
+ "optimum_benchmark_commit": "78d7da546ad060a586060d0d3680bec33f32a45b",
87
+ "transformers_version": "4.47.0.dev0",
88
+ "transformers_commit": null,
89
+ "accelerate_version": "1.1.0",
90
+ "accelerate_commit": null,
91
+ "diffusers_version": "0.31.0",
92
+ "diffusers_commit": null,
93
+ "optimum_version": "1.24.0.dev0",
94
+ "optimum_commit": null,
95
+ "timm_version": "1.0.11",
96
+ "timm_commit": null,
97
+ "peft_version": "0.13.2",
98
+ "peft_commit": null
99
+ },
100
+ "print_report": true,
101
+ "log_report": true
102
+ },
103
+ "report": {
104
+ "load": {
105
+ "memory": {
106
+ "unit": "MB",
107
+ "max_ram": 3091.939328,
108
+ "max_global_vram": 32122.994688,
109
+ "max_process_vram": 14554.23488,
110
+ "max_reserved": 13478.395904,
111
+ "max_allocated": 13476.849152
112
+ },
113
+ "latency": {
114
+ "unit": "s",
115
+ "values": [
116
+ 0.2756132507324219
117
+ ],
118
+ "count": 1,
119
+ "total": 0.2756132507324219,
120
+ "mean": 0.2756132507324219,
121
+ "p50": 0.2756132507324219,
122
+ "p90": 0.2756132507324219,
123
+ "p95": 0.2756132507324219,
124
+ "p99": 0.2756132507324219,
125
+ "stdev": 0,
126
+ "stdev_": 0
127
+ },
128
+ "throughput": null,
129
+ "energy": null,
130
+ "efficiency": null
131
+ },
132
+ "prefill": {
133
+ "memory": {
134
+ "unit": "MB",
135
+ "max_ram": 4371.222528,
136
+ "max_global_vram": 32919.912448,
137
+ "max_process_vram": 15017.705472,
138
+ "max_reserved": 13679.722496,
139
+ "max_allocated": 13565.197824
140
+ },
141
+ "latency": {
142
+ "unit": "s",
143
+ "values": [
144
+ 0.043690208435058595,
145
+ 0.04495820617675781,
146
+ 0.044070880889892576,
147
+ 0.0431748161315918,
148
+ 0.0438364143371582,
149
+ 0.041247936248779295,
150
+ 0.043221920013427735,
151
+ 0.044490718841552736,
152
+ 0.044275390625,
153
+ 0.04386515045166016
154
+ ],
155
+ "count": 10,
156
+ "total": 0.436831642150879,
157
+ "mean": 0.043683164215087895,
158
+ "p50": 0.04385078239440918,
159
+ "p90": 0.04453746757507324,
160
+ "p95": 0.04474783687591553,
161
+ "p99": 0.044916132316589356,
162
+ "stdev": 0.0009610976155399046,
163
+ "stdev_": 2.2001556728071163
164
+ },
165
+ "throughput": {
166
+ "unit": "tokens/s",
167
+ "value": 2930.190664983687
168
+ },
169
+ "energy": null,
170
+ "efficiency": null
171
+ },
172
+ "decode": {
173
+ "memory": {
174
+ "unit": "MB",
175
+ "max_ram": 4371.222528,
176
+ "max_global_vram": 33085.587456,
177
+ "max_process_vram": 15017.705472,
178
+ "max_reserved": 13679.722496,
179
+ "max_allocated": 13579.885056
180
+ },
181
+ "latency": {
182
+ "unit": "s",
183
+ "values": [
184
+ 1.405787109375,
185
+ 1.361317626953125,
186
+ 1.336254150390625,
187
+ 1.3111773681640626,
188
+ 1.324020751953125,
189
+ 1.317751220703125,
190
+ 1.3484791259765625,
191
+ 1.351621337890625,
192
+ 1.3430660400390626,
193
+ 1.32616357421875
194
+ ],
195
+ "count": 10,
196
+ "total": 13.425638305664062,
197
+ "mean": 1.3425638305664063,
198
+ "p50": 1.3396600952148439,
199
+ "p90": 1.3657645751953125,
200
+ "p95": 1.3857758422851563,
201
+ "p99": 1.4017848559570314,
202
+ "stdev": 0.025922135526041747,
203
+ "stdev_": 1.930793526227026
204
+ },
205
+ "throughput": {
206
+ "unit": "tokens/s",
207
+ "value": 23.090149826933438
208
+ },
209
+ "energy": null,
210
+ "efficiency": null
211
+ },
212
+ "per_token": {
213
+ "memory": null,
214
+ "latency": {
215
+ "unit": "s",
216
+ "values": [
217
+ 0.043556159973144534,
218
+ 0.043651134490966796,
219
+ 0.04305503845214844,
220
+ 0.043060638427734374,
221
+ 0.04234764862060547,
222
+ 0.042655105590820315,
223
+ 0.04269382476806641,
224
+ 0.04312582397460937,
225
+ 0.042353023529052736,
226
+ 0.04268364715576172,
227
+ 0.04296796798706055,
228
+ 0.044098560333251956,
229
+ 0.043718463897705076,
230
+ 0.042579296112060544,
231
+ 0.04214553451538086,
232
+ 0.043770145416259766,
233
+ 0.045741600036621095,
234
+ 0.04689577484130859,
235
+ 0.043855968475341796,
236
+ 0.0439090576171875,
237
+ 0.04389542388916016,
238
+ 0.044443328857421874,
239
+ 0.05888438415527344,
240
+ 0.05947116851806641,
241
+ 0.05939100646972656,
242
+ 0.04788265609741211,
243
+ 0.04371356964111328,
244
+ 0.04555484771728516,
245
+ 0.04544166564941406,
246
+ 0.044319744110107424,
247
+ 0.04283011245727539,
248
+ 0.043143646240234375,
249
+ 0.0450777587890625,
250
+ 0.045247169494628904,
251
+ 0.048959201812744144,
252
+ 0.04513644790649414,
253
+ 0.045153247833251954,
254
+ 0.04556070327758789,
255
+ 0.043380767822265624,
256
+ 0.04420115280151367,
257
+ 0.04418707275390625,
258
+ 0.04376931381225586,
259
+ 0.04379110336303711,
260
+ 0.043380447387695316,
261
+ 0.043544254302978515,
262
+ 0.044090110778808596,
263
+ 0.043625537872314456,
264
+ 0.04331977462768555,
265
+ 0.04252774429321289,
266
+ 0.043809185028076174,
267
+ 0.043552223205566405,
268
+ 0.04338668823242187,
269
+ 0.043720958709716796,
270
+ 0.04295135879516602,
271
+ 0.04348255920410156,
272
+ 0.04331686401367187,
273
+ 0.043129150390625,
274
+ 0.04284892654418945,
275
+ 0.042618751525878906,
276
+ 0.04288857650756836,
277
+ 0.043111934661865234,
278
+ 0.04334009552001953,
279
+ 0.04327212905883789,
280
+ 0.04334115219116211,
281
+ 0.04349113464355469,
282
+ 0.04386134338378906,
283
+ 0.042955230712890625,
284
+ 0.04296672058105469,
285
+ 0.042976863861083986,
286
+ 0.04300137710571289,
287
+ 0.04316227340698242,
288
+ 0.0435351676940918,
289
+ 0.04335795211791992,
290
+ 0.04330163192749024,
291
+ 0.04292287826538086,
292
+ 0.04310348892211914,
293
+ 0.043210655212402346,
294
+ 0.043563648223876955,
295
+ 0.04355158233642578,
296
+ 0.04299900817871094,
297
+ 0.04329996871948242,
298
+ 0.04310281753540039,
299
+ 0.04361081695556641,
300
+ 0.042646785736083985,
301
+ 0.04293519973754883,
302
+ 0.04329395294189453,
303
+ 0.042229854583740234,
304
+ 0.04353267288208008,
305
+ 0.04299990463256836,
306
+ 0.042285438537597655,
307
+ 0.041807777404785154,
308
+ 0.042524574279785156,
309
+ 0.042352767944335935,
310
+ 0.043066143035888675,
311
+ 0.0427735366821289,
312
+ 0.041729888916015624,
313
+ 0.041748287200927735,
314
+ 0.042146080017089846,
315
+ 0.042052864074707035,
316
+ 0.04300076675415039,
317
+ 0.043478847503662106,
318
+ 0.04219152069091797,
319
+ 0.042350433349609376,
320
+ 0.04147216033935547,
321
+ 0.04241632080078125,
322
+ 0.04213913726806641,
323
+ 0.04194057464599609,
324
+ 0.042108287811279295,
325
+ 0.04206822586059571,
326
+ 0.042490177154541016,
327
+ 0.04307900619506836,
328
+ 0.04659347152709961,
329
+ 0.04195481491088867,
330
+ 0.04193795013427734,
331
+ 0.04122288131713867,
332
+ 0.04145558547973633,
333
+ 0.041794239044189455,
334
+ 0.041562942504882815,
335
+ 0.04247747039794922,
336
+ 0.04120412826538086,
337
+ 0.041231903076171875,
338
+ 0.041269920349121095,
339
+ 0.042312862396240235,
340
+ 0.042880897521972654,
341
+ 0.043271553039550784,
342
+ 0.04328825759887695,
343
+ 0.04299235153198242,
344
+ 0.04321068954467774,
345
+ 0.04164543914794922,
346
+ 0.04328841781616211,
347
+ 0.04295471954345703,
348
+ 0.043437278747558594,
349
+ 0.04285615921020508,
350
+ 0.04323513412475586,
351
+ 0.04356512069702148,
352
+ 0.04372659301757813,
353
+ 0.04412035369873047,
354
+ 0.04222723388671875,
355
+ 0.0430456657409668,
356
+ 0.04348982238769531,
357
+ 0.042313728332519535,
358
+ 0.04214080047607422,
359
+ 0.041579071044921874,
360
+ 0.041630496978759764,
361
+ 0.04202156829833984,
362
+ 0.04193961715698242,
363
+ 0.04371699142456055,
364
+ 0.043477088928222656,
365
+ 0.04272819137573242,
366
+ 0.04243423843383789,
367
+ 0.0419620475769043,
368
+ 0.04152620697021484,
369
+ 0.04156931304931641,
370
+ 0.042012702941894534,
371
+ 0.041645919799804684,
372
+ 0.04220748901367188,
373
+ 0.04166396713256836,
374
+ 0.04171699142456055,
375
+ 0.042509761810302735,
376
+ 0.04205686569213867,
377
+ 0.041477249145507815,
378
+ 0.04149055862426758,
379
+ 0.041450176239013675,
380
+ 0.041070079803466795,
381
+ 0.04157283020019531,
382
+ 0.04115248107910156,
383
+ 0.041194847106933594,
384
+ 0.041003456115722654,
385
+ 0.042485374450683594,
386
+ 0.04289379119873047,
387
+ 0.04223183822631836,
388
+ 0.04328675079345703,
389
+ 0.043293632507324216,
390
+ 0.04356079864501953,
391
+ 0.04344144058227539,
392
+ 0.04344303894042969,
393
+ 0.04366022491455078,
394
+ 0.04309084701538086,
395
+ 0.04336912155151367,
396
+ 0.04309884643554687,
397
+ 0.042745662689208985,
398
+ 0.04259104156494141,
399
+ 0.042932193756103514,
400
+ 0.04302950286865234,
401
+ 0.043498817443847655,
402
+ 0.043460800170898435,
403
+ 0.04330966567993164,
404
+ 0.043541793823242185,
405
+ 0.04321535873413086,
406
+ 0.04324441528320312,
407
+ 0.04368278503417969,
408
+ 0.043492767333984376,
409
+ 0.04316377639770508,
410
+ 0.04327718353271484,
411
+ 0.04291459274291992,
412
+ 0.04352406311035156,
413
+ 0.043474815368652345,
414
+ 0.04321769714355469,
415
+ 0.043393985748291015,
416
+ 0.043463520050048825,
417
+ 0.04360243225097656,
418
+ 0.04344099044799805,
419
+ 0.04355836868286133,
420
+ 0.04326380920410156,
421
+ 0.04355731201171875,
422
+ 0.04338127899169922,
423
+ 0.043757759094238284,
424
+ 0.04355059051513672,
425
+ 0.04322035217285156,
426
+ 0.04330960083007813,
427
+ 0.043461631774902344,
428
+ 0.04333391952514649,
429
+ 0.043418689727783205,
430
+ 0.043533470153808596,
431
+ 0.043538593292236326,
432
+ 0.04517228698730469,
433
+ 0.04341126251220703,
434
+ 0.04364992141723633,
435
+ 0.04330185699462891,
436
+ 0.04275190353393555,
437
+ 0.04345199966430664,
438
+ 0.04277670288085938,
439
+ 0.04378099060058594,
440
+ 0.04318896102905274,
441
+ 0.04287120056152344,
442
+ 0.04227340698242187,
443
+ 0.043203617095947264,
444
+ 0.04465190505981445,
445
+ 0.043853214263916016,
446
+ 0.04370524978637695,
447
+ 0.04621561431884766,
448
+ 0.04342793655395508,
449
+ 0.043079456329345706,
450
+ 0.04344220733642578,
451
+ 0.04332735824584961,
452
+ 0.044058879852294924,
453
+ 0.0441530876159668,
454
+ 0.04352272033691406,
455
+ 0.0432369270324707,
456
+ 0.04333926391601563,
457
+ 0.04372035217285156,
458
+ 0.044044864654541015,
459
+ 0.0433361930847168,
460
+ 0.04368143844604492,
461
+ 0.04369839859008789,
462
+ 0.04369807815551758,
463
+ 0.04370451354980469,
464
+ 0.0433966064453125,
465
+ 0.043776287078857425,
466
+ 0.04348214340209961,
467
+ 0.04370070266723633,
468
+ 0.04384486389160156,
469
+ 0.04325049591064453,
470
+ 0.04340732955932617,
471
+ 0.04326819229125976,
472
+ 0.04360287857055664,
473
+ 0.043932159423828124,
474
+ 0.044055038452148435,
475
+ 0.04336092758178711,
476
+ 0.04252959823608399,
477
+ 0.04261110305786133,
478
+ 0.04306371307373047,
479
+ 0.04274499130249024,
480
+ 0.042772254943847655,
481
+ 0.0431693115234375,
482
+ 0.042902751922607424,
483
+ 0.04356700897216797,
484
+ 0.04388521575927734,
485
+ 0.0431769905090332,
486
+ 0.04328371047973633,
487
+ 0.043435649871826174,
488
+ 0.04301254272460937,
489
+ 0.04307632064819336,
490
+ 0.04327008056640625,
491
+ 0.043169792175292966,
492
+ 0.04315811157226562,
493
+ 0.0428581428527832,
494
+ 0.04337350463867187,
495
+ 0.043221214294433596,
496
+ 0.04422870254516602,
497
+ 0.04366515350341797,
498
+ 0.04314246368408203,
499
+ 0.04307500839233398,
500
+ 0.042678783416748044,
501
+ 0.04209100723266602,
502
+ 0.042929473876953124,
503
+ 0.04282051086425781,
504
+ 0.04236320114135742,
505
+ 0.04214313507080078,
506
+ 0.042393505096435545,
507
+ 0.04308307266235351,
508
+ 0.043398910522460935,
509
+ 0.042939807891845705,
510
+ 0.042480064392089845,
511
+ 0.04273385620117188,
512
+ 0.042683361053466796,
513
+ 0.04238518524169922,
514
+ 0.04271257781982422,
515
+ 0.04299625778198242,
516
+ 0.04207619094848633,
517
+ 0.041770847320556644,
518
+ 0.04148003387451172,
519
+ 0.04252182388305664,
520
+ 0.0436420783996582,
521
+ 0.04307353591918945,
522
+ 0.04333260726928711,
523
+ 0.04267401504516601,
524
+ 0.042622303009033205,
525
+ 0.04290390396118164,
526
+ 0.042083614349365236
527
+ ],
528
+ "count": 310,
529
+ "total": 13.41508800888062,
530
+ "mean": 0.04327447744800198,
531
+ "p50": 0.043207136154174805,
532
+ "p90": 0.04391136779785156,
533
+ "p95": 0.0451100378036499,
534
+ "p99": 0.04886231269836429,
535
+ "stdev": 0.0018574156199114452,
536
+ "stdev_": 4.292173422875621
537
+ },
538
+ "throughput": {
539
+ "unit": "tokens/s",
540
+ "value": 23.108309076674267
541
+ },
542
+ "energy": null,
543
+ "efficiency": null
544
+ }
545
+ }
546
+ }