{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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.223-211.872.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.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 788.258816, "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.4203125, "mean": 7.4203125, "stdev": 0.0, "p50": 7.4203125, "p90": 7.4203125, "p95": 7.4203125, "p99": 7.4203125, "values": [ 7.4203125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0583059229168395e-06, "ram": 5.64437860551315e-07, "gpu": 1.7930569899998923e-06, "total": 3.4158007734680464e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1077.379072, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 147, "total": 0.9961810245513915, "mean": 0.006776741663614909, "stdev": 0.00026267472365395285, "p50": 0.0068055038452148435, "p90": 0.007064985752105713, "p95": 0.007154380750656128, "p99": 0.007489863710403441, "values": [ 0.007278592109680176, 0.00709939193725586, 0.007015423774719238, 0.006975488185882568, 0.0069324798583984375, 0.006938623905181885, 0.0069632000923156735, 0.006939648151397705, 0.006908927917480469, 0.006897664070129395, 0.006897664070129395, 0.006919167995452881, 0.006815743923187256, 0.0067645440101623535, 0.0069202561378479, 0.006825984001159668, 0.006800384044647217, 0.006968319892883301, 0.006880256175994873, 0.006815743923187256, 0.006852608203887939, 0.006817791938781738, 0.006764575958251953, 0.006797311782836914, 0.006905856132507324, 0.0068689918518066405, 0.0067870721817016606, 0.006853631973266602, 0.00688640022277832, 0.006790143966674805, 0.0067870721817016606, 0.006847487926483154, 0.006850560188293457, 0.006802432060241699, 0.006779903888702392, 0.00672054386138916, 0.0067123198509216305, 0.006737919807434082, 0.006774784088134766, 0.00684441614151001, 0.006782976150512696, 0.006778880119323731, 0.006830080032348633, 0.006841343879699707, 0.0068351998329162595, 0.006865920066833496, 0.006893504142761231, 0.006811647891998291, 0.006815743923187256, 0.006801407814025879, 0.006847487926483154, 0.006823935985565186, 0.006823935985565186, 0.006854623794555664, 0.006823935985565186, 0.006780928134918213, 0.006750207901000976, 0.006803455829620361, 0.006750207901000976, 0.006822912216186523, 0.006964223861694336, 0.006732831954956055, 0.00678604793548584, 0.0068055038452148435, 0.006810624122619629, 0.006854656219482422, 0.007128064155578613, 0.007031807899475098, 0.006838272094726563, 0.006872128009796143, 0.00692633581161499, 0.007418816089630127, 0.007160831928253173, 0.007098368167877197, 0.007812096118927002, 0.007540736198425293, 0.007073791980743408, 0.007068672180175781, 0.007139328002929687, 0.006985727787017822, 0.006960127830505371, 0.007058432102203369, 0.0068884482383728025, 0.0070553598403930665, 0.0072468481063842774, 0.006948863983154297, 0.0067420158386230465, 0.006676479816436768, 0.006713344097137451, 0.006917119979858399, 0.007006271839141846, 0.007062528133392334, 0.0070430078506469726, 0.007025728225708008, 0.007073791980743408, 0.007363584041595459, 0.0070522880554199216, 0.006889472007751465, 0.0074301438331604, 0.006728640079498291, 0.00653107213973999, 0.00651475191116333, 0.006461440086364746, 0.006556672096252441, 0.0067358717918396, 0.006614016056060791, 0.006616096019744873, 0.00667852783203125, 0.006658048152923584, 0.006519807815551758, 0.00648095989227295, 0.00643071985244751, 0.006457344055175781, 0.006432767868041992, 0.006471648216247559, 0.006461376190185547, 0.006440959930419922, 0.006471680164337158, 0.006453248023986816, 0.006419456005096436, 0.006427648067474365, 0.006408192157745361, 0.0064245758056640625, 0.006451200008392334, 0.006433792114257812, 0.006449151992797852, 0.006437920093536377, 0.006432767868041992, 0.006425600051879882, 0.006379519939422608, 0.006439871788024902, 0.006475776195526123, 0.006386688232421875, 0.00643071985244751, 0.006400000095367431, 0.006468607902526856, 0.00643891191482544, 0.006407167911529541, 0.0064430079460144046, 0.006437888145446777, 0.006418432235717773, 0.00643993616104126, 0.006412288188934326, 0.006426623821258545, 0.006605823993682861, 0.006408127784729004, 0.006455296039581298 ] }, "throughput": { "unit": "samples/s", "value": 147.5635415422596 }, "energy": { "unit": "kWh", "cpu": 7.614767272969926e-08, "ram": 4.1609645751937626e-08, "gpu": 1.5461728893589906e-07, "total": 2.723746074175359e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3671414.1948887794 } } } }