{ "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_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.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.33.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": { "load": { "memory": { "unit": "MB", "max_ram": 718.331904, "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.1910654296875, "mean": 7.1910654296875, "stdev": 0.0, "p50": 7.1910654296875, "p90": 7.1910654296875, "p95": 7.1910654296875, "p99": 7.1910654296875, "values": [ 7.1910654296875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.55691565407647e-07, "ram": 4.531605800377747e-07, "gpu": 1.88194595000064e-06, "total": 3.1907980954460615e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 918.667264, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 137, "total": 0.9977691512107848, "mean": 0.007282986505188211, "stdev": 0.00037746531722779655, "p50": 0.0071792640686035155, "p90": 0.0076685312271118165, "p95": 0.007798169803619385, "p99": 0.008527041587829586, "values": [ 0.007864319801330566, 0.00779366397857666, 0.007794688224792481, 0.007781375885009765, 0.0077281279563903805, 0.008049663543701171, 0.007570432186126709, 0.007547904014587403, 0.007157760143280029, 0.007153664112091064, 0.0071157760620117185, 0.007364607810974121, 0.007094272136688232, 0.007078879833221435, 0.007107583999633789, 0.007134208202362061, 0.0071792640686035155, 0.007135231971740722, 0.007145503997802735, 0.007049215793609619, 0.007105535984039306, 0.007187456130981445, 0.007747583866119385, 0.00773632001876831, 0.007579648017883301, 0.007602176189422607, 0.007607295989990235, 0.007553023815155029, 0.007523327827453613, 0.007831552028656007, 0.007525375843048096, 0.007507967948913574, 0.007554048061370849, 0.00890675163269043, 0.007559167861938477, 0.007525375843048096, 0.007561215877532959, 0.007576576232910156, 0.007647232055664062, 0.007628799915313721, 0.00764518404006958, 0.007535615921020508, 0.007508992195129394, 0.007601151943206787, 0.007588863849639893, 0.0074629120826721195, 0.007458816051483155, 0.007451776027679443, 0.00703385591506958, 0.007048192024230957, 0.007019519805908203, 0.007161856174468994, 0.007812096118927002, 0.00861184024810791, 0.008376288414001464, 0.007550975799560547, 0.007552000045776367, 0.007546879768371582, 0.00758681583404541, 0.007521279811859131, 0.007625728130340576, 0.00760319995880127, 0.007616511821746826, 0.007564256191253662, 0.0075008001327514645, 0.00759500789642334, 0.007520256042480469, 0.007493631839752197, 0.0074711041450500485, 0.007453695774078369, 0.007307263851165771, 0.007315455913543701, 0.007292928218841553, 0.007269248008728028, 0.0071823358535766605, 0.0071526398658752445, 0.007160831928253173, 0.007200767993927002, 0.007304192066192627, 0.0073134078979492185, 0.007353343963623047, 0.007337984085083008, 0.00742195177078247, 0.007515135765075683, 0.007501823902130127, 0.007127039909362793, 0.007121888160705567, 0.007080959796905518, 0.007700479984283447, 0.006864895820617676, 0.00672870397567749, 0.0066641921997070315, 0.006660160064697266, 0.0066375679969787596, 0.0066119680404663084, 0.006681600093841553, 0.006925216197967529, 0.006907904148101806, 0.0068249602317810056, 0.0069131522178649905, 0.006883327960968018, 0.006880256175994873, 0.006873087882995605, 0.006863872051239014, 0.00693555212020874, 0.006903808116912841, 0.006852447986602783, 0.006884352207183838, 0.006847487926483154, 0.00686195182800293, 0.006882304191589355, 0.006879231929779053, 0.006846464157104492, 0.0068915200233459475, 0.007014400005340577, 0.006936575889587402, 0.006899712085723877, 0.007045119762420654, 0.007153664112091064, 0.00709222412109375, 0.006916096210479736, 0.007061503887176514, 0.007150591850280762, 0.007150559902191162, 0.00709939193725586, 0.007085055828094483, 0.007094272136688232, 0.007121920108795166, 0.007123968124389648, 0.006974463939666748, 0.006957056045532227, 0.006946815967559815, 0.00693452787399292, 0.006933504104614257, 0.006933504104614257, 0.006956031799316406, 0.006990848064422607 ] }, "throughput": { "unit": "samples/s", "value": 137.30630961455523 }, "energy": { "unit": "kWh", "cpu": 7.911987989037125e-08, "ram": 4.3233340937837285e-08, "gpu": 1.5693901444000246e-07, "total": 2.79292235268211e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3580479.0600056467 } } } }