{ "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.293824, "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.81056, "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.1439052734375, "mean": 7.1439052734375, "stdev": 0.0, "p50": 7.1439052734375, "p90": 7.1439052734375, "p95": 7.1439052734375, "p99": 7.1439052734375, "values": [ 7.1439052734375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.60273838043213e-07, "ram": 4.5555636956076265e-07, "gpu": 0.0, "total": 1.3158302076039757e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 920.133632, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 139, "total": 1.0014885129928586, "mean": 0.007204953330883878, "stdev": 0.0002754709703965983, "p50": 0.007264256000518799, "p90": 0.007573068809509277, "p95": 0.007644364595413208, "p99": 0.007843746061325074, "values": [ 0.007849984169006348, 0.007816192150115966, 0.007833568096160889, 0.007805952072143555, 0.007716864109039307, 0.007683072090148926, 0.007614463806152344, 0.00758784008026123, 0.00727347183227539, 0.007342080116271973, 0.007308288097381592, 0.007278592109680176, 0.007290880203247071, 0.007333888053894043, 0.007286784172058106, 0.007373824119567871, 0.007371776103973389, 0.007358463764190673, 0.007457791805267334, 0.007302144050598145, 0.007354368209838867, 0.0073144640922546385, 0.0073431038856506346, 0.007355391979217529, 0.00733081579208374, 0.007292928218841553, 0.007309311866760254, 0.00729804801940918, 0.007375872135162354, 0.007336959838867187, 0.007218175888061523, 0.00723967981338501, 0.007412799835205078, 0.007225344181060791, 0.007290880203247071, 0.0073175039291381834, 0.0072724480628967286, 0.0073431038856506346, 0.007387135982513428, 0.007314432144165039, 0.007296000003814697, 0.007328767776489258, 0.007264256000518799, 0.007327744007110596, 0.007302144050598145, 0.007324639797210693, 0.0072427520751953125, 0.007312448024749756, 0.007241727828979493, 0.007230463981628418, 0.007267327785491944, 0.007223296165466309, 0.007359488010406494, 0.007247871875762939, 0.0072540159225463864, 0.007263232231140137, 0.007302175998687744, 0.0072202239036560055, 0.007268352031707764, 0.0073062400817871095, 0.0073697280883789065, 0.007393280029296875, 0.007367680072784424, 0.00831283187866211, 0.007640063762664795, 0.0075980801582336424, 0.007558176040649414, 0.0072837438583374025, 0.007288832187652588, 0.0072765440940856935, 0.007392255783081054, 0.007402495861053467, 0.007379968166351319, 0.0072120318412780765, 0.007087103843688965, 0.006897664070129395, 0.006890495777130127, 0.006899712085723877, 0.006961152076721191, 0.007293951988220215, 0.007504896163940429, 0.007569375991821289, 0.007613440036773681, 0.007605216026306152, 0.0074741759300231934, 0.007634943962097168, 0.007302144050598145, 0.007202816009521484, 0.007155712127685547, 0.007111680030822754, 0.007180287837982178, 0.007217152118682861, 0.0071833600997924804, 0.007169023990631103, 0.007058432102203369, 0.006975488185882568, 0.006821887969970703, 0.006848512172698974, 0.006866943836212158, 0.006923264026641846, 0.006903808116912841, 0.006896639823913574, 0.006873087882995605, 0.006936575889587402, 0.006889472007751465, 0.006862847805023193, 0.006876160144805908, 0.006863872051239014, 0.006866943836212158, 0.0068392958641052244, 0.006872064113616944, 0.006915071964263916, 0.0068986878395080565, 0.006847487926483154, 0.006918144226074219, 0.007044095993041993, 0.006905856132507324, 0.006867968082427979, 0.006914048194885254, 0.00695091199874878, 0.006866943836212158, 0.0068986878395080565, 0.006864895820617676, 0.006880256175994873, 0.006852608203887939, 0.006894591808319092, 0.006872064113616944, 0.006914048194885254, 0.006841343879699707, 0.00687718391418457, 0.00688640022277832, 0.006867968082427979, 0.0068884482383728025, 0.006905856132507324, 0.006900735855102539, 0.006879231929779053, 0.00693452787399292, 0.006908927917480469, 0.006884352207183838 ] }, "throughput": { "unit": "samples/s", "value": 138.79340421450357 }, "energy": { "unit": "kWh", "cpu": 8.339172867542143e-08, "ram": 4.5586705759200804e-08, "gpu": 1.687462226338065e-07, "total": 2.9772465706842867e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3358808.134491062 } } } }