IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
33151a1 verified
raw
history blame
14.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "0",
"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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "0fe64c9dadf839c1f16495afd4c4cbc98fcfce05",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 901.648384,
"max_global_vram": 3298.349056,
"max_process_vram": 46982.406144,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.79639892578125,
"mean": 7.79639892578125,
"stdev": 0.0,
"p50": 7.79639892578125,
"p90": 7.79639892578125,
"p95": 7.79639892578125,
"p99": 7.79639892578125,
"values": [
7.79639892578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1056.002048,
"max_global_vram": 3392.741376,
"max_process_vram": 307990.167552,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 56,
"total": 0.5053862915039062,
"mean": 0.009024755205426897,
"stdev": 0.0006679470740255151,
"p50": 0.008836941242218017,
"p90": 0.009463019847869873,
"p95": 0.010738657236099243,
"p99": 0.01154626388549805,
"values": [
0.009121101379394531,
0.009516779899597167,
0.009409259796142579,
0.00921566104888916,
0.008722381591796875,
0.008666701316833496,
0.008825100898742676,
0.009041581153869629,
0.008881101608276367,
0.009003021240234376,
0.009019981384277344,
0.0106422176361084,
0.008988462448120117,
0.008926541328430175,
0.008780941963195801,
0.00878014087677002,
0.008806221008300781,
0.008738700866699218,
0.008780301094055176,
0.008850701332092285,
0.00880334186553955,
0.008808940887451171,
0.008825901031494141,
0.008846861839294434,
0.008777260780334473,
0.008841100692749024,
0.008778541564941407,
0.008764780998229981,
0.00877358055114746,
0.008819661140441894,
0.008579821586608886,
0.008487981796264648,
0.008292302131652832,
0.008835981369018555,
0.008844301223754883,
0.00845438289642334,
0.008076943397521973,
0.008855501174926757,
0.011999814987182618,
0.0111751766204834,
0.011027976036071778,
0.009765419006347656,
0.009152300834655762,
0.008911182403564453,
0.008875182151794433,
0.00896254062652588,
0.008836780548095703,
0.008814541816711426,
0.008832461357116699,
0.008807021141052246,
0.008818541526794434,
0.008841740608215331,
0.008843501091003418,
0.008837101936340332,
0.008887821197509766,
0.008813100814819336
]
},
"throughput": {
"unit": "tokens/s",
"value": 221.61265923283227
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1056.002048,
"max_global_vram": 3394.121728,
"max_process_vram": 307241.521152,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 56,
"total": 0.49939687633514396,
"mean": 0.008917801363127571,
"stdev": 0.000449934458283158,
"p50": 0.008840621948242188,
"p90": 0.009255740165710449,
"p95": 0.009888059854507445,
"p99": 0.010487730455398562,
"values": [
0.009099181175231934,
0.009386059761047363,
0.009155820846557618,
0.009131661415100098,
0.00880654239654541,
0.008877422332763672,
0.008893421173095703,
0.00899886131286621,
0.008940461158752442,
0.009270059585571288,
0.009030860900878906,
0.00924142074584961,
0.008879180908203124,
0.008839982032775879,
0.009059341430664062,
0.008818541526794434,
0.00881806182861328,
0.008803022384643555,
0.008831022262573242,
0.008895661354064941,
0.008972460746765137,
0.008799821853637695,
0.008996460914611816,
0.00891166114807129,
0.008935181617736817,
0.008958380699157715,
0.00889694118499756,
0.008823822021484375,
0.008841261863708497,
0.008698382377624513,
0.00830334186553955,
0.008313742637634278,
0.008714221954345703,
0.00887374210357666,
0.008809581756591797,
0.00833566188812256,
0.008988620758056641,
0.009807660102844238,
0.010906697273254395,
0.010144939422607422,
0.010129259109497071,
0.009234380722045899,
0.008725581169128417,
0.008598542213439942,
0.008602862358093261,
0.008576942443847655,
0.008506861686706543,
0.008513261795043945,
0.008751662254333496,
0.008536622047424317,
0.008576622009277344,
0.008509581565856933,
0.008541901588439942,
0.008586541175842285,
0.008626861572265625,
0.008570221900939942
]
},
"throughput": {
"unit": "tokens/s",
"value": 112.13526286139312
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 56,
"total": 0.453721290588379,
"mean": 0.00810216590336391,
"stdev": 0.00041602744895090674,
"p50": 0.007989904165267944,
"p90": 0.008429182052612304,
"p95": 0.008886861562728882,
"p99": 0.00966143560409546,
"values": [
0.008286382675170898,
0.00850478172302246,
0.008312783241271972,
0.008279662132263183,
0.007976303100585938,
0.008004143714904785,
0.008061742782592774,
0.008069422721862793,
0.008053422927856446,
0.008353582382202148,
0.00810062313079834,
0.008337422370910645,
0.007965423107147217,
0.007943182945251466,
0.008158062934875488,
0.007984464168548583,
0.007950384140014649,
0.00792910385131836,
0.00793886423110962,
0.007997103214263916,
0.008130223274230956,
0.007995344161987305,
0.008080782890319825,
0.007998383045196534,
0.008031503677368164,
0.008025423049926757,
0.007980302810668945,
0.008017423629760743,
0.007931183815002442,
0.007892623901367187,
0.007519184112548828,
0.0074743847846984865,
0.007821904182434083,
0.007938543796539306,
0.007953423023223877,
0.007491184234619141,
0.00804830265045166,
0.008744462013244629,
0.010036137580871582,
0.00931406021118164,
0.009354861259460449,
0.008518062591552734,
0.00803950309753418,
0.007933423042297364,
0.007929102897644043,
0.007904303073883057,
0.007934703826904296,
0.007911343097686768,
0.00808366298675537,
0.007917103767395019,
0.00792110300064087,
0.007880942821502685,
0.007951344013214111,
0.007925581932067872,
0.007971182823181152,
0.007913424015045165
]
},
"throughput": {
"unit": "tokens/s",
"value": 123.42378716101253
},
"energy": null,
"efficiency": null
}
}
}