{ "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": {}, "hub_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": 716.726272, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.372544 }, "latency": { "unit": "s", "count": 1, "total": 7.160521484375, "mean": 7.160521484375, "stdev": 0.0, "p50": 7.160521484375, "p90": 7.160521484375, "p95": 7.160521484375, "p99": 7.160521484375, "values": [ 7.160521484375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.821803662512039e-07, "ram": 4.5053184510720713e-07, "gpu": 1.7288902720001033e-06, "total": 3.0616024833585146e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 915.750912, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 135, "total": 1.0001335711479182, "mean": 0.007408396823317916, "stdev": 0.00021821691883758837, "p50": 0.007464960098266602, "p90": 0.0076455936431884764, "p95": 0.0077061119556427, "p99": 0.007816192150115966, "values": [ 0.007910399913787843, 0.007816192150115966, 0.007816192150115966, 0.0077629761695861815, 0.007709695816040039, 0.0077281279563903805, 0.007704576015472412, 0.007633920192718506, 0.007662591934204102, 0.007551040172576904, 0.00753868818283081, 0.007458816051483155, 0.007411712169647216, 0.007566336154937744, 0.007574528217315674, 0.007622655868530274, 0.0076308479309082035, 0.007711711883544922, 0.007536640167236328, 0.007536640167236328, 0.007622655868530274, 0.0075970559120178225, 0.007621632099151611, 0.007605247974395752, 0.007609344005584716, 0.007565311908721924, 0.007536640167236328, 0.007634943962097168, 0.007602176189422607, 0.007513088226318359, 0.007408639907836914, 0.007420928001403809, 0.0074106879234313965, 0.007443456172943115, 0.007497727870941162, 0.007520256042480469, 0.007606272220611572, 0.007599103927612305, 0.007588863849639893, 0.007611392021179199, 0.0075980801582336424, 0.0075970559120178225, 0.007513088226318359, 0.00759500789642334, 0.007592895984649658, 0.007515135765075683, 0.007635968208312988, 0.007531519889831543, 0.007420928001403809, 0.007504896163940429, 0.007523263931274414, 0.007647232055664062, 0.007479296207427978, 0.007464960098266602, 0.007521279811859131, 0.007543807983398438, 0.007512063980102539, 0.007524352073669433, 0.007572480201721191, 0.007648255825042725, 0.007674880027770996, 0.0076687359809875484, 0.0076308479309082035, 0.0075939841270446775, 0.007643136024475097, 0.0076984319686889645, 0.00759603214263916, 0.007605247974395752, 0.007404543876647949, 0.007358463764190673, 0.007617536067962646, 0.0074414081573486324, 0.007404543876647949, 0.007372799873352051, 0.007244800090789795, 0.007197696208953858, 0.007310336112976074, 0.007411712169647216, 0.0075038719177246095, 0.007575551986694336, 0.007501823902130127, 0.00749567985534668, 0.007613440036773681, 0.007638016223907471, 0.007331840038299561, 0.007252992153167725, 0.007188479900360107, 0.007231488227844239, 0.007161856174468994, 0.007095295906066895, 0.0071485438346862796, 0.007138304233551026, 0.007113728046417236, 0.007202816009521484, 0.007187456130981445, 0.0072416958808898925, 0.007279615879058838, 0.00713318395614624, 0.007146495819091797, 0.007136256217956543, 0.007138304233551026, 0.007221248149871826, 0.007132160186767578, 0.007208960056304932, 0.007174143791198731, 0.007303167819976806, 0.007135231971740722, 0.0071157760620117185, 0.007124991893768311, 0.007110655784606934, 0.007112703800201416, 0.00713427209854126, 0.007134175777435302, 0.007174143791198731, 0.007161856174468994, 0.007110655784606934, 0.007154687881469727, 0.007127039909362793, 0.007159808158874512, 0.007102464199066162, 0.00714137601852417, 0.007134208202362061, 0.007113791942596435, 0.0071157760620117185, 0.007188479900360107, 0.007136256217956543, 0.007121856212615967, 0.007126016139984131, 0.007138304233551026, 0.007122943878173828, 0.007128064155578613, 0.007109632015228271, 0.007136256217956543, 0.007146495819091797, 0.007202816009521484 ] }, "throughput": { "unit": "samples/s", "value": 134.98197030327827 }, "energy": { "unit": "kWh", "cpu": 8.094835173245731e-08, "ram": 4.42525646722214e-08, "gpu": 1.552117643809533e-07, "total": 2.80412680785632e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3566172.5325627243 } } } }