{ "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-212.873.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.2", "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.8896, "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.41445947265625, "mean": 7.41445947265625, "stdev": 0.0, "p50": 7.41445947265625, "p90": 7.41445947265625, "p95": 7.41445947265625, "p99": 7.41445947265625, "values": [ 7.41445947265625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.1011518138891872e-06, "ram": 5.864409744087444e-07, "gpu": 1.8866681759993273e-06, "total": 3.5742609642972587e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1078.038528, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 140, "total": 0.9995304670333861, "mean": 0.00713950333595276, "stdev": 0.0002608564179531023, "p50": 0.007081472158432007, "p90": 0.0074181633949279785, "p95": 0.007638425803184508, "p99": 0.007866941447257995, "values": [ 0.007074816226959229, 0.006986752033233643, 0.0069928960800170895, 0.006927360057830811, 0.006963168144226074, 0.00695091199874878, 0.006952960014343262, 0.007030784130096435, 0.007122943878173828, 0.006927360057830811, 0.006912000179290771, 0.007057407855987549, 0.0069027838706970214, 0.007223296165466309, 0.007323647975921631, 0.007345151901245117, 0.007244800090789795, 0.007332863807678222, 0.007699456214904785, 0.007905280113220215, 0.00734822416305542, 0.007357439994812012, 0.007282688140869141, 0.007417856216430664, 0.007806975841522217, 0.007333888053894043, 0.007375872135162354, 0.0073359360694885255, 0.007370751857757568, 0.007337984085083008, 0.007321599960327148, 0.007344128131866455, 0.007374847888946533, 0.007312384128570557, 0.007286784172058106, 0.007226367950439453, 0.007247871875762939, 0.007270400047302246, 0.007635968208312988, 0.007327744007110596, 0.007365632057189942, 0.007333888053894043, 0.00738918399810791, 0.007420928001403809, 0.007346176147460938, 0.0074035201072692874, 0.007333888053894043, 0.007315455913543701, 0.007293951988220215, 0.007426047801971435, 0.007494656085968018, 0.007278592109680176, 0.007685120105743408, 0.0073359360694885255, 0.006854656219482422, 0.006856704235076904, 0.006876160144805908, 0.006879263877868652, 0.006969344139099121, 0.006937600135803222, 0.006808576107025147, 0.00760422420501709, 0.007311359882354736, 0.007431168079376221, 0.007930880069732665, 0.007372799873352051, 0.0076871681213378906, 0.007300096035003662, 0.007404543876647949, 0.007412735939025879, 0.0073820161819458, 0.006977536201477051, 0.006964223861694336, 0.007486464023590088, 0.007778304100036621, 0.007356416225433349, 0.0072540159225463864, 0.0073471999168395995, 0.00722431993484497, 0.007230463981628418, 0.007277567863464355, 0.007223296165466309, 0.0071823358535766605, 0.007201791763305664, 0.00698367977142334, 0.006873087882995605, 0.006874112129211426, 0.006914048194885254, 0.007207935810089112, 0.007088128089904785, 0.007051263809204102, 0.007110655784606934, 0.0072724480628967286, 0.00727347183227539, 0.006960127830505371, 0.007201759815216064, 0.006916096210479736, 0.006918144226074219, 0.006892608165740967, 0.006927360057830811, 0.0069632000923156735, 0.006948863983154297, 0.006894591808319092, 0.006919167995452881, 0.006937600135803222, 0.006912000179290771, 0.006864895820617676, 0.00688428783416748, 0.006854656219482422, 0.006842368125915528, 0.007187456130981445, 0.006871039867401123, 0.006860799789428711, 0.00683622407913208, 0.006831103801727295, 0.00689356803894043, 0.006889472007751465, 0.006944767951965332, 0.00688640022277832, 0.006866943836212158, 0.0068577280044555666, 0.006883327960968018, 0.006890495777130127, 0.006890495777130127, 0.006871039867401123, 0.00704307222366333, 0.007062528133392334, 0.006875135898590088, 0.006849535942077637, 0.006854656219482422, 0.006872064113616944, 0.006874112129211426, 0.006858751773834228, 0.0068915200233459475, 0.006895616054534912, 0.006863872051239014, 0.006889472007751465, 0.006884352207183838, 0.006884352207183838, 0.006845439910888672 ] }, "throughput": { "unit": "samples/s", "value": 140.0657654943936 }, "energy": { "unit": "kWh", "cpu": 8.022937404279154e-08, "ram": 4.386627656889006e-08, "gpu": 1.638176986216245e-07, "total": 2.8791334923330613e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3473267.226625416 } } } }