{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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.285632, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 719.712256, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.12939306640625, "mean": 7.12939306640625, "stdev": 0.0, "p50": 7.12939306640625, "p90": 7.12939306640625, "p95": 7.12939306640625, "p99": 7.12939306640625, "values": [ 7.12939306640625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.957498603396946e-07, "ram": 4.7512218275642224e-07, "gpu": 1.6911124639997638e-06, "total": 3.0619845070958806e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 919.535616, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 143, "total": 1.0019736938476564, "mean": 0.007006809047885709, "stdev": 0.00024457751028164826, "p50": 0.006862847805023193, "p90": 0.007320576190948487, "p95": 0.007455510520935059, "p99": 0.007691837444305422, "values": [ 0.0077916159629821775, 0.007460832118988037, 0.00753868818283081, 0.007507967948913574, 0.007554048061370849, 0.007929855823516846, 0.007229440212249756, 0.006930431842803955, 0.006814720153808594, 0.006822912216186523, 0.006830080032348633, 0.006779903888702392, 0.006865888118743896, 0.006871039867401123, 0.0068853759765625, 0.006847487926483154, 0.006795263767242431, 0.006798367977142334, 0.006790143966674805, 0.006807551860809326, 0.006801407814025879, 0.006799359798431396, 0.006850527763366699, 0.006871039867401123, 0.006849535942077637, 0.0067758078575134275, 0.00679423999786377, 0.006793216228485107, 0.006793216228485107, 0.006788064002990723, 0.0067758078575134275, 0.006788095951080322, 0.006776832103729248, 0.006854656219482422, 0.006860832214355469, 0.006880256175994873, 0.006852608203887939, 0.006859839916229248, 0.006884352207183838, 0.006843391895294189, 0.0069253120422363285, 0.006855679988861084, 0.0068689918518066405, 0.00684441614151001, 0.006862847805023193, 0.006843391895294189, 0.006802432060241699, 0.006754303932189941, 0.006766592025756836, 0.006783999919891357, 0.0067348480224609375, 0.006768608093261718, 0.006791168212890625, 0.0068351998329162595, 0.00683622407913208, 0.007319551944732666, 0.006881279945373535, 0.006814720153808594, 0.0068689918518066405, 0.006829055786132812, 0.006854656219482422, 0.0068239040374755856, 0.0068392958641052244, 0.006834176063537598, 0.0068351998329162595, 0.006851583957672119, 0.0068321280479431154, 0.006887423992156983, 0.006856704235076904, 0.0068618240356445315, 0.006831103801727295, 0.006806528091430664, 0.0068392958641052244, 0.006834176063537598, 0.006846464157104492, 0.006802432060241699, 0.006790143966674805, 0.006803455829620361, 0.006781919956207276, 0.00679423999786377, 0.006825984001159668, 0.006871039867401123, 0.006853631973266602, 0.006854656219482422, 0.0067634878158569335, 0.006740992069244385, 0.006753215789794922, 0.006782976150512696, 0.006743040084838867, 0.006762527942657471, 0.006838272094726563, 0.006847487926483154, 0.006815743923187256, 0.006966271877288818, 0.007384064197540283, 0.007346176147460938, 0.007326720237731933, 0.007291903972625732, 0.007325695991516113, 0.007320576190948487, 0.007279647827148438, 0.007237631797790528, 0.007463935852050781, 0.007237631797790528, 0.007341055870056152, 0.007407616138458252, 0.007201791763305664, 0.0072325119972229, 0.007502848148345947, 0.007144447803497315, 0.007176191806793213, 0.007200767993927002, 0.007209983825683594, 0.007230463981628418, 0.007105535984039306, 0.007127039909362793, 0.00714035177230835, 0.00722431993484497, 0.007206912040710449, 0.007192575931549072, 0.007201791763305664, 0.007217152118682861, 0.007219200134277344, 0.007213119983673096, 0.007193600177764893, 0.007225344181060791, 0.007201791763305664, 0.007176191806793213, 0.007203839778900147, 0.007218175888061523, 0.007194623947143554, 0.007320576190948487, 0.007194623947143554, 0.0072130560874938965, 0.007184383869171143, 0.007160831928253173, 0.007243775844573975, 0.007201791763305664, 0.007221248149871826, 0.007184383869171143, 0.007187456130981445, 0.007200767993927002, 0.0071792640686035155 ] }, "throughput": { "unit": "samples/s", "value": 142.71831773433985 }, "energy": { "unit": "kWh", "cpu": 8.139697270669169e-08, "ram": 4.450077742377352e-08, "gpu": 1.5584487353426065e-07, "total": 2.8174262366472585e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3549338.7084731683 } } } }