{ "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": "b04fb3c909a5873eadf03d7b46ccfac63afcdf9e", "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.951296, "max_global_vram": 1877.52448, "max_process_vram": 206411.579392, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 135, "total": 0.998494976520538, "mean": 0.007396259085337322, "stdev": 0.0005560047040005829, "p50": 0.0071492919921875, "p90": 0.007955566120147705, "p95": 0.00867038230895996, "p99": 0.008967957706451415, "values": [ 0.007131852149963379, 0.006895532131195068, 0.006979691982269287, 0.0072248120307922365, 0.0073108930587768555, 0.007299051761627197, 0.007246892929077148, 0.0071492919921875, 0.0071140918731689455, 0.00709201192855835, 0.007101451873779297, 0.007077291965484619, 0.007003372192382813, 0.0069972920417785646, 0.006967691898345947, 0.006952971935272217, 0.006962731838226318, 0.006980011940002442, 0.0069502520561218264, 0.006957931995391846, 0.006997451782226562, 0.006960492134094238, 0.006998091220855713, 0.00694257116317749, 0.006963372230529785, 0.006957292079925537, 0.0069833722114562985, 0.006930411815643311, 0.006956972122192383, 0.006987212181091308, 0.006958891868591308, 0.006942252159118653, 0.008157293319702148, 0.007091691970825195, 0.006846570968627929, 0.0068296117782592775, 0.006784331798553467, 0.006835371017456055, 0.006799531936645508, 0.006817611217498779, 0.006774890899658203, 0.006829291820526123, 0.006852491855621338, 0.006780011177062988, 0.006815211772918701, 0.006845292091369629, 0.0068452911376953125, 0.00681793212890625, 0.007654092788696289, 0.007739052772521972, 0.00770801305770874, 0.00816417407989502, 0.008820494651794434, 0.008920016288757325, 0.008685613632202148, 0.008817774772644043, 0.008992654800415039, 0.00913697624206543, 0.00881617546081543, 0.0085867338180542, 0.008180974006652832, 0.007956014156341553, 0.00789633321762085, 0.007927534103393554, 0.007858572959899902, 0.007857294082641601, 0.007833292961120605, 0.008663854598999023, 0.00787665319442749, 0.007837614059448243, 0.007850412845611571, 0.007841773986816406, 0.00787073278427124, 0.007821932792663574, 0.00786289405822754, 0.007964653015136719, 0.007835533142089844, 0.007843052864074707, 0.0078475341796875, 0.007844653129577637, 0.007954894065856933, 0.00783409309387207, 0.007882092952728272, 0.007871212959289551, 0.007857772827148437, 0.007900814056396484, 0.007864013195037841, 0.007785133838653565, 0.006946570873260498, 0.00697457218170166, 0.006979691982269287, 0.006982892036437988, 0.006968492031097412, 0.006945131778717041, 0.006982572078704834, 0.006973452091217041, 0.006957931995391846, 0.007001451969146729, 0.006961771965026856, 0.006981451034545899, 0.00701361083984375, 0.0069526519775390625, 0.007004332065582275, 0.007007051944732666, 0.006907371044158936, 0.007158092975616455, 0.007703052997589111, 0.007892492771148682, 0.007831374168395995, 0.0074169721603393555, 0.007376812934875489, 0.007319211959838867, 0.007316973209381104, 0.007301132202148438, 0.007462253093719482, 0.007400493144989014, 0.006982252120971679, 0.007004811763763428, 0.007015851974487305, 0.006964652061462402, 0.007502091884613037, 0.007905933856964111, 0.007935213088989259, 0.007833134174346924, 0.007420331954956055, 0.007312012195587158, 0.00729505205154419, 0.0073366518020629885, 0.007377613067626953, 0.007348011970520019, 0.00740241289138794, 0.007023850917816162, 0.007007212162017822, 0.0069600119590759275, 0.006988972187042236 ] }, "throughput": { "unit": "samples/s", "value": 135.20348441855495 }, "energy": null, "efficiency": null } } }