{ "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": 903.729152, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 136, "total": 0.9990870399475097, "mean": 0.00734622823490816, "stdev": 0.00015662965204154097, "p50": 0.007331840038299561, "p90": 0.007432703971862793, "p95": 0.007542784094810486, "p99": 0.007982438230514527, "values": [ 0.00820633602142334, 0.007872511863708496, 0.007989247798919678, 0.0076277761459350585, 0.00753766393661499, 0.007513088226318359, 0.00753868818283081, 0.007468031883239746, 0.007605247974395752, 0.007476223945617676, 0.007969791889190675, 0.007170048236846924, 0.0070522880554199216, 0.007321599960327148, 0.007427072048187256, 0.007384064197540283, 0.007331840038299561, 0.007516160011291504, 0.007326720237731933, 0.007427040100097656, 0.007288832187652588, 0.007336959838867187, 0.007290880203247071, 0.007327744007110596, 0.007367680072784424, 0.00728985595703125, 0.007377920150756836, 0.007344128131866455, 0.007293951988220215, 0.007370751857757568, 0.007303167819976806, 0.007385087966918945, 0.007372799873352051, 0.007415808200836181, 0.007393280029296875, 0.007291903972625732, 0.007337984085083008, 0.007342080116271973, 0.007555071830749512, 0.0073471360206604, 0.00733292818069458, 0.00733081579208374, 0.007354368209838867, 0.007296000003814697, 0.007427072048187256, 0.007432191848754883, 0.0074290881156921385, 0.007361536026000977, 0.007301119804382325, 0.007324672222137451, 0.0073134078979492185, 0.007312384128570557, 0.007345151901245117, 0.0072724480628967286, 0.007360511779785156, 0.007327744007110596, 0.007352320194244385, 0.0073994240760803225, 0.007313439846038819, 0.007361536026000977, 0.007360511779785156, 0.00722431993484497, 0.00742195177078247, 0.007362559795379638, 0.0074332160949707035, 0.0073051519393920895, 0.0070522880554199216, 0.0069959678649902345, 0.007079936027526855, 0.007113664150238037, 0.007051263809204102, 0.0069847040176391605, 0.0070256638526916505, 0.007065599918365479, 0.0070594558715820314, 0.007216127872467041, 0.00734822416305542, 0.00738099193572998, 0.007371776103973389, 0.007412735939025879, 0.0074035201072692874, 0.007420928001403809, 0.007350272178649903, 0.007310336112976074, 0.007362559795379638, 0.0073400321006774905, 0.007352320194244385, 0.007332863807678222, 0.007346176147460938, 0.007307263851165771, 0.007336959838867187, 0.007279615879058838, 0.00729702377319336, 0.007291903972625732, 0.007303167819976806, 0.007296000003814697, 0.007302144050598145, 0.007303167819976806, 0.007356416225433349, 0.007308288097381592, 0.00739737606048584, 0.007333888053894043, 0.007337984085083008, 0.007304192066192627, 0.007346176147460938, 0.007300096035003662, 0.007301119804382325, 0.007278592109680176, 0.007300096035003662, 0.00729804801940918, 0.007392255783081054, 0.007331840038299561, 0.007310336112976074, 0.007275519847869873, 0.007320576190948487, 0.007388160228729248, 0.007331840038299561, 0.007296000003814697, 0.0073175039291381834, 0.007316480159759522, 0.007324672222137451, 0.00729702377319336, 0.007328767776489258, 0.007307263851165771, 0.007234560012817383, 0.007287807941436767, 0.007328767776489258, 0.007299071788787842, 0.007349311828613281, 0.007312384128570557, 0.007350304126739502, 0.007296031951904297, 0.007326720237731933, 0.00729804801940918, 0.007323616027832032, 0.007334911823272705 ] }, "throughput": { "unit": "samples/s", "value": 136.12427602618607 }, "energy": { "unit": "kWh", "cpu": 8.268690564566189e-08, "ram": 4.520817505476126e-08, "gpu": 1.475251951805536e-07, "total": 2.7542027588097674e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3630814.749572582 } } } }