{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "library": "transformers", "model_type": "roberta", "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": {}, "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, "memory": true, "latency": true, "energy": true, "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 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 719.601664, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.23561083984375, "mean": 7.23561083984375, "stdev": 0.0, "p50": 7.23561083984375, "p90": 7.23561083984375, "p95": 7.23561083984375, "p99": 7.23561083984375, "values": [ 7.23561083984375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0540465513865153e-06, "ram": 5.620139635094764e-07, "gpu": 0.0, "total": 1.6160605148959917e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 911.929344, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 148, "total": 0.9980121250152585, "mean": 0.006743325169022019, "stdev": 0.00030020401127890016, "p50": 0.0068224000930786136, "p90": 0.006982758331298828, "p95": 0.0070991360902786255, "p99": 0.007752345628738403, "values": [ 0.0072765440940856935, 0.007134208202362061, 0.0070891518592834475, 0.007104512214660645, 0.007068672180175781, 0.007076863765716553, 0.006875135898590088, 0.0068915200233459475, 0.006872064113616944, 0.006917119979858399, 0.006858751773834228, 0.006895616054534912, 0.006796288013458252, 0.006731776237487793, 0.0068055038452148435, 0.006920191764831543, 0.006908927917480469, 0.006874112129211426, 0.006953023910522461, 0.006960127830505371, 0.0068690237998962405, 0.006817791938781738, 0.0069621758460998535, 0.006976511955261231, 0.006973440170288086, 0.006864895820617676, 0.0069622077941894536, 0.006907904148101806, 0.0068607678413391115, 0.006890495777130127, 0.006944767951965332, 0.006980607986450196, 0.0068280320167541505, 0.006800384044647217, 0.006825984001159668, 0.0068392958641052244, 0.0067972798347473145, 0.006987775802612305, 0.006884352207183838, 0.006814720153808594, 0.0069928960800170895, 0.006944767951965332, 0.006947904109954834, 0.006923264026641846, 0.006933504104614257, 0.006866879940032959, 0.0068689918518066405, 0.006860799789428711, 0.006927360057830811, 0.0068853759765625, 0.006881279945373535, 0.006834176063537598, 0.006859776020050049, 0.0068249602317810056, 0.00677785587310791, 0.006947840213775635, 0.0069407358169555665, 0.006813695907592773, 0.006800384044647217, 0.006862847805023193, 0.006860799789428711, 0.00684441614151001, 0.006803455829620361, 0.006840320110321045, 0.006920191764831543, 0.006968319892883301, 0.006988800048828125, 0.006946815967559815, 0.006994944095611572, 0.00684441614151001, 0.006907904148101806, 0.0069027838706970214, 0.006920191764831543, 0.006819839954376221, 0.0068351998329162595, 0.006773759841918945, 0.006675456047058105, 0.006585343837738037, 0.006806528091430664, 0.006855679988861084, 0.006643712043762207, 0.006472703933715821, 0.006437888145446777, 0.0066304001808166506, 0.007577600002288819, 0.007721024036407471, 0.0077547521591186525, 0.00785100793838501, 0.007749631881713868, 0.0068351998329162595, 0.006603775978088379, 0.006500351905822754, 0.00643174409866333, 0.006866943836212158, 0.006481919765472412, 0.006470655918121338, 0.006870016098022461, 0.0069304962158203125, 0.006496255874633789, 0.006470655918121338, 0.0068392958641052244, 0.006429696083068847, 0.0064839677810668945, 0.006460415840148926, 0.0064430079460144046, 0.006456319808959961, 0.0064839677810668945, 0.006436863899230957, 0.006452223777770996, 0.0063836159706115725, 0.00638976001739502, 0.006412288188934326, 0.006387712001800537, 0.006394879817962646, 0.006393856048583985, 0.006397952079772949, 0.006401023864746094, 0.006408192157745361, 0.006446080207824707, 0.006409215927124024, 0.006403071880340576, 0.006406144142150879, 0.006808576107025147, 0.006459392070770263, 0.006416384220123291, 0.006378496170043945, 0.0063805441856384275, 0.006394879817962646, 0.00642252779006958, 0.006376448154449463, 0.006393856048583985, 0.006363135814666748, 0.00637440013885498, 0.0064009599685668946, 0.006432767868041992, 0.006375423908233643, 0.006388735771179199, 0.006397952079772949, 0.006404064178466797, 0.006409215927124024, 0.00637337589263916, 0.006421504020690918, 0.006479872226715088, 0.006394879817962646, 0.006446080207824707, 0.006385695934295654, 0.006416416168212891, 0.006411263942718506 ] }, "throughput": { "unit": "samples/s", "value": 148.294791506403 }, "energy": { "unit": "kWh", "cpu": 7.318548030323454e-08, "ram": 4.001063540392886e-08, "gpu": 1.3372095745678368e-07, "total": 2.4691707316394705e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4049942.7082388257 } } } }