{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.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.2", "transformers_commit": null, "accelerate_version": "0.34.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 789.876736, "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.39789208984375, "mean": 7.39789208984375, "stdev": 0.0, "p50": 7.39789208984375, "p90": 7.39789208984375, "p95": 7.39789208984375, "p99": 7.39789208984375, "values": [ 7.39789208984375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0540141784716186e-06, "ram": 5.620399308193698e-07, "gpu": 1.548334571999533e-06, "total": 3.1643886812905214e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1080.147968, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 147, "total": 1.0016040959358214, "mean": 0.00681363330568586, "stdev": 0.00029985789848596846, "p50": 0.0068137598037719726, "p90": 0.007223091125488281, "p95": 0.00730844783782959, "p99": 0.00744206350326538, "values": [ 0.007506944179534912, 0.00740556812286377, 0.00733900785446167, 0.007394303798675537, 0.0073870720863342286, 0.007334911823272705, 0.00722431993484497, 0.0072130560874938965, 0.007144447803497315, 0.007178175926208496, 0.007200767993927002, 0.007166975975036621, 0.007151616096496582, 0.007080959796905518, 0.007172095775604248, 0.007163968086242676, 0.00714137601852417, 0.007231488227844239, 0.007193600177764893, 0.007222271919250488, 0.007322559833526612, 0.007168000221252442, 0.007250944137573242, 0.007196671962738037, 0.0072551040649414065, 0.007275519847869873, 0.007169023990631103, 0.007204864025115967, 0.007138304233551026, 0.007113728046417236, 0.007189504146575928, 0.007156735897064209, 0.006952960014343262, 0.0067870721817016606, 0.006809599876403808, 0.006810624122619629, 0.0067983360290527345, 0.006810624122619629, 0.00682700777053833, 0.006796288013458252, 0.006799359798431396, 0.006872064113616944, 0.006895616054534912, 0.0068249602317810056, 0.006852640151977539, 0.006864895820617676, 0.006840320110321045, 0.0067870721817016606, 0.006833151817321777, 0.006920191764831543, 0.006875135898590088, 0.006830080032348633, 0.006854656219482422, 0.00683622407913208, 0.006747136116027832, 0.006812672138214112, 0.006819839954376221, 0.006788095951080322, 0.006860799789428711, 0.006834176063537598, 0.006765567779541016, 0.00677785587310791, 0.006817791938781738, 0.006822912216186523, 0.006825984001159668, 0.006799359798431396, 0.006842368125915528, 0.006884352207183838, 0.0068986878395080565, 0.006922239780426025, 0.006918144226074219, 0.006904863834381104, 0.00683622407913208, 0.0069212160110473635, 0.00687820816040039, 0.0067870721817016606, 0.0067717118263244626, 0.006887423992156983, 0.006756351947784424, 0.006749152183532715, 0.006703104019165039, 0.006572000026702881, 0.006718527793884277, 0.006782976150512696, 0.006564864158630371, 0.0064849920272827145, 0.006546432018280029, 0.0065413122177124024, 0.007473152160644531, 0.007110655784606934, 0.007147520065307617, 0.007137279987335205, 0.007232480049133301, 0.007270400047302246, 0.006969344139099121, 0.006847519874572754, 0.00679423999786377, 0.006903808116912841, 0.006849535942077637, 0.006603775978088379, 0.006403071880340576, 0.00637337589263916, 0.006393856048583985, 0.00638259220123291, 0.006379519939422608, 0.006372352123260498, 0.0064174079895019534, 0.006466559886932373, 0.006472703933715821, 0.006487040042877197, 0.0064849920272827145, 0.006465536117553711, 0.006487040042877197, 0.0064542717933654785, 0.006450175762176514, 0.006453248023986816, 0.0064358081817626955, 0.006462463855743408, 0.006451200008392334, 0.006453248023986816, 0.00643891191482544, 0.0064430079460144046, 0.006481919765472412, 0.006461440086364746, 0.0064245758056640625, 0.006377471923828125, 0.006362112045288086, 0.0064133119583129885, 0.006409215927124024, 0.006452223777770996, 0.0068137598037719726, 0.006564864158630371, 0.006499360084533692, 0.006510591983795166, 0.006586368083953857, 0.007047167778015137, 0.006782976150512696, 0.006642623901367188, 0.006560768127441406, 0.0064880638122558594, 0.006453248023986816, 0.006469632148742676, 0.0064767999649047855, 0.00643993616104126, 0.00652288007736206, 0.006642687797546387, 0.006434815883636475 ] }, "throughput": { "unit": "samples/s", "value": 146.76457554085238 }, "energy": { "unit": "kWh", "cpu": 7.701565171807346e-08, "ram": 4.210099103290548e-08, "gpu": 1.325379848181779e-07, "total": 2.5165462756915686e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3973700.0255446974 } } } }