{ "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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 718.086144, "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.1700703125, "mean": 7.1700703125, "stdev": 0.0, "p50": 7.1700703125, "p90": 7.1700703125, "p95": 7.1700703125, "p99": 7.1700703125, "values": [ 7.1700703125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.261313411924574e-07, "ram": 4.6834208381227427e-07, "gpu": 1.7288902720014043e-06, "total": 3.123363697006136e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 917.766144, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 137, "total": 0.9993798370361331, "mean": 0.007294743336030166, "stdev": 0.00037109923522156673, "p50": 0.0072325119972229, "p90": 0.007326899147033691, "p95": 0.0075008064270019525, "p99": 0.009326878719329806, "values": [ 0.010280960083007813, 0.010074111938476562, 0.007998464107513427, 0.007533599853515625, 0.007472127914428711, 0.0074926080703735356, 0.007985151767730713, 0.007539711952209473, 0.0072837119102478025, 0.0072499198913574215, 0.007268352031707764, 0.0072724480628967286, 0.007280640125274658, 0.007235583782196045, 0.007247871875762939, 0.00724070405960083, 0.00729702377319336, 0.007235583782196045, 0.0072468481063842774, 0.00724070405960083, 0.00725708818435669, 0.007274496078491211, 0.0072499198913574215, 0.007255040168762207, 0.007270400047302246, 0.007328703880310059, 0.007251967906951904, 0.0072499198913574215, 0.007225344181060791, 0.007234560012817383, 0.007215104103088379, 0.007241727828979493, 0.007230463981628418, 0.007215104103088379, 0.007431168079376221, 0.007264256000518799, 0.007251967906951904, 0.007241727828979493, 0.00723967981338501, 0.007236608028411865, 0.007245823860168457, 0.007234560012817383, 0.007201824188232422, 0.007263232231140137, 0.007216127872467041, 0.007232480049133301, 0.0072130560874938965, 0.007215104103088379, 0.007207935810089112, 0.0072120318412780765, 0.0072120318412780765, 0.007178239822387696, 0.007287807941436767, 0.007200767993927002, 0.0072202239036560055, 0.007235583782196045, 0.007229440212249756, 0.007202816009521484, 0.007233535766601563, 0.007226367950439453, 0.007227392196655274, 0.00727347183227539, 0.007235583782196045, 0.0072130560874938965, 0.007208960056304932, 0.0072202239036560055, 0.007217152118682861, 0.007216127872467041, 0.007214079856872559, 0.0072202239036560055, 0.007260159969329834, 0.007243775844573975, 0.00724070405960083, 0.007202816009521484, 0.007205887794494629, 0.007201791763305664, 0.00723145580291748, 0.007235583782196045, 0.007200767993927002, 0.007216127872467041, 0.007274496078491211, 0.007197696208953858, 0.0072130560874938965, 0.0072130560874938965, 0.0072325119972229, 0.007203839778900147, 0.007206912040710449, 0.007302144050598145, 0.007331840038299561, 0.007207935810089112, 0.007142399787902832, 0.007101439952850342, 0.007135231971740722, 0.007151616096496582, 0.007128064155578613, 0.007071743965148926, 0.007146527767181396, 0.007138271808624267, 0.007325695991516113, 0.007259136199951172, 0.007217152118682861, 0.00719155216217041, 0.007219200134277344, 0.007255040168762207, 0.00719974422454834, 0.00723967981338501, 0.007198719978332519, 0.007315455913543701, 0.007207935810089112, 0.007244800090789795, 0.007210976123809815, 0.007195680141448974, 0.007101439952850342, 0.007102464199066162, 0.007085055828094483, 0.007126016139984131, 0.007258048057556152, 0.0072499198913574215, 0.007209983825683594, 0.007234560012817383, 0.007697408199310303, 0.007300096035003662, 0.007217152118682861, 0.007218175888061523, 0.007345151901245117, 0.007413760185241699, 0.007230495929718018, 0.00723967981338501, 0.007221248149871826, 0.007226367950439453, 0.007236608028411865, 0.007218143939971924, 0.007228415966033935, 0.007208960056304932, 0.007267327785491944, 0.00723967981338501, 0.007228415966033935 ] }, "throughput": { "unit": "samples/s", "value": 137.08501504923473 }, "energy": { "unit": "kWh", "cpu": 8.40696553905899e-08, "ram": 4.596698001130504e-08, "gpu": 1.6462976133330576e-07, "total": 2.946663967352007e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3393668.2671646504 } } } }