IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
939454f verified
raw
history blame
10.2 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",
"library": "transformers",
"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": {},
"hub_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,
"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.84448,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9967399663925174,
"mean": 0.007726666406143543,
"stdev": 0.00044555517191184835,
"p50": 0.007923711776733398,
"p90": 0.008125644493103027,
"p95": 0.00828538875579834,
"p99": 0.008613314170837402,
"values": [
0.00859340763092041,
0.00818892765045166,
0.008342528343200683,
0.008352736473083495,
0.008274944305419921,
0.008227840423583984,
0.00819916820526123,
0.008147968292236327,
0.008110079765319824,
0.007993311882019042,
0.008053759574890136,
0.00802406406402588,
0.007942143917083741,
0.007960576057434082,
0.007977983951568603,
0.008027135848999023,
0.008110079765319824,
0.008085503578186035,
0.008070143699645996,
0.008017919540405273,
0.00801375961303711,
0.008087552070617676,
0.008076288223266602,
0.008067071914672852,
0.008048640251159669,
0.008053759574890136,
0.007998464107513427,
0.008004544258117675,
0.008047616004943848,
0.00800153636932373,
0.007889920234680176,
0.007923711776733398,
0.007968768119812012,
0.00793497610092163,
0.007892960071563721,
0.007990272045135497,
0.007916543960571289,
0.00809062385559082,
0.008065024375915527,
0.008017919540405273,
0.008537088394165039,
0.008292351722717285,
0.008142848014831543,
0.008769536018371582,
0.008030207633972167,
0.00800972843170166,
0.008012800216674805,
0.00795136022567749,
0.007938047885894776,
0.007922688007354736,
0.007935999870300293,
0.008059904098510743,
0.007944191932678223,
0.007882751941680909,
0.00791756820678711,
0.007979008197784423,
0.007970816135406494,
0.00793497610092163,
0.007947264194488525,
0.007994431972503662,
0.00808448028564453,
0.00808448028564453,
0.008010751724243164,
0.00809881591796875,
0.008038399696350097,
0.008002559661865234,
0.008621055603027344,
0.008121343612670898,
0.007927807807922363,
0.007854080200195313,
0.0077506561279296875,
0.007968768119812012,
0.007830527782440186,
0.007584767818450928,
0.007550975799560547,
0.007832575798034667,
0.00780185604095459,
0.007817215919494629,
0.00780291223526001,
0.007798783779144287,
0.008079360008239746,
0.007853055953979492,
0.007605247974395752,
0.007724031925201416,
0.007699456214904785,
0.00759500789642334,
0.0075673599243164065,
0.007521279811859131,
0.007562240123748779,
0.007494656085968018,
0.00739737606048584,
0.007401472091674805,
0.007328767776489258,
0.007106560230255127,
0.007146495819091797,
0.007126016139984131,
0.007114751815795899,
0.007124991893768311,
0.007079936027526855,
0.007107583999633789,
0.007081984043121338,
0.007159808158874512,
0.0070266880989074704,
0.00708403205871582,
0.00708403205871582,
0.007081984043121338,
0.00709222412109375,
0.007079936027526855,
0.0070891518592834475,
0.007105535984039306,
0.0070830078125,
0.007066624164581299,
0.007062528133392334,
0.0070830078125,
0.00709222412109375,
0.007076863765716553,
0.007069695949554444,
0.007106560230255127,
0.007131135940551757,
0.007095295906066895,
0.007061503887176514,
0.007078911781311035,
0.007087103843688965,
0.00709222412109375,
0.00707583999633789,
0.007160831928253173,
0.007081984043121338,
0.007110655784606934,
0.0070563840866088865
]
},
"throughput": {
"unit": "samples/s",
"value": 129.42191980811944
},
"energy": {
"unit": "kWh",
"cpu": 8.951583153621893e-08,
"ram": 4.881614143489702e-08,
"gpu": 1.6610915544361268e-07,
"total": 3.044411284147286e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3284707.3101034425
}
}
}
}