IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
61b3eac verified
raw
history blame
15.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gpt2",
"model": "openai-community/gpt2",
"processor": "openai-community/gpt2",
"device": "cuda",
"device_ids": "5",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1032.040448,
"max_global_vram": 68702.69952,
"max_process_vram": 42834.849792,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.50194921875,
"mean": 7.50194921875,
"stdev": 0.0,
"p50": 7.50194921875,
"p90": 7.50194921875,
"p95": 7.50194921875,
"p99": 7.50194921875,
"values": [
7.50194921875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1201.369088,
"max_global_vram": 68702.69952,
"max_process_vram": 270136.324096,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.5287294068336486,
"mean": 0.008527893658607236,
"stdev": 0.0017893527025468884,
"p50": 0.008156617164611815,
"p90": 0.008691288375854492,
"p95": 0.008796399593353271,
"p99": 0.01759638387680054,
"values": [
0.008459336280822754,
0.008423975944519043,
0.008153897285461426,
0.007972457885742187,
0.007652298927307129,
0.0076775789260864254,
0.007745258808135987,
0.007698378086090088,
0.00767837905883789,
0.007703818798065185,
0.007987817764282227,
0.008014698028564454,
0.008392135620117187,
0.008538215637207032,
0.011756446838378906,
0.008796615600585938,
0.008639816284179688,
0.008658535003662109,
0.008598535537719727,
0.008612615585327148,
0.00866109561920166,
0.008674375534057617,
0.008661576271057129,
0.018200428009033202,
0.008792295455932617,
0.008645416259765625,
0.008679335594177245,
0.008481255531311035,
0.008087977409362793,
0.00802029800415039,
0.007995018005371094,
0.008159337043762207,
0.007873417854309082,
0.007696938037872314,
0.007695018768310547,
0.007660139083862305,
0.007654219150543213,
0.008636455535888671,
0.007668777942657471,
0.007701098918914795,
0.007672298908233643,
0.0077031788825988766,
0.007678218841552734,
0.007675979137420654,
0.01721019172668457,
0.008569576263427735,
0.00869261646270752,
0.008485417366027832,
0.008714856147766114,
0.008655336380004883,
0.008628775596618652,
0.008619175910949708,
0.008659015655517579,
0.008662535667419433,
0.008484456062316894,
0.007919017791748046,
0.0076433391571044925,
0.007628139019012451,
0.007655018806457519,
0.007670059204101563,
0.007660459041595459,
0.0076364588737487795
]
},
"throughput": {
"unit": "tokens/s",
"value": 234.52450042941052
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1201.606656,
"max_global_vram": 68702.69952,
"max_process_vram": 272196.460544,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.48084408569335935,
"mean": 0.007755549769247731,
"stdev": 0.0003804637642606708,
"p50": 0.007746458292007446,
"p90": 0.008238840961456299,
"p95": 0.008280352544784545,
"p99": 0.008412191276550293,
"values": [
0.007747018814086914,
0.007609899044036865,
0.00782493782043457,
0.0073282990455627445,
0.007290699005126953,
0.007310859203338623,
0.007339818954467774,
0.0072649397850036625,
0.007252298831939698,
0.007640138149261475,
0.007487019062042236,
0.007745897769927979,
0.007881418228149414,
0.007955177783966065,
0.008461576461791992,
0.00819357681274414,
0.008212616920471191,
0.008241416931152344,
0.008194856643676758,
0.008195496559143067,
0.008215657234191895,
0.00824925708770752,
0.008380617141723633,
0.008119976997375489,
0.008278376579284668,
0.008183176994323731,
0.007919817924499513,
0.007936937808990479,
0.007796457767486572,
0.007739818096160889,
0.007835978031158448,
0.007327019214630127,
0.0073593401908874515,
0.007374539852142334,
0.0073503789901733394,
0.007481258869171142,
0.0073924589157104495,
0.007845898151397706,
0.007391499996185303,
0.0073239789009094235,
0.007384619235992432,
0.0073025388717651366,
0.00736077880859375,
0.0073094191551208495,
0.0074548587799072264,
0.008202056884765625,
0.007991497993469238,
0.008131816864013671,
0.008292776107788086,
0.008152776718139649,
0.008181257247924805,
0.00815485668182373,
0.00828045654296875,
0.008164937019348145,
0.007656298160552979,
0.007415019989013672,
0.007367819786071777,
0.0073715000152587895,
0.007348618984222412,
0.007377899169921875,
0.007350698947906494,
0.007911177158355712
]
},
"throughput": {
"unit": "tokens/s",
"value": 128.93992428044177
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 62,
"total": 0.4473821096420286,
"mean": 0.007215840478097239,
"stdev": 0.00037611688232238916,
"p50": 0.007211659669876099,
"p90": 0.0076871789455413815,
"p95": 0.007717227005958557,
"p99": 0.007842776403427124,
"values": [
0.0072033400535583495,
0.007086219787597656,
0.007296460151672363,
0.006822220802307129,
0.006761260986328125,
0.006799500942230224,
0.006821900844573975,
0.006768941879272461,
0.0067774209976196285,
0.007113580226898193,
0.006958860874176026,
0.007207979202270507,
0.007305739879608154,
0.007409900188446045,
0.007880938053131104,
0.007635017871856689,
0.00765405797958374,
0.0076910190582275394,
0.007637259006500244,
0.007652139186859131,
0.007655818939208984,
0.007701417922973633,
0.00781837797164917,
0.007474218845367432,
0.007718059062957763,
0.007687499046325683,
0.007468139171600342,
0.0074138989448547365,
0.007234059810638428,
0.00721534013748169,
0.007292139053344727,
0.006811340808868408,
0.00684286117553711,
0.006862061023712158,
0.006817101001739502,
0.006931981086730957,
0.0067891011238098145,
0.00730173921585083,
0.006839500904083252,
0.006796620845794678,
0.00683518123626709,
0.006777740955352783,
0.006801900863647461,
0.006778221130371093,
0.006785740852355957,
0.007661738872528076,
0.0074586992263793945,
0.007612458229064941,
0.0077780580520629885,
0.007647978782653809,
0.0076473388671875,
0.007625419139862061,
0.007684298038482666,
0.007660778045654297,
0.007132140159606934,
0.0068727807998657225,
0.006800780773162842,
0.0068521409034729,
0.006816781044006347,
0.0068110208511352535,
0.006805420875549317,
0.0073804578781127925
]
},
"throughput": {
"unit": "tokens/s",
"value": 138.58399489780464
},
"energy": null,
"efficiency": null
}
}
}