{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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": false, "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 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.236096, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 1, "gpu_vram_mb": 68702699520, "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": "e65976e2695b67f37a76baa42b75347a3a733547", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1008.586752, "max_global_vram": 1877.516288, "max_process_vram": 232966.889472, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 137, "total": 0.9973862705230712, "mean": 0.0072801917556428565, "stdev": 0.00023952705644979445, "p50": 0.007160490989685059, "p90": 0.00759425106048584, "p95": 0.007729419231414795, "p99": 0.008023986015319824, "values": [ 0.007745292186737061, 0.007477130889892578, 0.007263689994812012, 0.007044650077819824, 0.007075210094451904, 0.007119690895080567, 0.0071025710105896, 0.007162409782409668, 0.007113931179046631, 0.007097609996795654, 0.007102410793304443, 0.007073929786682129, 0.0070678510665893556, 0.007101930141448974, 0.007122090816497803, 0.00716417121887207, 0.007247690200805664, 0.007101931095123291, 0.007119850158691406, 0.007075049877166748, 0.007120650768280029, 0.00708912992477417, 0.007138570785522461, 0.007095369815826416, 0.007122251033782959, 0.007096010208129883, 0.007151371002197266, 0.007112330913543701, 0.00715680980682373, 0.008091691970825196, 0.007667212009429931, 0.007131370067596435, 0.0070819311141967775, 0.007105770111083984, 0.007234890937805175, 0.007438411235809326, 0.007288811206817627, 0.007059529781341552, 0.007088490962982178, 0.0070894498825073244, 0.007080009937286377, 0.0073057708740234375, 0.007294411182403564, 0.007049449920654297, 0.007095530986785888, 0.007088329792022705, 0.007089611053466797, 0.0070612897872924804, 0.00709873104095459, 0.007068170070648193, 0.007080330848693848, 0.007079209804534912, 0.007053610801696778, 0.007223851203918457, 0.007242090225219726, 0.00704577112197876, 0.007083690166473389, 0.007020330905914306, 0.007039370059967041, 0.007156811237335205, 0.007258730888366699, 0.007137290000915527, 0.00707905101776123, 0.007047530174255371, 0.007334890842437744, 0.007160490989685059, 0.0075468912124633785, 0.007918571949005127, 0.007079850196838379, 0.0070592107772827145, 0.007590091228485108, 0.007602090835571289, 0.007431050777435303, 0.007401771068572998, 0.007601771831512451, 0.0075577712059021, 0.007725450992584228, 0.0074806509017944335, 0.007617610931396485, 0.007434091091156006, 0.007472970962524414, 0.007379371166229248, 0.007331050872802734, 0.007425450801849366, 0.007289930820465088, 0.007331210136413574, 0.0073494501113891605, 0.0073828911781311036, 0.0073737711906433105, 0.0073449711799621585, 0.007259050846099854, 0.007452331066131592, 0.007371211051940918, 0.007443050861358643, 0.007668170928955078, 0.007532970905303955, 0.007547211170196533, 0.007426731109619141, 0.007456651210784912, 0.0074880108833312985, 0.0075939311981201175, 0.007450251102447509, 0.007322090148925781, 0.007592172145843506, 0.007262570858001709, 0.007305769920349121, 0.007168810844421386, 0.007153131008148193, 0.007122729778289795, 0.00717409086227417, 0.007112810134887695, 0.007135529994964599, 0.007139531135559082, 0.007098090171813965, 0.007112650871276855, 0.007113770008087158, 0.007081770896911621, 0.007092329978942871, 0.0070568108558654785, 0.00710000991821289, 0.007066411018371582, 0.007037290096282959, 0.007108651161193848, 0.007118889808654785, 0.0070816102027893065, 0.007052969932556152, 0.007987690925598144, 0.007747372150421142, 0.007503850936889649, 0.007542730808258057, 0.00750321102142334, 0.007503850936889649, 0.007594730854034424, 0.00744209098815918, 0.007473771095275879, 0.00802721118927002, 0.008018252372741699 ] }, "throughput": { "unit": "samples/s", "value": 137.35901931771272 }, "energy": null, "efficiency": null } } }