IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3b07f8d verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-212.873.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.983808,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.39186572265625,
"mean": 7.39186572265625,
"stdev": 0.0,
"p50": 7.39186572265625,
"p90": 7.39186572265625,
"p95": 7.39186572265625,
"p99": 7.39186572265625,
"values": [
7.39186572265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.325796131946224e-07,
"ram": 4.954406815166368e-07,
"gpu": 1.9386126619996315e-06,
"total": 3.366632956710891e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.895232,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9998591680526737,
"mean": 0.007574690667065707,
"stdev": 0.00019883643289373554,
"p50": 0.0075202400684356695,
"p90": 0.0077738272190094,
"p95": 0.007945062470436096,
"p99": 0.008360550460815429,
"values": [
0.007974912166595459,
0.007988224029541016,
0.008114144325256348,
0.008016863822937011,
0.008713215827941894,
0.007472127914428711,
0.0071577920913696285,
0.0071485438346862796,
0.007169023990631103,
0.008261631965637208,
0.007547904014587403,
0.007531519889831543,
0.007522304058074952,
0.0075038719177246095,
0.007505919933319092,
0.007535615921020508,
0.007519231796264648,
0.007580671787261963,
0.007889920234680176,
0.007535615921020508,
0.007542784214019775,
0.007542719841003418,
0.007519231796264648,
0.007501823902130127,
0.007494656085968018,
0.007868415832519531,
0.007590911865234375,
0.007591936111450195,
0.007568384170532226,
0.007540736198425293,
0.007621632099151611,
0.007674880027770996,
0.007681024074554443,
0.007517183780670166,
0.007574528217315674,
0.00840499210357666,
0.007919616222381591,
0.007553023815155029,
0.0074926080703735356,
0.007536640167236328,
0.007504896163940429,
0.007514111995697022,
0.007525375843048096,
0.007529471874237061,
0.007506944179534912,
0.00769536018371582,
0.007667712211608887,
0.0075673599243164065,
0.007445504188537597,
0.007391232013702393,
0.007367680072784424,
0.007400447845458984,
0.007379968166351319,
0.007386112213134765,
0.007374847888946533,
0.007548927783966064,
0.007920639991760254,
0.007774240016937256,
0.007543807983398438,
0.007701504230499268,
0.00753868818283081,
0.007664639949798584,
0.007507967948913574,
0.007506944179534912,
0.007529471874237061,
0.007502848148345947,
0.007483359813690186,
0.007479296207427978,
0.0075008001327514645,
0.007479296207427978,
0.0074967041015625,
0.007506944179534912,
0.007490560054779053,
0.007451648235321045,
0.007651328086853027,
0.007656447887420655,
0.007516160011291504,
0.0075008320808410646,
0.007516160011291504,
0.007491583824157715,
0.007478271961212158,
0.007521279811859131,
0.0075335679054260255,
0.007511040210723877,
0.00758784008026123,
0.007540736198425293,
0.007488512039184571,
0.007506944179534912,
0.007667712211608887,
0.007675903797149658,
0.007476223945617676,
0.007483391761779785,
0.007498752117156982,
0.007602176189422607,
0.007601151943206787,
0.0074926080703735356,
0.0077281279563903805,
0.0075335679054260255,
0.007522304058074952,
0.007557119846343994,
0.007508895874023438,
0.007519231796264648,
0.007770112037658691,
0.007502848148345947,
0.007515135765075683,
0.007465983867645264,
0.007484416007995606,
0.007520224094390869,
0.007520256042480469,
0.007525375843048096,
0.007501855850219726,
0.007459839820861816,
0.007490592002868652,
0.0074741759300231934,
0.007483391761779785,
0.007833600044250488,
0.007504896163940429,
0.007550975799560547,
0.007531583786010742,
0.007520256042480469,
0.007476223945617676,
0.007523327827453613,
0.007590911865234375,
0.007483391761779785,
0.0074783039093017575,
0.007486464023590088,
0.007490560054779053,
0.007480319976806641,
0.007481344223022461,
0.007819263935089112,
0.0076984319686889645,
0.007515135765075683
]
},
"throughput": {
"unit": "samples/s",
"value": 132.01859243545601
},
"energy": {
"unit": "kWh",
"cpu": 8.642956626115046e-08,
"ram": 4.725419075532512e-08,
"gpu": 1.7929251975182382e-07,
"total": 3.129762767682994e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3195130.347659908
}
}
}
}