{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cu121", "_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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 764.690432, "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.4639306640625, "mean": 7.4639306640625, "stdev": 0.0, "p50": 7.4639306640625, "p90": 7.4639306640625, "p95": 7.4639306640625, "p99": 7.4639306640625, "values": [ 7.4639306640625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0541516187494438e-06, "ram": 5.621382218018841e-07, "gpu": 1.557223467999868e-06, "total": 3.173513308551196e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 957.792256, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 154, "total": 0.9972991976737977, "mean": 0.00647596881606362, "stdev": 0.00017864928256275443, "p50": 0.006453248023986816, "p90": 0.006775500631332398, "p95": 0.006876979351043701, "p99": 0.006927875094413757, "values": [ 0.006936575889587402, 0.0069283838272094726, 0.006887423992156983, 0.00692742395401001, 0.0069110398292541505, 0.006905856132507324, 0.006859776020050049, 0.006818816184997558, 0.0068689918518066405, 0.006834176063537598, 0.006874112129211426, 0.006882304191589355, 0.006909952163696289, 0.006797311782836914, 0.006724607944488525, 0.0067983360290527345, 0.006816768169403077, 0.0066007041931152345, 0.006621183872222901, 0.006636544227600098, 0.006615039825439453, 0.006559711933135986, 0.006560768127441406, 0.006536191940307618, 0.006655968189239502, 0.006649856090545654, 0.0065782079696655275, 0.006618112087249756, 0.00658739185333252, 0.006563839912414551, 0.006587456226348877, 0.006599679946899414, 0.0065474557876586915, 0.006603775978088379, 0.006590464115142822, 0.00653926420211792, 0.006486015796661377, 0.006504447937011719, 0.0064880638122558594, 0.006426623821258545, 0.006191103935241699, 0.006221824169158936, 0.006210559844970703, 0.006188032150268555, 0.00620851182937622, 0.0061931519508361815, 0.006212607860565185, 0.006184959888458252, 0.006210559844970703, 0.006200319766998291, 0.0062228479385375976, 0.006200319766998291, 0.006210559844970703, 0.006201344013214111, 0.006201344013214111, 0.006211616039276123, 0.006207488059997559, 0.006239232063293457, 0.006196224212646485, 0.006254591941833496, 0.006211584091186524, 0.00618393611907959, 0.006218751907348633, 0.00619001579284668, 0.006239200115203857, 0.006198272228240966, 0.006457344055175781, 0.006463488101959228, 0.006440959930419922, 0.006449151992797852, 0.006441984176635742, 0.0064839677810668945, 0.006490111827850342, 0.006453248023986816, 0.006469696044921875, 0.006460447788238525, 0.006474751949310303, 0.0064542717933654785, 0.006449151992797852, 0.0064624958038330075, 0.006466559886932373, 0.006437888145446777, 0.006462463855743408, 0.006462463855743408, 0.006434815883636475, 0.0064460477828979495, 0.00642252779006958, 0.006423488140106202, 0.006432767868041992, 0.006427648067474365, 0.006489088058471679, 0.00653107213973999, 0.0064767999649047855, 0.006437888145446777, 0.006434815883636475, 0.006467584133148193, 0.006428607940673828, 0.00643071985244751, 0.006428671836853027, 0.006432767868041992, 0.0065136637687683106, 0.006458367824554443, 0.006437888145446777, 0.006481919765472412, 0.0065372161865234375, 0.0064102401733398436, 0.006536191940307618, 0.006415359973907471, 0.0064204797744750975, 0.006456319808959961, 0.006411263942718506, 0.006475776195526123, 0.006465536117553711, 0.00643071985244751, 0.006469632148742676, 0.0064204797744750975, 0.006453248023986816, 0.006455296039581298, 0.006429696083068847, 0.0064471039772033695, 0.006481919765472412, 0.00643993616104126, 0.006459328174591064, 0.006427648067474365, 0.006458367824554443, 0.006440959930419922, 0.006426623821258545, 0.006436863899230957, 0.006437888145446777, 0.0064951682090759275, 0.006471680164337158, 0.006441984176635742, 0.006472703933715821, 0.006441984176635742, 0.0064440321922302245, 0.0064778242111206055, 0.006429696083068847, 0.006471680164337158, 0.006435840129852295, 0.00642252779006958, 0.0064471039772033695, 0.006419456005096436, 0.006436895847320556, 0.0064440321922302245, 0.006434815883636475, 0.006453248023986816, 0.006453248023986816, 0.0064512319564819336, 0.006436863899230957, 0.006456319808959961, 0.006453248023986816, 0.006421504020690918, 0.006496255874633789, 0.006680575847625733 ] }, "throughput": { "unit": "samples/s", "value": 154.41704992764994 }, "energy": { "unit": "kWh", "cpu": 7.68224445295709e-08, "ram": 4.200134707484013e-08, "gpu": 1.3543917645161068e-07, "total": 2.542629680560217e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3932936.0765570477 } } } }