{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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": 902.418432, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 157, "total": 1.0011073265075685, "mean": 0.006376479786672411, "stdev": 0.0001767695489235051, "p50": 0.006434815883636475, "p90": 0.006492159843444824, "p95": 0.0065445887565612785, "p99": 0.006815375518798828, "values": [ 0.007571455955505371, 0.006818816184997558, 0.006623231887817383, 0.006500351905822754, 0.006482944011688232, 0.0064849920272827145, 0.006456319808959961, 0.006470655918121338, 0.006482944011688232, 0.006455296039581298, 0.006487040042877197, 0.006435840129852295, 0.006445055961608887, 0.006481919765472412, 0.0064471039772033695, 0.006462463855743408, 0.0064778242111206055, 0.006432767868041992, 0.006463488101959228, 0.0064553279876708985, 0.0064767999649047855, 0.006451200008392334, 0.006462463855743408, 0.00648089599609375, 0.006456319808959961, 0.00643891191482544, 0.0064767999649047855, 0.006458367824554443, 0.006478847980499268, 0.0064737281799316405, 0.006446080207824707, 0.006474783897399902, 0.006460415840148926, 0.00648089599609375, 0.00648089599609375, 0.006462463855743408, 0.0064778242111206055, 0.0065136318206787105, 0.006503424167633057, 0.006471680164337158, 0.006462463855743408, 0.006451200008392334, 0.006466559886932373, 0.006458367824554443, 0.006479872226715088, 0.006472703933715821, 0.006452223777770996, 0.006479872226715088, 0.006463488101959228, 0.0064204797744750975, 0.006450175762176514, 0.006446080207824707, 0.006437888145446777, 0.00643891191482544, 0.00641539192199707, 0.006487040042877197, 0.00643071985244751, 0.006421504020690918, 0.006561791896820069, 0.006469632148742676, 0.006492159843444824, 0.006456319808959961, 0.006495232105255127, 0.006461440086364746, 0.006812672138214112, 0.006434815883636475, 0.006574079990386963, 0.006442944049835205, 0.006492159843444824, 0.006418432235717773, 0.006415359973907471, 0.006440959930419922, 0.006354944229125976, 0.006409215927124024, 0.006540287971496582, 0.006449151992797852, 0.006618112087249756, 0.006471680164337158, 0.006432767868041992, 0.006426623821258545, 0.006433792114257812, 0.006451136112213135, 0.006474783897399902, 0.006428671836853027, 0.006500351905822754, 0.006725632190704346, 0.006371327877044678, 0.006450175762176514, 0.006418432235717773, 0.0064767999649047855, 0.006459392070770263, 0.0064133119583129885, 0.0064215359687805175, 0.006384640216827392, 0.0062975997924804685, 0.00643891191482544, 0.006346752166748047, 0.0064471039772033695, 0.006415359973907471, 0.006401055812835693, 0.006418432235717773, 0.006203392028808594, 0.006206399917602539, 0.006198272228240966, 0.006187007904052734, 0.006510560035705566, 0.006307839870452881, 0.006218751907348633, 0.00619212818145752, 0.006325247764587402, 0.0061931519508361815, 0.006278143882751465, 0.006296576023101807, 0.006207488059997559, 0.006218751907348633, 0.006191103935241699, 0.00620851182937622, 0.006209536075592041, 0.006176767826080322, 0.006214655876159668, 0.0062044157981872555, 0.006210559844970703, 0.0061521921157836916, 0.006198272228240966, 0.0061224961280822755, 0.00613478422164917, 0.00612556791305542, 0.0061521921157836916, 0.006139904022216797, 0.006115327835083008, 0.006138879776000977, 0.006130688190460205, 0.00613478422164917, 0.006116352081298828, 0.006137792110443115, 0.006196224212646485, 0.006220799922943115, 0.006198272228240966, 0.0062259202003479, 0.00622489595413208, 0.006182911872863769, 0.006202367782592774, 0.006194176197052002, 0.006213632106781006, 0.006228991985321045, 0.006189055919647217, 0.00618393611907959, 0.006210559844970703, 0.006202367782592774, 0.006184959888458252, 0.0061296639442443845, 0.006137856006622314, 0.006137856006622314, 0.006124544143676758, 0.006145023822784424, 0.00612556791305542, 0.006146048069000244 ] }, "throughput": { "unit": "samples/s", "value": 156.8263420343803 }, "energy": { "unit": "kWh", "cpu": 7.327386422085338e-08, "ram": 4.0061591616665294e-08, "gpu": 1.3564311262962752e-07, "total": 2.489785684671462e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4016409.9510916513 } } } }