IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
f1d57b6 verified
raw
history blame
15.5 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": "6",
"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.2",
"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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1044.127744,
"max_global_vram": 68702.69952,
"max_process_vram": 45370.707968,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.96245654296875,
"mean": 7.96245654296875,
"stdev": 0.0,
"p50": 7.96245654296875,
"p90": 7.96245654296875,
"p95": 7.96245654296875,
"p99": 7.96245654296875,
"values": [
7.96245654296875
]
},
"throughput": null,
"energy": null,
"efficiency": null,
"measures": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1213.444096,
"max_global_vram": 68702.69952,
"max_process_vram": 271018.016768,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.5101552863121033,
"mean": 0.008228311069550052,
"stdev": 0.000626495259653127,
"p50": 0.007966333866119384,
"p90": 0.008765535926818847,
"p95": 0.008809743404388427,
"p99": 0.010487053422927857,
"values": [
0.008549774169921875,
0.008566254615783692,
0.00875009536743164,
0.008730255126953124,
0.007938573837280274,
0.008014893531799317,
0.007792813777923584,
0.007831052780151367,
0.007934253215789795,
0.007883852958679199,
0.007869933128356934,
0.008013613700866699,
0.00812369441986084,
0.008215694427490235,
0.007970253944396972,
0.007876654148101807,
0.009736817359924316,
0.007843053817749024,
0.007789453029632568,
0.008000654220581055,
0.007793774127960205,
0.007787693023681641,
0.007787054061889649,
0.00778913402557373,
0.011660499572753906,
0.00889489459991455,
0.008761614799499511,
0.008772974967956542,
0.008761936187744141,
0.00878177547454834,
0.007972653865814208,
0.0077736139297485355,
0.007784653186798096,
0.007770894050598144,
0.007776813983917236,
0.007962413787841797,
0.00776193380355835,
0.007777933120727539,
0.0077833738327026366,
0.007951054096221924,
0.00779969310760498,
0.007812013149261474,
0.007780333042144775,
0.007756653785705566,
0.007786572933197022,
0.007869773864746094,
0.007765772819519043,
0.007766734123229981,
0.0077800130844116215,
0.008225295066833496,
0.008765935897827148,
0.008737455368041993,
0.008203534126281739,
0.0088112154006958,
0.008730095863342285,
0.008708015441894531,
0.008703695297241212,
0.008332014083862305,
0.008718094825744628,
0.00874801540374756,
0.008670735359191894,
0.008145294189453124
]
},
"throughput": {
"unit": "tokens/s",
"value": 243.063246284072
},
"energy": null,
"efficiency": null,
"measures": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1213.50144,
"max_global_vram": 68702.69952,
"max_process_vram": 258398.949376,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.4938643732070924,
"mean": 0.007965554406566005,
"stdev": 0.0011440759360230464,
"p50": 0.007652972936630249,
"p90": 0.008373677730560303,
"p95": 0.008445967006683349,
"p99": 0.011641151199340826,
"values": [
0.007978734016418456,
0.008449295043945312,
0.008373773574829102,
0.007933133125305176,
0.007538572788238525,
0.007524972915649414,
0.00756609296798706,
0.007557774066925049,
0.007589774131774902,
0.007662252902984619,
0.007552652835845947,
0.007703373908996582,
0.007651692867279053,
0.007626092910766601,
0.007551853179931641,
0.007485133171081543,
0.00762673282623291,
0.007555373191833496,
0.007809453964233398,
0.0077145729064941404,
0.007469772815704346,
0.007504013061523438,
0.007831693172454834,
0.007504493236541748,
0.008570255279541016,
0.008343535423278809,
0.008374415397644042,
0.008382734298706054,
0.008358094215393066,
0.008048813819885254,
0.007514732837677002,
0.007501933097839355,
0.007654253005981445,
0.00761249303817749,
0.007440651893615723,
0.007618732929229736,
0.007442732810974121,
0.007435213088989258,
0.016444347381591798,
0.0074411330223083496,
0.007533773899078369,
0.007422573089599609,
0.007478413105010987,
0.007485932826995849,
0.007473773002624512,
0.0074700927734375,
0.007469772815704346,
0.007519372940063477,
0.008561935424804688,
0.007988973140716553,
0.008267213821411133,
0.008372815132141113,
0.008120973587036133,
0.00819585418701172,
0.008235854148864746,
0.008257933616638184,
0.008246734619140625,
0.008328974723815918,
0.0081928129196167,
0.008245614051818848,
0.008193135261535645,
0.00785649299621582
]
},
"throughput": {
"unit": "tokens/s",
"value": 125.54053979917585
},
"energy": null,
"efficiency": null,
"measures": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 62,
"total": 0.45894447469711314,
"mean": 0.007402330237050212,
"stdev": 0.0011490517729364116,
"p50": 0.007089372634887695,
"p90": 0.00779999680519104,
"p95": 0.00781991000175476,
"p99": 0.01108732652664185,
"values": [
0.007392013072967529,
0.007817934036254883,
0.007800492763519287,
0.007337771892547608,
0.0069387321472167965,
0.006951052188873291,
0.006940651893615723,
0.0070216131210327146,
0.006999372005462646,
0.0071024131774902344,
0.006964972019195556,
0.0071238517761230465,
0.007076332092285156,
0.007062411785125732,
0.006965772151947021,
0.0069385719299316405,
0.0070609722137451175,
0.0070328121185302735,
0.007238412857055664,
0.007140011787414551,
0.006928492069244385,
0.006926251888275147,
0.0072388920783996585,
0.006943851947784424,
0.00800145435333252,
0.007776333808898926,
0.007820013999938966,
0.007791372776031494,
0.007795533180236816,
0.0075176129341125485,
0.006927212238311767,
0.006906891822814941,
0.00710289192199707,
0.007055051803588867,
0.006889610767364502,
0.007028172016143799,
0.006883852005004883,
0.006906092166900635,
0.015913947105407715,
0.006913132190704345,
0.006956973075866699,
0.006876011848449707,
0.006918412208557129,
0.006921291828155518,
0.006919692039489746,
0.006920651912689209,
0.006917932033538818,
0.006978251934051514,
0.007973773956298828,
0.007221292018890381,
0.007761453151702881,
0.0078024139404296875,
0.007578413009643555,
0.007672493934631348,
0.007727053165435791,
0.007748652935028076,
0.00773569393157959,
0.007769454002380371,
0.0076686530113220215,
0.007727853775024414,
0.007642253875732422,
0.007332973003387451
]
},
"throughput": {
"unit": "tokens/s",
"value": 135.09259489596812
},
"energy": null,
"efficiency": null,
"measures": null
}
}
}