IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6857760 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1109.409792,
"max_global_vram": 68702.69952,
"max_process_vram": 4885.180416,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.08699005889892578
],
"count": 1,
"total": 0.08699005889892578,
"mean": 0.08699005889892578,
"p50": 0.08699005889892578,
"p90": 0.08699005889892578,
"p95": 0.08699005889892578,
"p99": 0.08699005889892578,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1227.79648,
"max_global_vram": 68702.69952,
"max_process_vram": 223372.435456,
"max_reserved": 557.842432,
"max_allocated": 501.534208
},
"latency": {
"unit": "s",
"values": [
0.0073779959678649904,
0.007203598022460938,
0.007218317985534668,
0.0072104778289794925,
0.007129679203033448,
0.007180559158325195,
0.007161839008331299,
0.007149038791656494,
0.007183117866516113,
0.007153199195861816,
0.007174637794494629,
0.007179759025573731,
0.007154318809509277,
0.007152079105377197,
0.007176558971405029,
0.007166158199310302,
0.007390635967254639,
0.007166159152984619,
0.007169038772583008,
0.007185197830200195,
0.0072197580337524415,
0.007145839214324951,
0.007223759174346924,
0.007197999000549317,
0.007179759025573731,
0.007199759006500244,
0.007155758857727051,
0.007164238929748535,
0.00716071891784668,
0.0071843981742858885,
0.007155599117279053,
0.007139278888702393,
0.0072039179801940915,
0.007146318912506103,
0.007260397911071777,
0.007169037818908691,
0.007184079170227051,
0.007162798881530761,
0.00719527816772461,
0.00717127799987793,
0.007146318912506103,
0.007159119129180908,
0.0071547989845275875,
0.007119919776916504,
0.007169038772583008,
0.007338156223297119,
0.007203437805175781,
0.007215278148651123,
0.007188717842102051,
0.007165678024291992,
0.0071891980171203615,
0.007141358852386474,
0.007211438179016113,
0.007168398857116699,
0.00716775894165039,
0.007202797889709472,
0.0071989579200744626,
0.007188239097595215,
0.00720231819152832,
0.007154959201812744,
0.007851430892944336,
0.008063749313354492,
0.008088388442993165,
0.008199907302856446,
0.007754471778869629,
0.007636553764343261,
0.007680552959442139,
0.00766903305053711,
0.007716392993927002,
0.007574635028839111,
0.00775383186340332,
0.007802791118621826,
0.0076471128463745115,
0.007534634113311767,
0.007485835075378418,
0.007414475917816162,
0.007310317039489746,
0.007184877872467041,
0.007316876888275146,
0.007197999000549317,
0.007201358795166015,
0.007235757827758789,
0.007230957984924316,
0.007263278007507324,
0.007276076793670655,
0.00725639820098877,
0.007206478118896484,
0.007231277942657471,
0.007265517234802246,
0.007192718029022217,
0.0072106380462646485,
0.007180878162384033,
0.007186158180236817,
0.007173839092254638,
0.007251758098602295,
0.007176719188690186,
0.007244718074798584,
0.00719175910949707,
0.007213357925415039,
0.0072056779861450196,
0.007235918045043945,
0.007206958770751953,
0.007232237815856934,
0.007193357944488526,
0.007237678050994873,
0.007196718215942382,
0.007199438095092774,
0.0071843981742858885,
0.007170157909393311,
0.007186158180236817,
0.007221837997436523,
0.012120502471923828,
0.007031920909881592,
0.007204078197479248,
0.007239118099212647,
0.007166799068450928,
0.007192078113555908,
0.007200078010559082,
0.007193037986755371,
0.007180878162384033,
0.007171918869018554,
0.00714871883392334,
0.007185038089752197,
0.007179439067840576,
0.0072149581909179685,
0.007195598125457764,
0.007286956787109375,
0.007210958003997803,
0.007181997776031494,
0.007133678913116455,
0.007164238929748535,
0.007214317798614502,
0.007193838119506836,
0.007190157890319824,
0.007188398838043213,
0.007195117950439453,
0.007216397762298584
],
"count": 137,
"total": 0.9995324988365175,
"mean": 0.0072958576557410025,
"p50": 0.00719527816772461,
"p90": 0.007550634479522705,
"p95": 0.007753959846496582,
"p99": 0.008159760513305664,
"stdev": 0.000457254220080174,
"stdev_": 6.267312791120143
},
"throughput": {
"unit": "samples/s",
"value": 274.1281552315141
},
"energy": null,
"efficiency": null
}
}
}