IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3c26a2b verified
raw
history blame
11.5 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.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.34.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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 801.153024,
"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.84514453125,
"mean": 7.84514453125,
"stdev": 0.0,
"p50": 7.84514453125,
"p90": 7.84514453125,
"p95": 7.84514453125,
"p99": 7.84514453125,
"values": [
7.84514453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.18740031250012e-07,
"ram": 4.6673422835674495e-07,
"gpu": 1.8272236839999602e-06,
"total": 3.2126979436067174e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1096.433664,
"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.9987070064544677,
"mean": 0.007565962170109605,
"stdev": 0.00011948616148002724,
"p50": 0.007539711952209473,
"p90": 0.007718604898452759,
"p95": 0.007805286359786987,
"p99": 0.00785348940372467,
"values": [
0.00773529577255249,
0.007840767860412597,
0.007806975841522217,
0.007772160053253174,
0.007840767860412597,
0.007718912124633789,
0.007710720062255859,
0.007739391803741455,
0.00769536018371582,
0.00765235185623169,
0.007633920192718506,
0.007710720062255859,
0.007715839862823487,
0.00765334415435791,
0.007604159832000732,
0.007624671936035156,
0.007655360221862793,
0.007679999828338623,
0.007622655868530274,
0.0076308479309082035,
0.007623680114746094,
0.007617536067962646,
0.007549952030181885,
0.007528448104858398,
0.007574528217315674,
0.007613440036773681,
0.007702527999877929,
0.007628736019134522,
0.007619584083557129,
0.0075970559120178225,
0.007591936111450195,
0.007605247974395752,
0.007623680114746094,
0.007584767818450928,
0.007552000045776367,
0.0075121278762817385,
0.0074967041015625,
0.0075304961204528805,
0.007527423858642578,
0.007524352073669433,
0.007543807983398438,
0.007575551986694336,
0.007535615921020508,
0.007554048061370849,
0.007775231838226319,
0.007671807765960693,
0.007661568164825439,
0.007675903797149658,
0.007592959880828858,
0.007494656085968018,
0.007527423858642578,
0.007610367774963379,
0.007582719802856445,
0.007559167861938477,
0.007532544136047363,
0.007574528217315674,
0.007459839820861816,
0.007507967948913574,
0.007522304058074952,
0.007517151832580567,
0.007621632099151611,
0.007522304058074952,
0.007498752117156982,
0.0075008001327514645,
0.007531519889831543,
0.007516191959381103,
0.007497695922851563,
0.007528512001037597,
0.007553023815155029,
0.007649280071258545,
0.007676928043365478,
0.0075939841270446775,
0.007641088008880615,
0.0075642881393432615,
0.007526400089263916,
0.007551968097686768,
0.007605247974395752,
0.007524352073669433,
0.007647232055664062,
0.007514175891876221,
0.007511040210723877,
0.007523327827453613,
0.007384064197540283,
0.007528448104858398,
0.0074700798988342285,
0.007269375801086426,
0.007188479900360107,
0.007703551769256592,
0.0077281279563903805,
0.007825407981872558,
0.007803904056549072,
0.00785203218460083,
0.007938047885894776,
0.007854144096374511,
0.00755295991897583,
0.00745472002029419,
0.007546879768371582,
0.007457791805267334,
0.007483391761779785,
0.00748854398727417,
0.007518208026885987,
0.007472127914428711,
0.00745472002029419,
0.007436287879943848,
0.00743936014175415,
0.007426047801971435,
0.007442431926727295,
0.0074414081573486324,
0.007460864067077637,
0.007609344005584716,
0.007480319976806641,
0.0073994240760803225,
0.0074291200637817386,
0.007431168079376221,
0.007436287879943848,
0.0074414081573486324,
0.007448575973510742,
0.0074587841033935546,
0.007527423858642578,
0.007458816051483155,
0.0074618239402770995,
0.007477248191833496,
0.007464960098266602,
0.007532544136047363,
0.007480319976806641,
0.0074629120826721195,
0.007442431926727295,
0.007432191848754883,
0.007426047801971435,
0.0074700798988342285,
0.007426047801971435,
0.007464960098266602
]
},
"throughput": {
"unit": "samples/s",
"value": 132.17089611558464
},
"energy": {
"unit": "kWh",
"cpu": 8.845637047056412e-08,
"ram": 4.8362797051725846e-08,
"gpu": 1.7416058708955042e-07,
"total": 3.109797546118404e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3215643.41462737
}
}
}
}