{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+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.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.41.0", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 902.111232, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 146, "total": 1.0017545933723446, "mean": 0.00686133283131743, "stdev": 0.00022478749861737731, "p50": 0.006814208030700684, "p90": 0.007130112171173096, "p95": 0.007191807985305786, "p99": 0.007352694368362428, "values": [ 0.007672832012176513, 0.007218175888061523, 0.00728985595703125, 0.007216127872467041, 0.007291903972625732, 0.007192575931549072, 0.007196735858917236, 0.007189504146575928, 0.0071157760620117185, 0.007012351989746094, 0.007064576148986816, 0.00707583999633789, 0.006959104061126709, 0.006980607986450196, 0.007048192024230957, 0.007105472087860107, 0.0071526398658752445, 0.007107583999633789, 0.007102464199066162, 0.007013376235961914, 0.007046144008636474, 0.007104512214660645, 0.00677785587310791, 0.006796288013458252, 0.007135231971740722, 0.007060480117797851, 0.007051263809204102, 0.007012351989746094, 0.007096320152282715, 0.007071743965148926, 0.006959104061126709, 0.006910975933074951, 0.007020607948303222, 0.007007232189178467, 0.006972415924072266, 0.007012351989746094, 0.007014400005340577, 0.007181312084197998, 0.007105535984039306, 0.006952896118164063, 0.007132160186767578, 0.007093247890472412, 0.0070830078125, 0.007094207763671875, 0.007032832145690918, 0.007035903930664063, 0.007079936027526855, 0.007020544052124023, 0.007028736114501953, 0.007003136157989502, 0.007073791980743408, 0.007121920108795166, 0.006647808074951172, 0.006618112087249756, 0.0066938881874084475, 0.0066447358131408694, 0.006815743923187256, 0.0070522880554199216, 0.007104512214660645, 0.007188479900360107, 0.007104512214660645, 0.007161856174468994, 0.007128064155578613, 0.007067647933959961, 0.0070594558715820314, 0.00695091199874878, 0.007021567821502686, 0.007000031948089599, 0.006882304191589355, 0.006806528091430664, 0.006814720153808594, 0.006947840213775635, 0.006847487926483154, 0.0066713600158691405, 0.006604800224304199, 0.006678463935852051, 0.0068986878395080565, 0.006803391933441162, 0.006855679988861084, 0.006763519763946534, 0.00684438419342041, 0.006896639823913574, 0.006989823818206787, 0.006709248065948486, 0.006723616123199463, 0.006727744102478028, 0.0067573761940002445, 0.006900735855102539, 0.0067010560035705566, 0.006597631931304931, 0.006689792156219483, 0.006614016056060791, 0.006612991809844971, 0.006622208118438721, 0.006813695907592773, 0.006635519981384277, 0.0066744318008422855, 0.006654975891113281, 0.0066119680404663084, 0.006602752208709717, 0.0066744318008422855, 0.00661411190032959, 0.006608895778656006, 0.006624256134033203, 0.0066109437942504885, 0.006649792194366455, 0.0066406397819519045, 0.006575104236602783, 0.006643712043762207, 0.006593535900115967, 0.006603775978088379, 0.006636544227600098, 0.006626304149627686, 0.006615039825439453, 0.0066979842185974124, 0.006609920024871826, 0.0066304001808166506, 0.006625279903411865, 0.006615039825439453, 0.0065771517753601075, 0.006608895778656006, 0.006617087841033936, 0.00661513614654541, 0.0066713919639587406, 0.006609920024871826, 0.006608895778656006, 0.006652927875518798, 0.006604800224304199, 0.006625279903411865, 0.006632448196411133, 0.00662937593460083, 0.006692863941192627, 0.006657023906707763, 0.0067420158386230465, 0.006618112087249756, 0.006669312000274658, 0.0066344962120056155, 0.006626304149627686, 0.006731776237487793, 0.006737919807434082, 0.006752255916595459, 0.007402431964874267, 0.006774784088134766, 0.006662144184112549, 0.006626304149627686, 0.006768671989440918 ] }, "throughput": { "unit": "samples/s", "value": 145.74427805566634 }, "energy": { "unit": "kWh", "cpu": 7.763260308607125e-08, "ram": 4.2437114301291705e-08, "gpu": 1.4099684482352923e-07, "total": 2.610665622108922e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3830440.7563010305 } } } }