IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ee992bb verified
raw
history blame
11.4 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": 786.911232,
"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.34278369140625,
"mean": 7.34278369140625,
"stdev": 0.0,
"p50": 7.34278369140625,
"p90": 7.34278369140625,
"p95": 7.34278369140625,
"p99": 7.34278369140625,
"values": [
7.34278369140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.201478319447176e-07,
"ram": 4.7388265297441584e-07,
"gpu": 1.6788902320007126e-06,
"total": 3.072920716919846e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.81856,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 128,
"total": 0.9978714542388918,
"mean": 0.00779587073624134,
"stdev": 0.00042395760791272947,
"p50": 0.00766156792640686,
"p90": 0.008093388843536378,
"p95": 0.008265164566040038,
"p99": 0.009973063755035405,
"values": [
0.010719231605529785,
0.010300415992736817,
0.00841113567352295,
0.008284159660339355,
0.008225791931152344,
0.008028160095214844,
0.008229887962341309,
0.007774208068847656,
0.007672832012176513,
0.007664639949798584,
0.00758681583404541,
0.007576576232910156,
0.007615488052368164,
0.007615488052368164,
0.007650303840637207,
0.007724031925201416,
0.0077086081504821775,
0.007658495903015137,
0.0076267518997192385,
0.007679999828338623,
0.0076687359809875484,
0.007671807765960693,
0.007723008155822754,
0.007683072090148926,
0.007724031925201416,
0.0076267518997192385,
0.007682047843933106,
0.007716864109039307,
0.0077281279563903805,
0.00765235185623169,
0.007608320236206055,
0.00760319995880127,
0.007667679786682129,
0.007673855781555176,
0.007629824161529541,
0.007634943962097168,
0.007676928043365478,
0.007981056213378907,
0.008064000129699708,
0.008087552070617676,
0.008010751724243164,
0.007947264194488525,
0.008010720252990723,
0.00810700798034668,
0.008058879852294922,
0.008047616004943848,
0.007671807765960693,
0.007611392021179199,
0.0075643200874328615,
0.007604191780090332,
0.007620607852935791,
0.007683072090148926,
0.007585792064666748,
0.0075939841270446775,
0.007625696182250977,
0.007633920192718506,
0.007609407901763916,
0.0076267518997192385,
0.007641088008880615,
0.007676928043365478,
0.007741439819335938,
0.0076943359375,
0.007725056171417236,
0.007738368034362793,
0.007639039993286132,
0.0076687359809875484,
0.007677951812744141,
0.0075970559120178225,
0.007712768077850342,
0.008443903923034669,
0.008223744392395019,
0.008187904357910156,
0.008762304306030273,
0.009088000297546387,
0.007802879810333252,
0.008085503578186035,
0.007656447887420655,
0.0077506561279296875,
0.007874559879302979,
0.007938047885894776,
0.00796665620803833,
0.008057855606079101,
0.008169471740722656,
0.007969791889190675,
0.007732223987579345,
0.007701504230499268,
0.007639039993286132,
0.007641088008880615,
0.007713791847229004,
0.007615488052368164,
0.007629824161529541,
0.007571455955505371,
0.007633984088897705,
0.007601151943206787,
0.007616511821746826,
0.008085503578186035,
0.007674880027770996,
0.007787519931793213,
0.007619584083557129,
0.007602176189422607,
0.007611392021179199,
0.007592959880828858,
0.007544832229614258,
0.00758784008026123,
0.007556096076965332,
0.007933951854705811,
0.007628799915313721,
0.007602240085601807,
0.00760319995880127,
0.007574528217315674,
0.007560192108154297,
0.007573503971099854,
0.007579648017883301,
0.0075335679054260255,
0.007650271892547607,
0.00758678388595581,
0.007560160160064697,
0.007553055763244629,
0.0075642881393432615,
0.007581696033477783,
0.007591936111450195,
0.007584767818450928,
0.007579648017883301,
0.007559167861938477,
0.007580671787261963,
0.007576576232910156,
0.007557119846343994,
0.007635968208312988
]
},
"throughput": {
"unit": "samples/s",
"value": 128.2730350249669
},
"energy": {
"unit": "kWh",
"cpu": 8.489086299744006e-08,
"ram": 4.620500915155959e-08,
"gpu": 1.5757301809928985e-07,
"total": 2.886688902482895e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3464176.5489169317
}
}
}
}