{ "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_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": {}, "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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 908.357632, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 148, "total": 1.0002943978309633, "mean": 0.0067587459312902914, "stdev": 0.00043562922231685263, "p50": 0.0067645440101623535, "p90": 0.006954758262634277, "p95": 0.007115457773208619, "p99": 0.008922040643692017, "values": [ 0.009449407577514649, 0.008961024284362793, 0.008878080368041993, 0.008804351806640624, 0.007475200176239013, 0.0070348801612854, 0.0069324798583984375, 0.006829055786132812, 0.007030784130096435, 0.006801439762115479, 0.00677785587310791, 0.006898655891418457, 0.006785024166107178, 0.0067758078575134275, 0.006725632190704346, 0.00672870397567749, 0.006795263767242431, 0.007176095962524414, 0.007268352031707764, 0.006990848064422607, 0.006916096210479736, 0.006845439910888672, 0.006927296161651612, 0.006785024166107178, 0.006858751773834228, 0.006834176063537598, 0.007046048164367676, 0.006907904148101806, 0.006841184139251709, 0.006781951904296875, 0.0067358717918396, 0.0068249602317810056, 0.006803455829620361, 0.006797311782836914, 0.006841343879699707, 0.006785024166107178, 0.006633471965789795, 0.006694911956787109, 0.006792191982269287, 0.006729728221893311, 0.006706175804138184, 0.006989823818206787, 0.006750207901000976, 0.006968287944793701, 0.006822912216186523, 0.006846464157104492, 0.006806528091430664, 0.006806528091430664, 0.006858751773834228, 0.006761472225189209, 0.0067674560546875, 0.006814720153808594, 0.006831103801727295, 0.006842368125915528, 0.006788095951080322, 0.0067983360290527345, 0.006797311782836914, 0.006886367797851563, 0.006918144226074219, 0.006866943836212158, 0.006823935985565186, 0.006944896221160889, 0.006814720153808594, 0.006840320110321045, 0.006801407814025879, 0.0067645440101623535, 0.0067645440101623535, 0.006754303932189941, 0.00678604793548584, 0.0069489598274230955, 0.00688640022277832, 0.006818816184997558, 0.0070522880554199216, 0.007149472236633301, 0.006944767951965332, 0.006803455829620361, 0.006851583957672119, 0.006811647891998291, 0.006744063854217529, 0.006872064113616944, 0.006765567779541016, 0.0067645440101623535, 0.006554624080657959, 0.0065762557983398435, 0.006717440128326416, 0.006623231887817383, 0.006464384078979492, 0.0064133119583129885, 0.006617087841033936, 0.0065064959526062015, 0.006474751949310303, 0.006890495777130127, 0.006595583915710449, 0.006638591766357422, 0.006752255916595459, 0.006903808116912841, 0.006608895778656006, 0.006455296039581298, 0.00652185583114624, 0.006504447937011719, 0.006531136035919189, 0.0065474557876586915, 0.006500351905822754, 0.006524928092956543, 0.006478879928588867, 0.006398975849151611, 0.006651904106140137, 0.006661119937896728, 0.006478847980499268, 0.006461440086364746, 0.006449088096618653, 0.006452223777770996, 0.0064430079460144046, 0.006415359973907471, 0.006402048110961914, 0.006542143821716309, 0.006397952079772949, 0.0064245758056640625, 0.006401023864746094, 0.006411263942718506, 0.006384640216827392, 0.006339583873748779, 0.006377471923828125, 0.006486911773681641, 0.006782976150512696, 0.006922207832336426, 0.00648089599609375, 0.0064440321922302245, 0.0064306240081787105, 0.006415487766265869, 0.006392831802368164, 0.00647273588180542, 0.006411263942718506, 0.006457344055175781, 0.0063937602043151855, 0.0064471039772033695, 0.0064644479751586915, 0.0063836159706115725, 0.006429696083068847, 0.0064542717933654785, 0.006433792114257812, 0.006602752208709717, 0.0065924801826477055, 0.006446080207824707, 0.006411263942718506, 0.00637337589263916, 0.0064174079895019534, 0.006415359973907471 ] }, "throughput": { "unit": "samples/s", "value": 147.95644194441454 }, "energy": { "unit": "kWh", "cpu": 7.349243502558013e-08, "ram": 4.018104493988821e-08, "gpu": 1.3912219634568036e-07, "total": 2.527956763111487e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3955763.858750374 } } } }