
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2e81069
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.766656, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 1.0027191996574405, | |
"mean": 0.008219009833257705, | |
"stdev": 0.0002897873745098747, | |
"p50": 0.008089087963104247, | |
"p90": 0.008587673854827881, | |
"p95": 0.008662733173370362, | |
"p99": 0.008938291273117065, | |
"values": [ | |
0.009310208320617675, | |
0.00877670383453369, | |
0.008841216087341308, | |
0.008688639640808106, | |
0.008637439727783204, | |
0.008624128341674805, | |
0.008545280456542969, | |
0.008532992362976074, | |
0.008516575813293457, | |
0.008443903923034669, | |
0.008447967529296874, | |
0.00850432014465332, | |
0.00852070426940918, | |
0.008606719970703124, | |
0.008629247665405274, | |
0.008444928169250488, | |
0.008563712120056152, | |
0.00848588752746582, | |
0.008508416175842285, | |
0.008570879936218261, | |
0.008481792449951172, | |
0.008477696418762207, | |
0.008430591583251953, | |
0.008401920318603515, | |
0.00841318416595459, | |
0.008421376228332519, | |
0.008447999954223634, | |
0.008514559745788575, | |
0.008588288307189941, | |
0.00860262393951416, | |
0.008582143783569337, | |
0.008455167770385743, | |
0.008532992362976074, | |
0.008475647926330567, | |
0.008664064407348633, | |
0.008454143524169922, | |
0.00841318416595459, | |
0.008506367683410645, | |
0.008548352241516113, | |
0.008335359573364258, | |
0.008093695640563964, | |
0.008089599609375, | |
0.008099807739257812, | |
0.00812335968017578, | |
0.00819814395904541, | |
0.008151040077209473, | |
0.008349696159362792, | |
0.008135680198669434, | |
0.008088576316833495, | |
0.008104960441589355, | |
0.0080763521194458, | |
0.007989247798919678, | |
0.007871488094329833, | |
0.007967743873596191, | |
0.00801689624786377, | |
0.00781824016571045, | |
0.0077547521591186525, | |
0.0077619199752807615, | |
0.007782400131225586, | |
0.00820019245147705, | |
0.008427519798278809, | |
0.008468480110168456, | |
0.008790016174316406, | |
0.008434687614440918, | |
0.008407039642333984, | |
0.008964096069335938, | |
0.008229887962341309, | |
0.008078335762023926, | |
0.00806604766845703, | |
0.008072192192077637, | |
0.008022015571594238, | |
0.008033280372619628, | |
0.008071167945861817, | |
0.008257535934448243, | |
0.008017919540405273, | |
0.00797388792037964, | |
0.008130559921264649, | |
0.007985151767730713, | |
0.007988224029541016, | |
0.007994368076324462, | |
0.007994368076324462, | |
0.007998464107513427, | |
0.007985151767730713, | |
0.007977983951568603, | |
0.007991360187530518, | |
0.007982079982757568, | |
0.007980031967163086, | |
0.00800153636932373, | |
0.00800153636932373, | |
0.008004608154296875, | |
0.008004608154296875, | |
0.008026111602783203, | |
0.007970816135406494, | |
0.007995391845703125, | |
0.007986176013946533, | |
0.00799948787689209, | |
0.007982079982757568, | |
0.007985151767730713, | |
0.007985151767730713, | |
0.00800767993927002, | |
0.007985151767730713, | |
0.007970816135406494, | |
0.007987199783325195, | |
0.007980031967163086, | |
0.007974912166595459, | |
0.00799948787689209, | |
0.00800767993927002, | |
0.007986176013946533, | |
0.007964672088623047, | |
0.007953407764434815, | |
0.007950335979461669, | |
0.007956480026245117, | |
0.007945184230804442, | |
0.00796569585800171, | |
0.007962624073028564, | |
0.007981056213378907, | |
0.008167424201965333, | |
0.008003583908081055, | |
0.00809779167175293, | |
0.007988224029541016, | |
0.008005632400512695, | |
0.00799232006072998 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 121.66915726923249 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.73193073316133e-08, | |
"ram": 5.306276868201506e-08, | |
"gpu": 1.7823329377049204e-07, | |
"total": 3.286153697841204e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3043071.2983903857 | |
} | |
} | |
} | |
} |