IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5c78593 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.979712,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.34181884765625,
"mean": 7.34181884765625,
"stdev": 0.0,
"p50": 7.34181884765625,
"p90": 7.34181884765625,
"p95": 7.34181884765625,
"p99": 7.34181884765625,
"values": [
7.34181884765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.00526207638682e-07,
"ram": 4.695824427181267e-07,
"gpu": 1.8308347980002318e-06,
"total": 3.2009434483570403e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.071936,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 129,
"total": 1.0027385268211362,
"mean": 0.007773166874582453,
"stdev": 0.00026103824626296467,
"p50": 0.007662623882293701,
"p90": 0.008104959678649902,
"p95": 0.008169862365722657,
"p99": 0.00832499698638916,
"values": [
0.008340479850769043,
0.008426495552062988,
0.008285183906555176,
0.008220671653747558,
0.008179679870605468,
0.00808448028564453,
0.008155136108398438,
0.008054783821105957,
0.008013824462890624,
0.008092703819274903,
0.008064000129699708,
0.007966720104217529,
0.007941120147705078,
0.008018943786621094,
0.008047616004943848,
0.00810086441040039,
0.00818073558807373,
0.008060928344726562,
0.007662623882293701,
0.007616511821746826,
0.007732223987579345,
0.007681024074554443,
0.007681024074554443,
0.00787660789489746,
0.008101887702941894,
0.008072192192077637,
0.008031231880187988,
0.008036352157592774,
0.008030207633972167,
0.008017919540405273,
0.00797388792037964,
0.007996416091918946,
0.008005632400512695,
0.008083456039428711,
0.008020992279052735,
0.00800556755065918,
0.007994368076324462,
0.008091648101806641,
0.008091648101806641,
0.00809881591796875,
0.008069120407104492,
0.007779327869415284,
0.00760319995880127,
0.0077199358940124516,
0.007696352005004883,
0.007658463954925537,
0.007753727912902832,
0.007641088008880615,
0.007588863849639893,
0.0075857601165771485,
0.007631840229034424,
0.007600128173828125,
0.007636991977691651,
0.007588863849639893,
0.007575551986694336,
0.007623648166656494,
0.007633920192718506,
0.0076574721336364745,
0.008117247581481933,
0.007996416091918946,
0.008026111602783203,
0.008124416351318359,
0.008088607788085938,
0.008140800476074218,
0.008133631706237793,
0.008013824462890624,
0.00800972843170166,
0.007648255825042725,
0.00759500789642334,
0.007740352153778076,
0.00759603214263916,
0.007572480201721191,
0.007435264110565186,
0.007443456172943115,
0.0075970559120178225,
0.00742195177078247,
0.007271423816680909,
0.0073768959045410155,
0.007307263851165771,
0.00785100793838501,
0.007945216178894043,
0.007985151767730713,
0.008118271827697754,
0.008212479591369629,
0.007942143917083741,
0.00778547191619873,
0.00769536018371582,
0.00773529577255249,
0.007700543880462646,
0.007704576015472412,
0.007650303840637207,
0.007574560165405274,
0.0076574721336364745,
0.007618559837341309,
0.007600128173828125,
0.007596992015838623,
0.007561215877532959,
0.007628799915313721,
0.007566336154937744,
0.007550975799560547,
0.007562240123748779,
0.007609344005584716,
0.007532544136047363,
0.007557119846343994,
0.0075980801582336424,
0.007585792064666748,
0.007577663898468018,
0.007584767818450928,
0.007589888095855713,
0.0075632638931274416,
0.007562240123748779,
0.007543807983398438,
0.007521279811859131,
0.007561215877532959,
0.007579584121704102,
0.007580671787261963,
0.007638016223907471,
0.007558144092559814,
0.007426047801971435,
0.007479296207427978,
0.007453695774078369,
0.007400447845458984,
0.007445536136627197,
0.007527423858642578,
0.007457791805267334,
0.0074332160949707035,
0.007422976016998291,
0.007456768035888672,
0.007411712169647216
]
},
"throughput": {
"unit": "samples/s",
"value": 128.64769483721093
},
"energy": {
"unit": "kWh",
"cpu": 8.65917404703981e-08,
"ram": 4.734078302240591e-08,
"gpu": 1.6241497178102032e-07,
"total": 2.9634749527382436e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3374416.912402119
}
}
}
}