{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 787.959808, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.38328466796875, "mean": 7.38328466796875, "stdev": 0.0, "p50": 7.38328466796875, "p90": 7.38328466796875, "p95": 7.38328466796875, "p99": 7.38328466796875, "values": [ 7.38328466796875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0536805770828927e-06, "ram": 5.619177594189287e-07, "gpu": 1.6319457500002174e-06, "total": 3.247544086502039e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1077.915648, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 146, "total": 0.9983507518768311, "mean": 0.006838018848471445, "stdev": 0.0002461127269027274, "p50": 0.006771183967590333, "p90": 0.007104000091552734, "p95": 0.007218431949615478, "p99": 0.007415040016174318, "values": [ 0.00728985595703125, 0.007250944137573242, 0.007263296127319336, 0.0072202239036560055, 0.0072130560874938965, 0.007305215835571289, 0.007158783912658692, 0.007221183776855469, 0.007504896163940429, 0.00704307222366333, 0.007048255920410156, 0.007016479969024658, 0.0070266880989074704, 0.0069816322326660156, 0.0069550080299377445, 0.006969344139099121, 0.007030784130096435, 0.0071157760620117185, 0.007061503887176514, 0.006744063854217529, 0.006792191982269287, 0.006723584175109864, 0.006746111869812011, 0.006769631862640381, 0.006785024166107178, 0.006772736072540283, 0.00693452787399292, 0.00709222412109375, 0.007127039909362793, 0.007044095993041993, 0.007024640083312988, 0.007009280204772949, 0.007065599918365479, 0.007020544052124023, 0.0069959678649902345, 0.006918144226074219, 0.006970367908477783, 0.006986752033233643, 0.007065599918365479, 0.007031807899475098, 0.0070266880989074704, 0.007049248218536377, 0.007062528133392334, 0.007062528133392334, 0.0070522880554199216, 0.007073791980743408, 0.007052351951599121, 0.007814144134521485, 0.007103487968444824, 0.007093247890472412, 0.007117824077606201, 0.0070563840866088865, 0.007036928176879883, 0.007007264137268067, 0.006966271877288818, 0.0069847040176391605, 0.0070225920677185055, 0.007054336071014404, 0.007104512214660645, 0.007060480117797851, 0.007008255958557129, 0.007098368167877197, 0.0070594558715820314, 0.007005119800567627, 0.00703385591506958, 0.006976511955261231, 0.006740992069244385, 0.006806528091430664, 0.00683622407913208, 0.006765567779541016, 0.0067645440101623535, 0.006792191982269287, 0.006691840171813965, 0.006718400001525879, 0.006739967823028564, 0.006652927875518798, 0.0066713600158691405, 0.006713344097137451, 0.006621183872222901, 0.0066344962120056155, 0.006515711784362793, 0.006510591983795166, 0.006615039825439453, 0.006671328067779541, 0.006435840129852295, 0.0063569917678833006, 0.00637440013885498, 0.006370304107666015, 0.0064174079895019534, 0.006456319808959961, 0.006870016098022461, 0.006973440170288086, 0.007079936027526855, 0.007136256217956543, 0.006947775840759277, 0.006894591808319092, 0.00689356803894043, 0.00682700777053833, 0.006732800006866455, 0.006762495994567871, 0.00672051191329956, 0.006650879859924317, 0.0067338237762451176, 0.0066713600158691405, 0.006656000137329102, 0.006654975891113281, 0.006647808074951172, 0.006615039825439453, 0.006676479816436768, 0.0066007041931152345, 0.006606847763061524, 0.006621183872222901, 0.006633471965789795, 0.006635519981384277, 0.006661119937896728, 0.006631423950195312, 0.006609920024871826, 0.006646783828735352, 0.006663167953491211, 0.006638591766357422, 0.0066416640281677245, 0.006621183872222901, 0.0066375679969787596, 0.0066590080261230465, 0.006631423950195312, 0.0066109437942504885, 0.0066938881874084475, 0.006622208118438721, 0.006659071922302246, 0.006653952121734619, 0.006649856090545654, 0.006658048152923584, 0.006703104019165039, 0.006669312000274658, 0.006675456047058105, 0.006680575847625733, 0.006636544227600098, 0.006639616012573242, 0.006660096168518067, 0.0066375679969787596, 0.006633471965789795, 0.006684671878814697, 0.006642687797546387, 0.00637337589263916, 0.006370304107666015, 0.006359039783477783 ] }, "throughput": { "unit": "samples/s", "value": 146.241188004847 }, "energy": { "unit": "kWh", "cpu": 7.532028271360617e-08, "ram": 4.117883693550904e-08, "gpu": 1.3731199451898798e-07, "total": 2.538111141681032e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3939937.7890823325 } } } }