{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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, "latency": true, "memory": 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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 890.85952, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 141, "total": 0.9968024640083314, "mean": 0.007069521021335682, "stdev": 0.00046649140372335165, "p50": 0.007013376235961914, "p90": 0.007370751857757568, "p95": 0.00754585599899292, "p99": 0.008827085113525385, "values": [ 0.007755775928497314, 0.007445504188537597, 0.00754585599899292, 0.007284736156463623, 0.007223296165466309, 0.007176191806793213, 0.007321599960327148, 0.007341055870056152, 0.007320576190948487, 0.0072765440940856935, 0.007207935810089112, 0.007109632015228271, 0.007061503887176514, 0.00698367977142334, 0.006968319892883301, 0.007165952205657959, 0.00733081579208374, 0.007111680030822754, 0.007093247890472412, 0.007079936027526855, 0.007057407855987549, 0.007068672180175781, 0.007266304016113281, 0.0074035201072692874, 0.007377920150756836, 0.007290880203247071, 0.007351295948028564, 0.007370751857757568, 0.0070553598403930665, 0.0070563840866088865, 0.007038976192474365, 0.007293951988220215, 0.007296000003814697, 0.006973440170288086, 0.006961184024810791, 0.0069816322326660156, 0.006972415924072266, 0.0070860800743103025, 0.00729702377319336, 0.007310336112976074, 0.007064576148986816, 0.0070891518592834475, 0.007114751815795899, 0.007109632015228271, 0.007017471790313721, 0.007013376235961914, 0.007076863765716553, 0.00738099193572998, 0.007284736156463623, 0.007258111953735351, 0.007108607769012451, 0.006952960014343262, 0.006978559970855713, 0.0072724480628967286, 0.0072427520751953125, 0.007350240230560303, 0.007005184173583984, 0.006959136009216309, 0.00703385591506958, 0.0069959678649902345, 0.007014400005340577, 0.0070184640884399414, 0.007667712211608887, 0.008251392364501953, 0.010863615989685058, 0.009210880279541016, 0.007447519779205322, 0.007490560054779053, 0.007250944137573242, 0.007345151901245117, 0.0069847040176391605, 0.007011328220367432, 0.007137279987335205, 0.007327744007110596, 0.007160831928253173, 0.007038976192474365, 0.007303167819976806, 0.007187456130981445, 0.006875135898590088, 0.00694374418258667, 0.007101439952850342, 0.007621632099151611, 0.007279615879058838, 0.007233535766601563, 0.007558144092559814, 0.007232480049133301, 0.0069918398857116695, 0.00695091199874878, 0.00687820816040039, 0.006854656219482422, 0.006894591808319092, 0.006859776020050049, 0.006871039867401123, 0.006906879901885986, 0.00690070390701294, 0.006692863941192627, 0.006648831844329834, 0.0066406397819519045, 0.006619135856628418, 0.006755328178405762, 0.006870016098022461, 0.006801407814025879, 0.0066078720092773435, 0.0066109437942504885, 0.006653952121734619, 0.006628352165222168, 0.006623231887817383, 0.006597631931304931, 0.006576128005981445, 0.0066406397819519045, 0.006632448196411133, 0.0065781760215759275, 0.006624256134033203, 0.006623199939727783, 0.006605823993682861, 0.006710271835327148, 0.006924287796020508, 0.006959104061126709, 0.006825984001159668, 0.006865920066833496, 0.006845439910888672, 0.006860799789428711, 0.0066406397819519045, 0.006621183872222901, 0.006795263767242431, 0.006859776020050049, 0.006894591808319092, 0.006845439910888672, 0.00683622407913208, 0.006880256175994873, 0.006870016098022461, 0.006840320110321045, 0.006830080032348633, 0.006865920066833496, 0.006823967933654785, 0.006841343879699707, 0.006658048152923584, 0.006604832172393799, 0.0066304001808166506, 0.006605823993682861, 0.006546432018280029 ] }, "throughput": { "unit": "samples/s", "value": 141.45229881657028 }, "energy": { "unit": "kWh", "cpu": 8.134306996743247e-08, "ram": 4.446755449874853e-08, "gpu": 1.5171435272607237e-07, "total": 2.775249771922534e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3603279.280002453 } } } }