{ "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 }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 804.593664, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "values": [ 0.21126348876953124 ], "count": 1, "total": 0.21126348876953124, "mean": 0.21126348876953124, "p50": 0.21126348876953124, "p90": 0.21126348876953124, "p95": 0.21126348876953124, "p99": 0.21126348876953124, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1080.528896, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.992512 }, "latency": { "unit": "s", "values": [ 0.005938176155090332, 0.005616640090942383, 0.005670911788940429, 0.005608448028564453, 0.005597184181213379, 0.0056145920753479005, 0.005601280212402344, 0.005593088150024414, 0.00556441593170166, 0.00552345609664917, 0.005567488193511963, 0.005545983791351319, 0.005594111919403076, 0.005559296131134033, 0.005570559978485107, 0.005516287803649903, 0.005422080039978027, 0.005436416149139404, 0.005426112174987793, 0.0054917120933532714, 0.0055203838348388675, 0.0055071358680725095, 0.005536767959594726, 0.005545983791351319, 0.005548031806945801, 0.005578752040863037, 0.005507040023803711, 0.0055285758972167965, 0.0056063680648803715, 0.005611519813537597, 0.005605375766754151, 0.005571584224700928, 0.005592000007629394, 0.005602367877960205, 0.005548031806945801, 0.005506048202514649, 0.005497856140136719, 0.005564352035522461, 0.005623807907104492, 0.005574656009674072, 0.005792768001556397, 0.006048768043518066, 0.005856256008148194, 0.005806079864501953, 0.006034431934356689, 0.0057292799949646, 0.006374464035034179, 0.006649856090545654, 0.00591974401473999, 0.005792768001556397, 0.005911551952362061, 0.0058787841796875, 0.006136832237243653, 0.005794816017150879, 0.005831679821014404, 0.005812255859375, 0.005808127880096436, 0.005754879951477051, 0.005795839786529541, 0.005735424041748047, 0.005784575939178467, 0.005793791770935058, 0.00586240005493164, 0.005879871845245362, 0.005913599967956543, 0.005876736164093017, 0.005844992160797119, 0.005860288143157959, 0.005835775852203369, 0.00578656005859375, 0.005758975982666016, 0.005838880062103272, 0.0058767681121826175, 0.005747712135314941, 0.005649407863616943, 0.005781439781188965, 0.005766143798828125, 0.005691359996795655, 0.005745664119720459, 0.005653503894805908, 0.005509119987487793, 0.005569536209106446, 0.0057149438858032225, 0.005645311832427978, 0.005455872058868408, 0.005406720161437988, 0.005408768177032471, 0.005441535949707031, 0.005505023956298828, 0.005509119987487793, 0.0057077760696411135, 0.005713920116424561, 0.005725183963775635, 0.005746687889099121, 0.005790719985961914, 0.005874688148498535, 0.005706751823425293, 0.005642240047454834, 0.0055808000564575196, 0.005533696174621582, 0.00550707197189331, 0.005478400230407715, 0.00553984022140503, 0.005473279953002929, 0.005483520030975342, 0.005468160152435303, 0.005431295871734619, 0.0054241280555725096, 0.005501952171325684, 0.005536767959594726, 0.005450751781463623, 0.005385216236114502, 0.005430272102355957, 0.005445631980895996, 0.0054282240867614745, 0.005432320117950439, 0.005433343887329102, 0.005410816192626953, 0.005447679996490478, 0.005445631980895996, 0.005433375835418701, 0.005455872058868408, 0.005409791946411133, 0.005416959762573242, 0.005436416149139404, 0.005394400119781494, 0.00542310380935669, 0.005398528099060058, 0.0054282240867614745, 0.005434368133544922, 0.005443583965301513, 0.005432320117950439, 0.005480447769165039, 0.005402624130249023, 0.005416959762573242, 0.005431295871734619, 0.005400576114654541, 0.005396480083465576, 0.005426176071166992, 0.005388288021087646, 0.005439487934112549, 0.005475327968597412, 0.005404672145843506, 0.005399551868438721, 0.005387263774871826, 0.005372928142547607, 0.00541593599319458, 0.005469183921813964, 0.00541593599319458, 0.005387231826782226, 0.0054241280555725096, 0.005409791946411133, 0.005417984008789062, 0.005387263774871826, 0.005420032024383545, 0.005417984008789062, 0.005384191989898681, 0.005442560195922852, 0.005388288021087646, 0.005401599884033203, 0.0053944320678710935, 0.0053862080574035645, 0.0054241280555725096, 0.005429247856140137, 0.005387263774871826, 0.0053944320678710935, 0.005429183959960938, 0.005380095958709717, 0.0053944320678710935, 0.005414912223815918, 0.005402624130249023, 0.005406720161437988, 0.005386240005493164, 0.005352447986602784, 0.005391359806060791, 0.005380095958709717, 0.005400576114654541, 0.005426176071166992, 0.0053975038528442385 ], "count": 179, "total": 0.9976798725128171, "mean": 0.005573630572697303, "p50": 0.0055071358680725095, "p90": 0.005840102481842041, "p95": 0.0058830398559570314, "p99": 0.006189111232757568, "stdev": 0.00019922421656207878, "stdev_": 3.5744065553606688 }, "throughput": { "unit": "samples/s", "value": 179.41626861646483 }, "energy": { "unit": "kWh", "cpu": 6.276433342886227e-08, "ram": 3.429230410965139e-08, "gpu": 1.2237664111110757e-07, "total": 2.194332786496212e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4557193.90492608 } } } }