IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
684782b verified
raw
history blame
11.4 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.224-212.876.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 798.875648,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.97052001953125,
"mean": 7.97052001953125,
"stdev": 0.0,
"p50": 7.97052001953125,
"p90": 7.97052001953125,
"p95": 7.97052001953125,
"p99": 7.97052001953125,
"values": [
7.97052001953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.313926902778718e-06,
"ram": 1.2493756452016848e-06,
"gpu": 3.553891731999763e-06,
"total": 7.117194279980165e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1094.959104,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9990449585914614,
"mean": 0.007744534562724505,
"stdev": 0.00036949793718827,
"p50": 0.007699456214904785,
"p90": 0.008034662246704101,
"p95": 0.008179097747802733,
"p99": 0.009059336509704589,
"values": [
0.00799129581451416,
0.00775270414352417,
0.007708672046661377,
0.007697408199310303,
0.007687136173248291,
0.007628799915313721,
0.007656447887420655,
0.007565311908721924,
0.007521279811859131,
0.007620607852935791,
0.007521312236785888,
0.0075008001327514645,
0.0075049281120300295,
0.007400447845458984,
0.007394303798675537,
0.007486464023590088,
0.0074332160949707035,
0.007510015964508057,
0.0075673599243164065,
0.0075335679054260255,
0.007522304058074952,
0.00748038387298584,
0.007494656085968018,
0.007481344223022461,
0.0074926080703735356,
0.007480319976806641,
0.007523295879364014,
0.007699456214904785,
0.008219648361206054,
0.007916543960571289,
0.007979008197784423,
0.007987103939056396,
0.008333312034606934,
0.007974912166595459,
0.007904255867004394,
0.007990272045135497,
0.008052736282348634,
0.008033280372619628,
0.007929855823516846,
0.007929855823516846,
0.007897088050842285,
0.007929855823516846,
0.008010751724243164,
0.008036352157592774,
0.008027135848999023,
0.008003583908081055,
0.007939072132110595,
0.007944128036499024,
0.00795750379562378,
0.008011775970458984,
0.007993311882019042,
0.007941152095794678,
0.008048640251159669,
0.007984127998352051,
0.007941120147705078,
0.00793497610092163,
0.007994400024414063,
0.007989247798919678,
0.007988224029541016,
0.007882751941680909,
0.007890944004058837,
0.007955455780029297,
0.007929855823516846,
0.007896063804626464,
0.007890944004058837,
0.007970816135406494,
0.008037376403808593,
0.00801587200164795,
0.008034239768981934,
0.008104960441589355,
0.00801478385925293,
0.008751104354858399,
0.007995391845703125,
0.007920639991760254,
0.008006655693054199,
0.007928832054138184,
0.007896063804626464,
0.007862271785736084,
0.007762944221496582,
0.007890944004058837,
0.007823359966278077,
0.007624703884124756,
0.00757862377166748,
0.008118271827697754,
0.008940544128417969,
0.009004063606262207,
0.00908083152770996,
0.009176063537597656,
0.00774451208114624,
0.007456768035888672,
0.007479328155517578,
0.007425024032592774,
0.007954432010650634,
0.007450623989105225,
0.007582719802856445,
0.007318528175354004,
0.007307263851165771,
0.007303167819976806,
0.0073359360694885255,
0.007308256149291992,
0.007480319976806641,
0.00728166389465332,
0.007233535766601563,
0.007323647975921631,
0.007261184215545655,
0.007383039951324463,
0.00738918399810791,
0.0074035201072692874,
0.007384064197540283,
0.007383039951324463,
0.007395328044891358,
0.0073994240760803225,
0.00739737606048584,
0.007368703842163086,
0.007415808200836181,
0.0074065918922424315,
0.007418879985809326,
0.007393280029296875,
0.007390207767486572,
0.007407616138458252,
0.007409664154052734,
0.007398399829864502,
0.0073768959045410155,
0.007414783954620361,
0.007398399829864502,
0.007392255783081054,
0.007364607810974121,
0.0074291200637817386,
0.008012800216674805
]
},
"throughput": {
"unit": "samples/s",
"value": 129.12331811560833
},
"energy": {
"unit": "kWh",
"cpu": 8.791163118827175e-08,
"ram": 4.8041229783415946e-08,
"gpu": 1.6997132939259216e-07,
"total": 3.0592419036427984e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3268783.6774504427
}
}
}
}