{ "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.721216, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "values": [ 0.21019442749023437 ], "count": 1, "total": 0.21019442749023437, "mean": 0.21019442749023437, "p50": 0.21019442749023437, "p90": 0.21019442749023437, "p95": 0.21019442749023437, "p99": 0.21019442749023437, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1079.62368, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.992512 }, "latency": { "unit": "s", "values": [ 0.005723072052001953, 0.005336063861846924, 0.005254144191741943, 0.005296031951904297, 0.005268479824066162, 0.005279744148254394, 0.005248000144958496, 0.005273600101470947, 0.005244927883148193, 0.005298175811767578, 0.0053012480735778805, 0.005486591815948487, 0.0055799040794372555, 0.005511168003082275, 0.005526527881622314, 0.005491775989532471, 0.005504992008209229, 0.005481472015380859, 0.005517248153686523, 0.00552243185043335, 0.005535711765289306, 0.005493760108947754, 0.005549056053161621, 0.0055552000999450684, 0.0057077760696411135, 0.005796864032745362, 0.005716032028198243, 0.005512191772460938, 0.005541888236999512, 0.005506048202514649, 0.005515168190002442, 0.005543935775756836, 0.005492735862731934, 0.005602303981781006, 0.005486591815948487, 0.0055121278762817385, 0.005518335819244385, 0.005464064121246338, 0.005559296131134033, 0.005485568046569824, 0.005518335819244385, 0.005493760108947754, 0.005480447769165039, 0.005478464126586914, 0.0056145920753479005, 0.00551526403427124, 0.005534719944000244, 0.00550707197189331, 0.005511168003082275, 0.005536640167236328, 0.005504000186920166, 0.005496831893920898, 0.005465087890625, 0.005497856140136719, 0.005512191772460938, 0.0054579200744628905, 0.005504000186920166, 0.0054702720642089845, 0.005485599994659424, 0.005455872058868408, 0.005486591815948487, 0.005438464164733887, 0.005516287803649903, 0.005487584114074707, 0.005496831893920898, 0.005477375984191894, 0.0054958400726318355, 0.005499904155731201, 0.005449728012084961, 0.005485568046569824, 0.005500927925109863, 0.005473279953002929, 0.005465087890625, 0.005472256183624268, 0.005488639831542969, 0.005473279953002929, 0.005464064121246338, 0.005466047763824463, 0.005508096218109131, 0.005413919925689697, 0.005483520030975342, 0.005455872058868408, 0.005477375984191894, 0.005499904155731201, 0.005537792205810547, 0.0055808000564575196, 0.005597184181213379, 0.005473279953002929, 0.005549056053161621, 0.005484543800354004, 0.005480447769165039, 0.005522463798522949, 0.005480447769165039, 0.005493760108947754, 0.00552243185043335, 0.005469183921813964, 0.00546611213684082, 0.005453824043273926, 0.005470208168029785, 0.005499904155731201, 0.005441535949707031, 0.005468160152435303, 0.005495808124542236, 0.005465087890625, 0.005541888236999512, 0.005433343887329102, 0.006277120113372803, 0.006393856048583985, 0.00643993616104126, 0.006378496170043945, 0.005582848072052002, 0.0056852478981018065, 0.005575679779052735, 0.00552345609664917, 0.005500927925109863, 0.005561376094818115, 0.005529600143432617, 0.00552243185043335, 0.005482495784759522, 0.005482495784759522, 0.005518303871154785, 0.005513216018676758, 0.005495808124542236, 0.00572108793258667, 0.005477375984191894, 0.005490752220153808, 0.005462016105651855, 0.0054282240867614745, 0.005484543800354004, 0.005419072151184082, 0.00541593599319458, 0.005447679996490478, 0.005434368133544922, 0.005419007778167725, 0.005391359806060791, 0.005398464202880859, 0.005472256183624268, 0.0053821439743042, 0.005412864208221436, 0.005486591815948487, 0.005429247856140137, 0.005399551868438721, 0.005430272102355957, 0.005402624130249023, 0.005429247856140137, 0.005414912223815918, 0.005417984008789062, 0.005432320117950439, 0.005409791946411133, 0.005420032024383545, 0.005449728012084961, 0.005422080039978027, 0.005436416149139404, 0.00541593599319458, 0.005422080039978027, 0.005451776027679443, 0.005400608062744141, 0.005602303981781006, 0.005567488193511963, 0.005395455837249756, 0.005410816192626953, 0.005405695915222168, 0.005431263923645019, 0.005419007778167725, 0.00546611213684082, 0.005449728012084961, 0.005455872058868408, 0.0054568958282470706, 0.005441535949707031, 0.005444608211517334, 0.005419007778167725, 0.005416959762573242, 0.005426176071166992, 0.005420032024383545, 0.0054098558425903324, 0.005413887977600097, 0.005468160152435303, 0.005434368133544922, 0.005402624130249023, 0.005413887977600097, 0.005454847812652588, 0.005399551868438721 ], "count": 182, "total": 1.0001018567085262, "mean": 0.005495065146750146, "p50": 0.005480447769165039, "p90": 0.005566876983642578, "p95": 0.005681715106964111, "p99": 0.006381414546966553, "stdev": 0.00015416794119327209, "stdev_": 2.8055707635140417 }, "throughput": { "unit": "samples/s", "value": 181.98146396706747 }, "energy": { "unit": "kWh", "cpu": 6.226902420738984e-08, "ram": 3.402604069878475e-08, "gpu": 1.217772934659722e-07, "total": 2.1807235837214678e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4585633.903648949 } } } }