IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fa44a49 verified
raw
history blame
13.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 801.5872,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.073670654296875
],
"count": 1,
"total": 0.073670654296875,
"mean": 0.073670654296875,
"p50": 0.073670654296875,
"p90": 0.073670654296875,
"p95": 0.073670654296875,
"p99": 0.073670654296875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1087.807488,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"values": [
0.006292479991912842,
0.0060026879310607914,
0.006003712177276611,
0.0060282878875732426,
0.005931935787200928,
0.0060078401565551755,
0.00601804780960083,
0.006041600227355957,
0.005994431972503662,
0.005970943927764893,
0.00592793607711792,
0.0059770879745483394,
0.005948416233062744,
0.005957632064819336,
0.005937151908874512,
0.005941311836242676,
0.005928959846496582,
0.005946368217468262,
0.005935232162475586,
0.005953536033630371,
0.005911551952362061,
0.006015999794006348,
0.005960703849792481,
0.005948416233062744,
0.005901311874389649,
0.005914624214172363,
0.005870560169219971,
0.005913599967956543,
0.005925888061523437,
0.0059575681686401365,
0.0059526081085205075,
0.00591974401473999,
0.005928959846496582,
0.005938176155090332,
0.005908480167388916,
0.006074175834655761,
0.005949440002441406,
0.005935232162475586,
0.005911551952362061,
0.005926784038543701,
0.005928864002227783,
0.0059647679328918455,
0.005915647983551026,
0.0059955201148986816,
0.005902207851409912,
0.005955584049224853,
0.006035391807556152,
0.005941152095794678,
0.0059064321517944334,
0.005966847896575928,
0.005988287925720215,
0.0059351038932800295,
0.005692416191101074,
0.005637119770050049,
0.005624864101409912,
0.005577727794647217,
0.0056473278999328615,
0.0056514558792114256,
0.0056145920753479005,
0.005583871841430664,
0.00556115198135376,
0.005639167785644531,
0.005687295913696289,
0.0056514558792114256,
0.005639167785644531,
0.005608448028564453,
0.005673984050750733,
0.005679103851318359,
0.005656576156616211,
0.005660672187805176,
0.005643263816833496,
0.005614528179168701,
0.005636096000671387,
0.005652480125427246,
0.005615615844726562,
0.005692543983459472,
0.005606400012969971,
0.005633024215698243,
0.005657792091369629,
0.005638144016265869,
0.005700607776641845,
0.0056483840942382815,
0.005687295913696289,
0.005606400012969971,
0.005654528141021729,
0.005647359848022461,
0.005629951953887939,
0.005676032066345215,
0.005595104217529297,
0.005612383842468262,
0.005657599925994873,
0.005652480125427246,
0.005661695957183838,
0.00562278413772583,
0.005642079830169678,
0.005628928184509278,
0.005633024215698243,
0.005637152194976807,
0.005619711875915527,
0.005672800064086914,
0.005646336078643799,
0.005628928184509278,
0.005684224128723145,
0.005624959945678711,
0.005677055835723877,
0.005860352039337159,
0.006091775894165039,
0.006003776073455811,
0.006087679862976075,
0.006013951778411865,
0.006030335903167725,
0.006023071765899658,
0.0060764479637146,
0.00602620792388916,
0.006053887844085694,
0.006067200183868408,
0.0060293121337890625,
0.005934080123901367,
0.006036448001861572,
0.005956607818603516,
0.006000639915466309,
0.005932032108306885,
0.005945343971252442,
0.005953536033630371,
0.005934080123901367,
0.005966847896575928,
0.005956607818603516,
0.005967872142791748,
0.005926015853881836,
0.00592083215713501,
0.005942336082458496,
0.005919871807098388,
0.005946400165557861,
0.005987328052520752,
0.005989280223846436,
0.005929984092712402,
0.006013951778411865,
0.005984127998352051,
0.006006944179534912,
0.0059618239402771,
0.006004735946655273,
0.005983232021331787,
0.005932032108306885,
0.005910528182983398,
0.005933055877685547,
0.005944320201873779,
0.005946368217468262,
0.005941247940063477,
0.005989376068115234,
0.0059400639533996585,
0.0059658241271972655,
0.005922783851623535,
0.005954559803009033,
0.005941247940063477,
0.005920767784118652,
0.005925888061523437,
0.005975967884063721,
0.006008831977844238,
0.005950463771820068,
0.005955552101135254,
0.005945343971252442,
0.005934080123901367,
0.0060026879310607914,
0.0059361281394958495,
0.005936063766479492,
0.00592793607711792,
0.005985280036926269,
0.005959680080413818,
0.005940415859222412,
0.005962751865386963
],
"count": 170,
"total": 0.997025087833405,
"mean": 0.005864853457843556,
"p50": 0.005934080123901367,
"p90": 0.006014156579971314,
"p95": 0.006035972714424133,
"p99": 0.006088949632644653,
"stdev": 0.000157466045176955,
"stdev_": 2.684910139849489
},
"throughput": {
"unit": "samples/s",
"value": 170.50724407489105
},
"energy": {
"unit": "kWh",
"cpu": 6.933731241471866e-08,
"ram": 3.788868541700933e-08,
"gpu": 1.345907509473617e-07,
"total": 2.418167487790897e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4135362.8524447004
}
}
}
}