{ "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": "2db7e171d23768cdeb341987283e17e0b2db9bd9", "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": 1006.403584, "max_global_vram": 1877.532672, "max_process_vram": 219312.324608, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 143, "total": 0.9958776316642761, "mean": 0.0069641792424075255, "stdev": 0.00020691892107757256, "p50": 0.006903695106506348, "p90": 0.007192942905426025, "p95": 0.007312223815917968, "p99": 0.007801668338775635, "values": [ 0.00817713737487793, 0.006983374118804932, 0.00695537519454956, 0.006896975040435791, 0.006921295166015625, 0.00691745376586914, 0.006877134799957276, 0.006858095169067383, 0.006885933876037598, 0.006953295230865479, 0.00688993501663208, 0.006919855117797851, 0.006952653884887696, 0.006905454158782959, 0.006934255123138428, 0.006903854846954346, 0.0069204940795898435, 0.006911694049835205, 0.006932815074920654, 0.0069184150695800785, 0.006891854763031006, 0.006915373802185059, 0.006917294979095459, 0.006920654773712159, 0.006900175094604492, 0.006941773891448975, 0.006945455074310302, 0.006950894832611084, 0.00692433500289917, 0.006911533832550049, 0.006930734157562256, 0.0069136152267456055, 0.0069097747802734375, 0.0068880138397216795, 0.006881614208221435, 0.006895854949951172, 0.006901454925537109, 0.00688033390045166, 0.006877295017242432, 0.00688721513748169, 0.006907535076141357, 0.006947373867034912, 0.006871694087982177, 0.006886254787445068, 0.0069067349433898926, 0.006892653942108154, 0.006884494781494141, 0.0068811349868774414, 0.006917294025421143, 0.006881615161895752, 0.0069019351005554196, 0.006887054920196533, 0.006946253776550293, 0.006884654998779297, 0.00686977481842041, 0.006905293941497802, 0.006903214931488037, 0.006918735027313232, 0.006918574810028076, 0.006899374008178711, 0.006896174907684326, 0.006876015186309815, 0.006897614002227783, 0.006868174076080322, 0.006877134799957276, 0.006907855033874512, 0.006955694198608398, 0.00762257719039917, 0.006883853912353515, 0.006876015186309815, 0.006851854801177978, 0.006872014045715332, 0.006876655101776123, 0.0068756952285766604, 0.006907693862915039, 0.006905775070190429, 0.006844015121459961, 0.006892973899841308, 0.0069257750511169435, 0.006907374858856201, 0.0068707351684570315, 0.006881773948669434, 0.00688721513748169, 0.0069710550308227535, 0.006897134780883789, 0.006855373859405518, 0.006868494987487793, 0.0068422541618347165, 0.006860654830932617, 0.006857614994049072, 0.00685793399810791, 0.006843854904174804, 0.006855694770812988, 0.006864173889160156, 0.006860815048217774, 0.00688561487197876, 0.006898893833160401, 0.006983695030212403, 0.006907374858856201, 0.0069115347862243656, 0.006907693862915039, 0.006902094841003418, 0.006873935222625732, 0.007078734874725342, 0.006855374813079834, 0.006886414051055908, 0.00685889482498169, 0.006864174842834473, 0.006867693901062012, 0.006875215053558349, 0.0068921751976013185, 0.006905933856964111, 0.006926574230194092, 0.006915854930877686, 0.006908814907073974, 0.007743055820465088, 0.0078012971878051755, 0.00733681583404541, 0.0072572951316833495, 0.007244975090026856, 0.0071748948097229, 0.007284174919128418, 0.007314735889434814, 0.007289615154266358, 0.007271055221557617, 0.007197454929351806, 0.0069832148551940915, 0.006910574913024902, 0.006872175216674804, 0.006875534057617188, 0.006877614974975586, 0.00693473482131958, 0.006903695106506348, 0.0069180941581726075, 0.006874734878540039, 0.0068809747695922855, 0.0068944129943847654, 0.006895215034484863, 0.0069067349433898926, 0.006915534973144531, 0.007771535873413086, 0.007801937103271484, 0.007230734825134278 ] }, "throughput": { "unit": "samples/s", "value": 143.59193886203002 }, "energy": null, "efficiency": null } } }