
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8d570b8
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 909.672448, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 1.0004672989845276, | |
"mean": 0.00806828466923006, | |
"stdev": 0.0001662279850686015, | |
"p50": 0.008060416221618651, | |
"p90": 0.008240230178833007, | |
"p95": 0.008320358610153197, | |
"p99": 0.008489953479766846, | |
"values": [ | |
0.00870809555053711, | |
0.008322048187255859, | |
0.00841420841217041, | |
0.008441856384277344, | |
0.008356863975524903, | |
0.008293375968933106, | |
0.008273920059204102, | |
0.008186880111694337, | |
0.008291328430175781, | |
0.008212479591369629, | |
0.008140800476074218, | |
0.008140800476074218, | |
0.008127488136291505, | |
0.008249343872070313, | |
0.008194047927856446, | |
0.008244223594665527, | |
0.008146944046020508, | |
0.008202239990234375, | |
0.008178688049316407, | |
0.008217599868774414, | |
0.008161279678344726, | |
0.008145919799804687, | |
0.00819711971282959, | |
0.008154111862182617, | |
0.008087552070617676, | |
0.008130559921264649, | |
0.008128512382507324, | |
0.008121343612670898, | |
0.008132608413696289, | |
0.008156160354614257, | |
0.008196096420288086, | |
0.00819916820526123, | |
0.008132608413696289, | |
0.008120320320129394, | |
0.008144895553588867, | |
0.008133631706237793, | |
0.008118271827697754, | |
0.008094719886779785, | |
0.008062975883483887, | |
0.008093695640563964, | |
0.008227871894836427, | |
0.008060928344726562, | |
0.008120320320129394, | |
0.00809881591796875, | |
0.008158207893371582, | |
0.008116224288940429, | |
0.0081725435256958, | |
0.008215488433837891, | |
0.008230912208557128, | |
0.008188863754272462, | |
0.008132608413696289, | |
0.008121343612670898, | |
0.008111167907714843, | |
0.008060928344726562, | |
0.008027135848999023, | |
0.007863296031951903, | |
0.007955455780029297, | |
0.007947264194488525, | |
0.007779327869415284, | |
0.007711743831634522, | |
0.00775270414352417, | |
0.00778652811050415, | |
0.008339455604553223, | |
0.00821555233001709, | |
0.008310784339904785, | |
0.00850432014465332, | |
0.008130559921264649, | |
0.008119296073913575, | |
0.008022015571594238, | |
0.00800051212310791, | |
0.007993343830108643, | |
0.007997439861297608, | |
0.008026111602783203, | |
0.007990272045135497, | |
0.008010751724243164, | |
0.008038399696350097, | |
0.008080384254455567, | |
0.007995423793792724, | |
0.007983104228973388, | |
0.007748608112335205, | |
0.007693312168121338, | |
0.007676928043365478, | |
0.007670752048492432, | |
0.007703551769256592, | |
0.007699456214904785, | |
0.007703551769256592, | |
0.007995391845703125, | |
0.007980031967163086, | |
0.008029184341430663, | |
0.008044544219970704, | |
0.007982079982757568, | |
0.007987199783325195, | |
0.007960576057434082, | |
0.0080250244140625, | |
0.007975935935974121, | |
0.007963647842407226, | |
0.007966720104217529, | |
0.007975935935974121, | |
0.007975935935974121, | |
0.007959551811218261, | |
0.007969727993011474, | |
0.007983104228973388, | |
0.007971839904785156, | |
0.007988224029541016, | |
0.007985151767730713, | |
0.007980031967163086, | |
0.008059904098510743, | |
0.007994368076324462, | |
0.007971839904785156, | |
0.007972864151000977, | |
0.007980031967163086, | |
0.00800153636932373, | |
0.00800153636932373, | |
0.007969791889190675, | |
0.008007648468017579, | |
0.008144895553588867, | |
0.007994368076324462, | |
0.008004608154296875, | |
0.008032256126403809, | |
0.008030207633972167, | |
0.008005632400512695, | |
0.008004608154296875, | |
0.008029184341430663, | |
0.008013824462890624 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.94208199094541 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.240480099742933e-08, | |
"ram": 5.051987830962317e-08, | |
"gpu": 1.7066981784496254e-07, | |
"total": 3.13594497152015e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3188831.4657359878 | |
} | |
} | |
} | |
} |