
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f90f606
verified
{ | |
"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": 802.246656, | |
"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.86547607421875, | |
"mean": 7.86547607421875, | |
"stdev": 0.0, | |
"p50": 7.86547607421875, | |
"p90": 7.86547607421875, | |
"p95": 7.86547607421875, | |
"p99": 7.86547607421875, | |
"values": [ | |
7.86547607421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.786188979168152e-07, | |
"ram": 4.659504454555712e-07, | |
"gpu": 1.6486124300003034e-06, | |
"total": 2.9931817733726897e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1098.305536, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.0020637779235844, | |
"mean": 0.007828623265028, | |
"stdev": 0.0002537897427241716, | |
"p50": 0.007729151964187622, | |
"p90": 0.008154204940795898, | |
"p95": 0.008207913732528686, | |
"p99": 0.008362424182891846, | |
"values": [ | |
0.00838758373260498, | |
0.008186880111694337, | |
0.008101887702941894, | |
0.00810700798034668, | |
0.008073216438293456, | |
0.008072192192077637, | |
0.008187904357910156, | |
0.007678976058959961, | |
0.007584832191467285, | |
0.007566336154937744, | |
0.007615488052368164, | |
0.007601024150848389, | |
0.007583744049072265, | |
0.007747583866119385, | |
0.007820288181304931, | |
0.0080250883102417, | |
0.008125439643859863, | |
0.008138751983642578, | |
0.008138751983642578, | |
0.008162303924560547, | |
0.008152064323425292, | |
0.008540160179138183, | |
0.008127488136291505, | |
0.008102911949157715, | |
0.008120320320129394, | |
0.008185855865478516, | |
0.007701344013214111, | |
0.0077209601402282715, | |
0.007616352081298828, | |
0.007577600002288819, | |
0.007654399871826172, | |
0.007574528217315674, | |
0.007574624061584473, | |
0.007548927783966064, | |
0.007622655868530274, | |
0.007529471874237061, | |
0.0076072320938110356, | |
0.007674880027770996, | |
0.007571455955505371, | |
0.007574528217315674, | |
0.007561215877532959, | |
0.007504799842834473, | |
0.00760316801071167, | |
0.007711743831634522, | |
0.007699456214904785, | |
0.00773529577255249, | |
0.0076984319686889645, | |
0.007571584224700928, | |
0.007580671787261963, | |
0.007655424118041992, | |
0.00765231990814209, | |
0.007641088008880615, | |
0.007560128211975097, | |
0.007572576045989991, | |
0.007579648017883301, | |
0.007810080051422119, | |
0.00799129581451416, | |
0.008014847755432129, | |
0.007961599826812745, | |
0.008133631706237793, | |
0.008218688011169433, | |
0.008055808067321778, | |
0.008072192192077637, | |
0.00810700798034668, | |
0.008133631706237793, | |
0.008093695640563964, | |
0.00810700798034668, | |
0.008114175796508789, | |
0.008159199714660644, | |
0.008140640258789062, | |
0.008130559921264649, | |
0.008235008239746093, | |
0.008169471740722656, | |
0.008128512382507324, | |
0.00809779167175293, | |
0.008060928344726562, | |
0.008078335762023926, | |
0.008241151809692383, | |
0.007967743873596191, | |
0.008133631706237793, | |
0.008294400215148925, | |
0.008253439903259278, | |
0.00810086441040039, | |
0.007894015789031983, | |
0.007841792106628418, | |
0.00780185604095459, | |
0.007777184009552002, | |
0.0078919677734375, | |
0.007864319801330566, | |
0.007963647842407226, | |
0.008033280372619628, | |
0.008080384254455567, | |
0.00788479995727539, | |
0.007787519931793213, | |
0.007748640060424804, | |
0.007701504230499268, | |
0.007723008155822754, | |
0.007714752197265625, | |
0.00758681583404541, | |
0.007588736057281494, | |
0.007569407939910889, | |
0.007623680114746094, | |
0.007592832088470459, | |
0.007869440078735352, | |
0.007643072128295898, | |
0.007672832012176513, | |
0.007572447776794434, | |
0.007565311908721924, | |
0.007601151943206787, | |
0.007619584083557129, | |
0.007558112144470215, | |
0.007513088226318359, | |
0.00783462381362915, | |
0.007631872177124023, | |
0.007619584083557129, | |
0.0075939841270446775, | |
0.00758784008026123, | |
0.007504896163940429, | |
0.007683072090148926, | |
0.007548960208892822, | |
0.007606272220611572, | |
0.007755775928497314, | |
0.007507840156555176, | |
0.007553023815155029, | |
0.0075857281684875485, | |
0.007580671787261963, | |
0.007552000045776367, | |
0.007616511821746826 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.73638047793114 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.86792864946116e-08, | |
"ram": 4.8427060034738456e-08, | |
"gpu": 1.6212906834328225e-07, | |
"total": 2.992354148726323e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3341850.430456715 | |
} | |
} | |
} | |
} |