{ "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.289728, "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": 891.00288, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 136, "total": 0.9980350713729856, "mean": 0.007338493171860189, "stdev": 0.00022279241863946134, "p50": 0.007393791913986206, "p90": 0.007586303949356079, "p95": 0.007633935928344727, "p99": 0.007742544031143188, "values": [ 0.0077619199752807615, 0.007643136024475097, 0.007706560134887695, 0.007701504230499268, 0.007520256042480469, 0.007599103927612305, 0.007539711952209473, 0.0075346240997314455, 0.007480319976806641, 0.007457791805267334, 0.007255040168762207, 0.007449600219726562, 0.007479296207427978, 0.0074291200637817386, 0.007436287879943848, 0.007308288097381592, 0.007264256000518799, 0.00733900785446167, 0.007513088226318359, 0.007528448104858398, 0.007599103927612305, 0.007576576232910156, 0.007632895946502686, 0.0075345921516418455, 0.007529471874237061, 0.007567296028137207, 0.0075673599243164065, 0.007555071830749512, 0.00744755220413208, 0.007550975799560547, 0.007477248191833496, 0.007477248191833496, 0.00738918399810791, 0.007475168228149414, 0.00744652795791626, 0.007451648235321045, 0.0073994240760803225, 0.007502848148345947, 0.007490560054779053, 0.007546879768371582, 0.007637055873870849, 0.0075345921516418455, 0.007603104114532471, 0.007620607852935791, 0.0074700798988342285, 0.007417856216430664, 0.007547904014587403, 0.007455743789672851, 0.007592959880828858, 0.007436287879943848, 0.007459839820861816, 0.007412735939025879, 0.007352255821228028, 0.007461887836456299, 0.007579648017883301, 0.007544832229614258, 0.007398399829864502, 0.007478271961212158, 0.007431168079376221, 0.007482367992401123, 0.007477248191833496, 0.007559167861938477, 0.007491583824157715, 0.007704576015472412, 0.007565311908721924, 0.00820633602142334, 0.007569407939910889, 0.007479296207427978, 0.007508992195129394, 0.00738099193572998, 0.007427072048187256, 0.007171072006225586, 0.007388160228729248, 0.0073134078979492185, 0.007341055870056152, 0.007418879985809326, 0.007269375801086426, 0.007488512039184571, 0.007251904010772705, 0.007277567863464355, 0.007612415790557861, 0.007341055870056152, 0.007350272178649903, 0.00748748779296875, 0.007237631797790528, 0.007096320152282715, 0.007063551902770996, 0.007126016139984131, 0.007218175888061523, 0.0070553598403930665, 0.007085055828094483, 0.007071743965148926, 0.007302144050598145, 0.007079936027526855, 0.007074816226959229, 0.007081984043121338, 0.007116799831390381, 0.007029759883880615, 0.007046144008636474, 0.007093247890472412, 0.007060480117797851, 0.0071188478469848635, 0.007062528133392334, 0.007081984043121338, 0.007044095993041993, 0.007096320152282715, 0.0071792640686035155, 0.007088128089904785, 0.007048192024230957, 0.007065599918365479, 0.007117824077606201, 0.007157760143280029, 0.00703385591506958, 0.007079936027526855, 0.007080959796905518, 0.007085055828094483, 0.007066559791564941, 0.007065599918365479, 0.00709939193725586, 0.0071157760620117185, 0.007061503887176514, 0.007087103843688965, 0.007127007961273193, 0.007060480117797851, 0.007090176105499267, 0.007067647933959961, 0.007061503887176514, 0.007065599918365479, 0.007090176105499267, 0.007095295906066895, 0.007104512214660645, 0.0070594558715820314, 0.007085055828094483, 0.007069695949554444, 0.00703385591506958, 0.007185408115386963 ] }, "throughput": { "unit": "samples/s", "value": 136.26775641551987 }, "energy": { "unit": "kWh", "cpu": 8.46603555036775e-08, "ram": 4.617796958749095e-08, "gpu": 1.6257105204255317e-07, "total": 2.934093771337216e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3408207.364634597 } } } }