{ "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": "6fd377459e287bb09e9383ba2516b1b2a271a562", "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": 1007.775744, "max_global_vram": 897.14688, "max_process_vram": 207166.001152, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 146, "total": 0.9992842464447022, "mean": 0.0068444126468815225, "stdev": 0.00033736598203322157, "p50": 0.006653344392776489, "p90": 0.0071704633235931394, "p95": 0.007282543063163757, "p99": 0.007604917860031129, "values": [ 0.006918064117431641, 0.007029102802276611, 0.007152944087982178, 0.006964622974395752, 0.007236303806304932, 0.007088462829589844, 0.007127984046936035, 0.007232143878936768, 0.007292782783508301, 0.007223503112792969, 0.00718798303604126, 0.007133743762969971, 0.007087663173675537, 0.00706382417678833, 0.007042063236236572, 0.007122543811798096, 0.007009744167327881, 0.007002543926239013, 0.007245742797851563, 0.006998383998870849, 0.006989583969116211, 0.007004623889923096, 0.007168943881988525, 0.006998544216156006, 0.006997104167938232, 0.006998223781585693, 0.00698414421081543, 0.006962543964385987, 0.006985583782196045, 0.006987984180450439, 0.00703934383392334, 0.0070198230743408205, 0.0070985441207885745, 0.00706894302368164, 0.007102863788604736, 0.007087983131408691, 0.007055503845214844, 0.007051183223724365, 0.007036464214324951, 0.007053584098815918, 0.007057263851165772, 0.007028943061828614, 0.007054384231567383, 0.007629901885986328, 0.009487338066101074, 0.006663185119628906, 0.006615503787994385, 0.006653104782104492, 0.006624144077301025, 0.006624625205993652, 0.006623505115509033, 0.006619823932647705, 0.006612464904785156, 0.0066391839981079104, 0.0066057448387146, 0.0066187047958374025, 0.006615824222564697, 0.006615345001220703, 0.006597905158996582, 0.006640625, 0.0066175851821899416, 0.0066251039505004885, 0.006625424861907959, 0.00663630485534668, 0.0066390252113342286, 0.006674705028533935, 0.006625264167785644, 0.00732990312576294, 0.006650064945220947, 0.006653584003448486, 0.006635984897613525, 0.006619344234466553, 0.006628465175628662, 0.006609745025634765, 0.006622223854064941, 0.006624145030975342, 0.006631184101104737, 0.006604625225067139, 0.006635664939880371, 0.006852143764495849, 0.006651504039764404, 0.006669425010681153, 0.00663102388381958, 0.006626224994659423, 0.006619345188140869, 0.006622543811798096, 0.006588144779205322, 0.006623504161834717, 0.006612945079803467, 0.006645744800567627, 0.006630224227905273, 0.006673425197601318, 0.006667984008789062, 0.0066297450065612796, 0.006641263961791992, 0.00665102481842041, 0.006656464099884033, 0.006607824802398681, 0.006591344833374023, 0.006606544017791748, 0.006615345001220703, 0.006618384838104248, 0.006600304126739502, 0.006599024772644043, 0.0066276640892028804, 0.006648145198822022, 0.006631824016571045, 0.006607824802398681, 0.006624625205993652, 0.006631824016571045, 0.006592784881591797, 0.006606385231018066, 0.0066156649589538576, 0.006617744922637939, 0.006616623878479004, 0.006602224826812744, 0.007171982765197754, 0.007283183097839355, 0.007023663997650147, 0.006892623901367187, 0.006971663951873779, 0.007280622959136963, 0.007574381828308105, 0.007570542812347412, 0.007541741847991943, 0.007143663883209229, 0.00696062421798706, 0.007090864181518555, 0.007088624000549317, 0.00674430513381958, 0.0067118239402771, 0.0067790250778198245, 0.0067556648254394535, 0.006706863880157471, 0.0067460651397705075, 0.006621904850006103, 0.0065900650024414064, 0.006601103782653809, 0.006603344917297364, 0.006604625225067139, 0.006611663818359375, 0.006619665145874023, 0.006598865032196045, 0.006625583171844482, 0.006638384819030761, 0.006608784198760986 ] }, "throughput": { "unit": "samples/s", "value": 146.1045748689077 }, "energy": null, "efficiency": null } } }