IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
14056ee 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-211.872.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.1",
"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": 787.185664,
"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.4436689453125,
"mean": 7.4436689453125,
"stdev": 0.0,
"p50": 7.4436689453125,
"p90": 7.4436689453125,
"p95": 7.4436689453125,
"p99": 7.4436689453125,
"values": [
7.4436689453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.032642229167701e-07,
"ram": 4.6370151807380537e-07,
"gpu": 1.651945765999887e-06,
"total": 3.0189115069904628e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.69568,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 133,
"total": 0.9967472305297851,
"mean": 0.0074943400791713174,
"stdev": 0.000194283660779008,
"p50": 0.007478271961212158,
"p90": 0.007673452854156494,
"p95": 0.007852441596984864,
"p99": 0.008228413772583008,
"values": [
0.007993343830108643,
0.007913472175598145,
0.007844863891601562,
0.007845888137817383,
0.007808000087738037,
0.007769087791442871,
0.008283136367797851,
0.007448575973510742,
0.007235583782196045,
0.007262176036834717,
0.007218175888061523,
0.007219200134277344,
0.007218207836151123,
0.007216127872467041,
0.007202816009521484,
0.007188479900360107,
0.007197696208953858,
0.007319551944732666,
0.007198719978332519,
0.007178239822387696,
0.007163904190063477,
0.0071823358535766605,
0.007196671962738037,
0.007201791763305664,
0.007200767993927002,
0.007161856174468994,
0.007209983825683594,
0.007187456130981445,
0.007194623947143554,
0.0076277761459350585,
0.007514111995697022,
0.00748854398727417,
0.007455743789672851,
0.007507967948913574,
0.007510015964508057,
0.0074997758865356446,
0.007469024181365967,
0.007464960098266602,
0.0075345921516418455,
0.0075038719177246095,
0.007631872177124023,
0.007887872219085693,
0.007674880027770996,
0.0074793601036071775,
0.007461887836456299,
0.007678976058959961,
0.007498752117156982,
0.007517151832580567,
0.007451648235321045,
0.007465983867645264,
0.007451648235321045,
0.0074700798988342285,
0.007473152160644531,
0.007463935852050781,
0.0074700798988342285,
0.007463903903961182,
0.008112128257751466,
0.00774348783493042,
0.007635007858276368,
0.007532544136047363,
0.007862271785736084,
0.008347647666931152,
0.007656447887420655,
0.007463935852050781,
0.007486464023590088,
0.007507967948913574,
0.0074997758865356446,
0.007478271961212158,
0.007469056129455566,
0.007465983867645264,
0.007540736198425293,
0.00744755220413208,
0.0074926080703735356,
0.007457791805267334,
0.007463935852050781,
0.007479296207427978,
0.007482367992401123,
0.007510015964508057,
0.007561215877532959,
0.00744652795791626,
0.007472127914428711,
0.007507999897003174,
0.007526400089263916,
0.007528448104858398,
0.007502848148345947,
0.007469056129455566,
0.007455743789672851,
0.007444479942321777,
0.00744652795791626,
0.0075304961204528805,
0.0074741759300231934,
0.007667744159698486,
0.007510015964508057,
0.007505919933319092,
0.007471072196960449,
0.007525375843048096,
0.007431168079376221,
0.0074741759300231934,
0.007455743789672851,
0.007577600002288819,
0.007483391761779785,
0.007472127914428711,
0.007531519889831543,
0.007501823902130127,
0.007513088226318359,
0.007472127914428711,
0.007547904014587403,
0.007609344005584716,
0.007449567794799805,
0.007543807983398438,
0.007415775775909424,
0.007498752117156982,
0.007448575973510742,
0.007480319976806641,
0.007491583824157715,
0.007513088226318359,
0.0074403839111328125,
0.0075304961204528805,
0.007457791805267334,
0.0075027837753295894,
0.007565311908721924,
0.00742195177078247,
0.007448575973510742,
0.007560192108154297,
0.007490560054779053,
0.007532544136047363,
0.007649280071258545,
0.007464960098266602,
0.007445504188537597,
0.007442431926727295,
0.007414783954620361,
0.0074711041450500485,
0.007437312126159668
]
},
"throughput": {
"unit": "samples/s",
"value": 133.43403013952556
},
"energy": {
"unit": "kWh",
"cpu": 8.631175223430134e-08,
"ram": 4.6980524138420916e-08,
"gpu": 1.5977871075362064e-07,
"total": 2.930709871263429e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3412142.600007349
}
}
}
}