{ "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.224-212.876.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.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 799.154176, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 8.05565869140625, "mean": 8.05565869140625, "stdev": 0.0, "p50": 8.05565869140625, "p90": 8.05565869140625, "p95": 8.05565869140625, "p99": 8.05565869140625, "values": [ 8.05565869140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.564980624303972e-06, "ram": 1.3854681527556442e-06, "gpu": 3.4158360660008213e-06, "total": 7.366284843060438e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1089.560576, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 142, "total": 0.9969755215644837, "mean": 0.007020954377214674, "stdev": 0.0004240682645778327, "p50": 0.007259648084640503, "p90": 0.007352214574813843, "p95": 0.007389746975898742, "p99": 0.007676790509223938, "values": [ 0.0077506561279296875, 0.007390207767486572, 0.007320576190948487, 0.007351263999938965, 0.007315455913543701, 0.00729702377319336, 0.007308288097381592, 0.0073359360694885255, 0.00728166389465332, 0.007308288097381592, 0.0072765440940856935, 0.007570496082305908, 0.007318528175354004, 0.007267327785491944, 0.00716703987121582, 0.007223296165466309, 0.007261184215545655, 0.00728985595703125, 0.007352320194244385, 0.007327807903289795, 0.007296000003814697, 0.00744652795791626, 0.007373824119567871, 0.0072724480628967286, 0.007288832187652588, 0.007310336112976074, 0.007293951988220215, 0.007325695991516113, 0.007337984085083008, 0.007319551944732666, 0.007322559833526612, 0.0073175039291381834, 0.007327744007110596, 0.007292928218841553, 0.007319551944732666, 0.007265279769897461, 0.007203807830810547, 0.007213024139404297, 0.007221248149871826, 0.007231488227844239, 0.0072325119972229, 0.007231488227844239, 0.007216127872467041, 0.007243775844573975, 0.007258111953735351, 0.00733081579208374, 0.0073134078979492185, 0.007323647975921631, 0.007314432144165039, 0.0073062400817871095, 0.00719974422454834, 0.007278592109680176, 0.007333888053894043, 0.007341055870056152, 0.007259136199951172, 0.0073431038856506346, 0.0073134078979492185, 0.0073062400817871095, 0.007233535766601563, 0.007354368209838867, 0.007269375801086426, 0.007312448024749756, 0.007322624206542969, 0.007377920150756836, 0.007321599960327148, 0.007305215835571289, 0.007260159969329834, 0.00728166389465332, 0.007216127872467041, 0.00725497579574585, 0.0073021121025085445, 0.007394336223602295, 0.007375872135162354, 0.007358463764190673, 0.007291903972625732, 0.00738099193572998, 0.007303167819976806, 0.007292928218841553, 0.00728166389465332, 0.007189504146575928, 0.007208960056304932, 0.0073431038856506346, 0.007175168037414551, 0.007178239822387696, 0.00704915189743042, 0.007041024208068848, 0.007274496078491211, 0.007076863765716553, 0.006915071964263916, 0.006906879901885986, 0.007090176105499267, 0.007194623947143554, 0.00727347183227539, 0.007252992153167725, 0.007292928218841553, 0.007325695991516113, 0.007401472091674805, 0.007475200176239013, 0.007855103969573975, 0.00679423999786377, 0.0064133119583129885, 0.006467584133148193, 0.0064440321922302245, 0.006402048110961914, 0.0064440321922302245, 0.006376448154449463, 0.006456319808959961, 0.006412288188934326, 0.006408192157745361, 0.006401023864746094, 0.006343679904937744, 0.006379519939422608, 0.006393856048583985, 0.006364160060882569, 0.006453248023986816, 0.0063610877990722655, 0.006359007835388184, 0.006384640216827392, 0.0063805441856384275, 0.006402048110961914, 0.006370304107666015, 0.006375423908233643, 0.006388735771179199, 0.006354944229125976, 0.00637337589263916, 0.006345727920532227, 0.006354879856109619, 0.006362112045288086, 0.006338560104370118, 0.006370304107666015, 0.006346752166748047, 0.006401023864746094, 0.006392831802368164, 0.006368256092071533, 0.006360095977783203, 0.006330368041992188, 0.006397952079772949, 0.006428671836853027, 0.006446080207824707, 0.006415359973907471, 0.006396927833557129, 0.006364160060882569 ] }, "throughput": { "unit": "samples/s", "value": 142.43077881909213 }, "energy": { "unit": "kWh", "cpu": 7.706772947330771e-08, "ram": 4.2111199652994844e-08, "gpu": 1.446159165584352e-07, "total": 2.6379484568473774e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3790824.6364870374 } } } }