{ "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", "numactl": false, "numactl_kwargs": {}, "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.1", "optimum_benchmark_commit": "347e13ca9f7f904f55669603cfb9f0b6c7e8672c", "transformers_version": "4.41.1", "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": 1007.90272, "max_global_vram": 1877.520384, "max_process_vram": 207166.01344, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 124, "total": 0.9944656581878665, "mean": 0.008019884340224728, "stdev": 0.00014835604458851885, "p50": 0.007993935108184816, "p90": 0.008169887161254882, "p95": 0.008280046939849853, "p99": 0.008389347219467163, "values": [ 0.00912913703918457, 0.00810881519317627, 0.008080334663391113, 0.008081774711608886, 0.008012654304504395, 0.007941133975982666, 0.007922414779663087, 0.007894574165344238, 0.007883375167846679, 0.007917133808135987, 0.007897134780883788, 0.007916974067687989, 0.007966414928436279, 0.007978254795074463, 0.007919693946838379, 0.007900495052337647, 0.007882093906402588, 0.007932974815368652, 0.007966574192047118, 0.008043054580688477, 0.00801505470275879, 0.007973295211791992, 0.008003534317016602, 0.007987054824829101, 0.00797457504272461, 0.007944334030151367, 0.007956335067749024, 0.007967535018920899, 0.008022733688354492, 0.008007055282592773, 0.00795985507965088, 0.007997613906860351, 0.007990894794464111, 0.008067854881286621, 0.008179374694824219, 0.008089935302734375, 0.008086255073547363, 0.008037134170532227, 0.008014413833618164, 0.008033615112304687, 0.007985294818878174, 0.008069134712219239, 0.008303535461425782, 0.008338094711303711, 0.008215854644775391, 0.008282734870910644, 0.008317934989929198, 0.008404656410217285, 0.008248974800109863, 0.008159694671630859, 0.008111374855041504, 0.008095375061035156, 0.008100974082946777, 0.008090893745422363, 0.008037775039672852, 0.007943055152893067, 0.007969133853912354, 0.007911055088043214, 0.00792785406112671, 0.007947214126586914, 0.007969934940338135, 0.007935053825378418, 0.007902255058288574, 0.007952494144439697, 0.007860973834991455, 0.008076814651489258, 0.008260974884033203, 0.008300495147705079, 0.008264815330505371, 0.008079854965209961, 0.008051054954528809, 0.008048654556274414, 0.008024495124816894, 0.008011533737182617, 0.008003375053405763, 0.00799425506591797, 0.00797425413131714, 0.007972815036773682, 0.008013614654541016, 0.008055214881896972, 0.007993453979492188, 0.007986895084381104, 0.00799361515045166, 0.00806689453125, 0.00817425537109375, 0.008088813781738282, 0.0079041748046875, 0.007853774070739747, 0.00790193510055542, 0.007973295211791992, 0.007853293895721435, 0.007912175178527832, 0.007880013942718506, 0.007896814823150635, 0.007942893981933593, 0.007884815216064453, 0.007916813850402831, 0.007898894786834717, 0.007888974189758301, 0.008071535110473633, 0.007889615058898927, 0.007960174083709717, 0.007899694919586182, 0.007941614151000977, 0.00794961404800415, 0.007985935211181641, 0.007854733943939209, 0.007908814907073975, 0.007888654232025146, 0.00794289493560791, 0.008072014808654784, 0.008005455017089843, 0.008005454063415527, 0.008006415367126464, 0.008003694534301758, 0.00801297378540039, 0.008022894859313965, 0.008049935340881347, 0.007988335132598877, 0.008012494087219239, 0.008027533531188964, 0.008008174896240235, 0.008003854751586914, 0.008044334411621093 ] }, "throughput": { "unit": "samples/s", "value": 124.69007750951913 }, "energy": null, "efficiency": null } } }