{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "library": "transformers", "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, "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", "numactl": false, "numactl_kwargs": {}, "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.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.41.0", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 906.530816, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 135, "total": 0.9978316798210146, "mean": 0.007391345776451959, "stdev": 0.00022263648381832006, "p50": 0.007435264110565186, "p90": 0.007635763263702393, "p95": 0.007713644886016845, "p99": 0.007847075986862182, "values": [ 0.008037376403808593, 0.007733248233795166, 0.007856128215789794, 0.007780352115631104, 0.007715839862823487, 0.007697408199310303, 0.0077127041816711425, 0.00760422420501709, 0.007607295989990235, 0.007585792064666748, 0.007487423896789551, 0.007514111995697022, 0.007504896163940429, 0.007565311908721924, 0.007618559837341309, 0.007607327938079834, 0.007648255825042725, 0.0075038719177246095, 0.007540736198425293, 0.007559167861938477, 0.007541759967803955, 0.007590847969055176, 0.007583744049072265, 0.007553023815155029, 0.007550975799560547, 0.007580671787261963, 0.007473152160644531, 0.007602176189422607, 0.007598144054412842, 0.007442431926727295, 0.007521279811859131, 0.007543807983398438, 0.007640063762664795, 0.007614463806152344, 0.007633920192718506, 0.00760319995880127, 0.0075939841270446775, 0.007547904014587403, 0.007614463806152344, 0.007571519851684571, 0.007658527851104736, 0.007490560054779053, 0.007513088226318359, 0.007529471874237061, 0.007581696033477783, 0.00743833589553833, 0.007489535808563232, 0.007521279811859131, 0.007511040210723877, 0.007486464023590088, 0.007497727870941162, 0.007588863849639893, 0.0076943039894104, 0.007591936111450195, 0.007612415790557861, 0.0075642881393432615, 0.007519231796264648, 0.007497727870941162, 0.007472127914428711, 0.007401472091674805, 0.007316480159759522, 0.0072837119102478025, 0.0074670081138610836, 0.007444479942321777, 0.0071833600997924804, 0.007292928218841553, 0.007162879943847656, 0.0071792640686035155, 0.007414783954620361, 0.007523327827453613, 0.007539711952209473, 0.007636991977691651, 0.00774451208114624, 0.007418879985809326, 0.007433248043060303, 0.007507967948913574, 0.007435264110565186, 0.0074332160949707035, 0.0073697280883789065, 0.007324672222137451, 0.007208960056304932, 0.007301119804382325, 0.00733900785446167, 0.007244800090789795, 0.007244800090789795, 0.0070891518592834475, 0.007116799831390381, 0.007116799831390381, 0.007112703800201416, 0.00709222412109375, 0.0070830078125, 0.007282688140869141, 0.007129087924957276, 0.0071157760620117185, 0.007137279987335205, 0.007355391979217529, 0.007311295986175537, 0.007135231971740722, 0.007270400047302246, 0.007109663963317871, 0.007104512214660645, 0.007124991893768311, 0.007137279987335205, 0.007124991893768311, 0.00710041618347168, 0.007071680068969727, 0.0071157760620117185, 0.00710041618347168, 0.007102464199066162, 0.007078911781311035, 0.00709222412109375, 0.007096320152282715, 0.007111680030822754, 0.00709119987487793, 0.007073791980743408, 0.007110720157623291, 0.0071188478469848635, 0.007146495819091797, 0.007114751815795899, 0.007356416225433349, 0.00733081579208374, 0.0074035201072692874, 0.007829504013061523, 0.00738918399810791, 0.007318528175354004, 0.007293951988220215, 0.007252992153167725, 0.007136288166046142, 0.007104512214660645, 0.007087103843688965, 0.00709119987487793, 0.007067647933959961, 0.007121920108795166, 0.007097343921661377, 0.0070830078125 ] }, "throughput": { "unit": "samples/s", "value": 135.29335932109868 }, "energy": { "unit": "kWh", "cpu": 8.755510465966332e-08, "ram": 4.782332305373582e-08, "gpu": 1.8774524823529351e-07, "total": 3.231236759486926e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3094790.2442122055 } } } }