IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
50782c1 verified
raw
history blame
10.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 909.471744,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9997109441757203,
"mean": 0.007573567758906972,
"stdev": 0.0002575650256898117,
"p50": 0.007501823902130127,
"p90": 0.00782069435119629,
"p95": 0.00798279707431793,
"p99": 0.008806525831222534,
"values": [
0.008065024375915527,
0.007655424118041992,
0.007904255867004394,
0.00790835189819336,
0.0076605439186096195,
0.007823359966278077,
0.0075939841270446775,
0.007474080085754394,
0.007570432186126709,
0.007572480201721191,
0.007549952030181885,
0.007583744049072265,
0.007524352073669433,
0.007505919933319092,
0.0075008001327514645,
0.007463935852050781,
0.007526400089263916,
0.007556096076965332,
0.007731359958648681,
0.007527423858642578,
0.007548927783966064,
0.007510015964508057,
0.007579648017883301,
0.007601151943206787,
0.007577600002288819,
0.007796703815460205,
0.007511040210723877,
0.007501823902130127,
0.007513088226318359,
0.007546879768371582,
0.007589888095855713,
0.00754585599899292,
0.007463935852050781,
0.007461887836456299,
0.007480319976806641,
0.007490560054779053,
0.007432191848754883,
0.00753772783279419,
0.0075642881393432615,
0.007710720062255859,
0.007526400089263916,
0.007555071830749512,
0.007562240123748779,
0.007506944179534912,
0.007612415790557861,
0.007458816051483155,
0.007549952030181885,
0.007488480091094971,
0.007457791805267334,
0.007451648235321045,
0.007423999786376953,
0.007398399829864502,
0.007413760185241699,
0.00744652795791626,
0.007536640167236328,
0.007559167861938477,
0.007459839820861816,
0.007611392021179199,
0.007490560054779053,
0.007477248191833496,
0.0074579200744628905,
0.007560192108154297,
0.007498752117156982,
0.007488512039184571,
0.007650303840637207,
0.007612415790557861,
0.007590911865234375,
0.00759603214263916,
0.007516128063201904,
0.007517183780670166,
0.008433664321899414,
0.007915520191192627,
0.0077578239440917966,
0.0076863040924072265,
0.007741439819335938,
0.007726079940795898,
0.007745535850524903,
0.00743833589553833,
0.0073768959045410155,
0.007451648235321045,
0.007625728130340576,
0.00768287992477417,
0.007878655910491944,
0.007863296031951903,
0.007883808135986329,
0.008824831962585449,
0.008816703796386719,
0.008783871650695801,
0.00810905647277832,
0.007448575973510742,
0.007463935852050781,
0.007460864067077637,
0.007413760185241699,
0.0074106879234313965,
0.007342016220092774,
0.007480319976806641,
0.007384064197540283,
0.007354368209838867,
0.007333888053894043,
0.007385087966918945,
0.0073431038856506346,
0.0073359360694885255,
0.007367648124694824,
0.00742195177078247,
0.007475200176239013,
0.007408639907836914,
0.007418879985809326,
0.007418879985809326,
0.008253439903259278,
0.007464960098266602,
0.007479296207427978,
0.0073994240760803225,
0.007431168079376221,
0.00742195177078247,
0.007395328044891358,
0.007423999786376953,
0.007435264110565186,
0.00743833589553833,
0.007337984085083008,
0.007394303798675537,
0.0074609599113464355,
0.007390207767486572,
0.007494656085968018,
0.007501823902130127,
0.007458816051483155,
0.007428095817565918,
0.007367680072784424,
0.007415808200836181,
0.007434239864349365,
0.007391232013702393,
0.007400447845458984,
0.007543807983398438
]
},
"throughput": {
"unit": "samples/s",
"value": 132.03816640102542
},
"energy": {
"unit": "kWh",
"cpu": 8.430648639128846e-08,
"ram": 4.602209843684017e-08,
"gpu": 1.5068175963120763e-07,
"total": 2.810103444593363e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3558587.858834874
}
}
}
}