{ "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.225-213.878.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.45.1", "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.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 803.282944, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "values": [ 0.2138060760498047 ], "count": 1, "total": 0.2138060760498047, "mean": 0.2138060760498047, "p50": 0.2138060760498047, "p90": 0.2138060760498047, "p95": 0.2138060760498047, "p99": 0.2138060760498047, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1079.1936, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.992512 }, "latency": { "unit": "s", "values": [ 0.006025216102600098, 0.005545887947082519, 0.0054271998405456545, 0.0053821439743042, 0.00537497615814209, 0.005449728012084961, 0.005571584224700928, 0.005626880168914795, 0.005534719944000244, 0.005458943843841553, 0.005561344146728516, 0.005472256183624268, 0.005601280212402344, 0.005540863990783691, 0.005481472015380859, 0.005470208168029785, 0.005359615802764893, 0.005462016105651855, 0.005526527881622314, 0.0055244798660278325, 0.005537792205810547, 0.005532671928405761, 0.005462880134582519, 0.005560319900512695, 0.005506048202514649, 0.005701632022857666, 0.005521344184875488, 0.005440512180328369, 0.005571584224700928, 0.005432320117950439, 0.005929984092712402, 0.005549056053161621, 0.005552031993865967, 0.005500927925109863, 0.005734399795532226, 0.0054241280555725096, 0.0055623679161071774, 0.005494783878326416, 0.005542912006378174, 0.005512191772460938, 0.005455872058868408, 0.005636096000671387, 0.005511168003082275, 0.005563392162322998, 0.00555622386932373, 0.005557248115539551, 0.005499807834625245, 0.005470208168029785, 0.005646336078643799, 0.005635072231292724, 0.0054784960746765135, 0.005486591815948487, 0.005480447769165039, 0.005469183921813964, 0.0055244798660278325, 0.005434368133544922, 0.005530623912811279, 0.005441535949707031, 0.005611423969268799, 0.005494783878326416, 0.0055808000564575196, 0.005545983791351319, 0.0054989118576049805, 0.005570559978485107, 0.005508096218109131, 0.005557216167449951, 0.005470208168029785, 0.005565440177917481, 0.005468160152435303, 0.005504000186920166, 0.005601280212402344, 0.005536767959594726, 0.005781504154205322, 0.005480447769165039, 0.005549056053161621, 0.005444608211517334, 0.005708799839019775, 0.005440351963043213, 0.0055552000999450684, 0.005496831893920898, 0.005547008037567139, 0.005451776027679443, 0.005525504112243652, 0.005486591815948487, 0.005509119987487793, 0.005540800094604492, 0.0054241280555725096, 0.005529600143432617, 0.005390336036682129, 0.005485568046569824, 0.00563097620010376, 0.005445631980895996, 0.005509119987487793, 0.005443520069122314, 0.005472256183624268, 0.005471231937408447, 0.005541888236999512, 0.005406720161437988, 0.005553152084350586, 0.005437439918518067, 0.005518335819244385, 0.005430272102355957, 0.005479423999786377, 0.005508096218109131, 0.005451615810394287, 0.005494783878326416, 0.005481503963470459, 0.0054876160621643065, 0.005618688106536865, 0.005489664077758789, 0.005615647792816162, 0.005657599925994873, 0.005535744190216065, 0.00558787202835083, 0.005569536209106446, 0.0057077760696411135, 0.005608448028564453, 0.005482495784759522, 0.005577727794647217, 0.0054876160621643065, 0.005582848072052002, 0.005505023956298828, 0.005496960163116455, 0.005478400230407715, 0.005496831893920898, 0.005475327968597412, 0.005517312049865723, 0.005452799797058106, 0.005421055793762207, 0.005499904155731201, 0.005431295871734619, 0.005540863990783691, 0.005512191772460938, 0.0056902399063110355, 0.005477375984191894, 0.005488639831542969, 0.005608448028564453, 0.005483520030975342, 0.005479423999786377, 0.005472256183624268, 0.005489664077758789, 0.005425151824951172, 0.005495808124542236, 0.005529600143432617, 0.005569536209106446, 0.005486591815948487, 0.005511168003082275, 0.0055797119140625, 0.005434368133544922, 0.005448703765869141, 0.005577727794647217, 0.005340159893035889, 0.0055797758102417, 0.005447679996490478, 0.005742591857910156, 0.005526432037353516, 0.005453824043273926, 0.005494783878326416, 0.005399551868438721, 0.0053309440612792965, 0.00537395191192627, 0.005295104026794434, 0.005346303939819336, 0.0053678078651428224, 0.005513055801391602, 0.005444608211517334, 0.0055203838348388675, 0.005412864208221436, 0.0057496318817138676, 0.005442560195922852, 0.005465087890625, 0.005489664077758789, 0.005397568225860596, 0.005481472015380859, 0.005426176071166992, 0.005461952209472656, 0.005396480083465576, 0.005527552127838135, 0.005446656227111817, 0.0055337600708007815, 0.005478400230407715 ], "count": 181, "total": 0.9979531869888306, "mean": 0.005513553519275307, "p50": 0.0054989118576049805, "p90": 0.005611423969268799, "p95": 0.0056902399063110355, "p99": 0.005811200141906736, "stdev": 9.357337003198448e-05, "stdev_": 1.6971517498624669 }, "throughput": { "unit": "samples/s", "value": 181.37123299955533 }, "energy": { "unit": "kWh", "cpu": 6.421539752626405e-08, "ram": 3.509055295709228e-08, "gpu": 1.210256223459479e-07, "total": 2.203315728293042e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4538614.176619719 } } } }