{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 799.162368, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.9870517578125, "mean": 7.9870517578125, "stdev": 0.0, "p50": 7.9870517578125, "p90": 7.9870517578125, "p95": 7.9870517578125, "p99": 7.9870517578125, "values": [ 7.9870517578125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.523608562500199e-06, "ram": 1.3423439428583533e-06, "gpu": 3.62166956399939e-06, "total": 7.487622069357942e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1089.286144, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 150, "total": 0.9992682905197142, "mean": 0.006661788603464763, "stdev": 0.00021736465453809132, "p50": 0.006667263984680176, "p90": 0.006838272094726563, "p95": 0.006951833581924438, "p99": 0.007703009381294247, "values": [ 0.007003136157989502, 0.006979584217071533, 0.006907904148101806, 0.006960127830505371, 0.006931456089019775, 0.0069283838272094726, 0.006832096099853515, 0.006941696166992187, 0.007547904014587403, 0.007121920108795166, 0.006694911956787109, 0.006699007987976074, 0.006686719894409179, 0.00667955207824707, 0.00664572811126709, 0.006675456047058105, 0.006659071922302246, 0.006669312000274658, 0.0066938881874084475, 0.006556672096252441, 0.0064471039772033695, 0.006456352233886718, 0.00642252779006958, 0.006500351905822754, 0.006432767868041992, 0.0064174079895019534, 0.0066344962120056155, 0.0067051520347595215, 0.006614016056060791, 0.006680575847625733, 0.0066713919639587406, 0.006670335769653321, 0.0066713600158691405, 0.006670335769653321, 0.0064245758056640625, 0.006479872226715088, 0.006460415840148926, 0.00658841609954834, 0.006749184131622315, 0.00662937593460083, 0.0066713600158691405, 0.006686719894409179, 0.006673408031463623, 0.006651904106140137, 0.0066499199867248535, 0.006619135856628418, 0.006856704235076904, 0.006690815925598144, 0.006636544227600098, 0.006627327919006347, 0.006659071922302246, 0.006662112236022949, 0.0066375679969787596, 0.006710271835327148, 0.006651904106140137, 0.006603775978088379, 0.0066406397819519045, 0.006633471965789795, 0.006594560146331787, 0.0066344962120056155, 0.0066119680404663084, 0.006616000175476074, 0.006623231887817383, 0.006631423950195312, 0.006433792114257812, 0.0066119680404663084, 0.0068618240356445315, 0.006642687797546387, 0.006721504211425781, 0.006743040084838867, 0.006396927833557129, 0.006421504020690918, 0.00638976001739502, 0.006434815883636475, 0.006435840129852295, 0.0064174079895019534, 0.006412288188934326, 0.0064204797744750975, 0.006399968147277832, 0.006433792114257812, 0.00638259220123291, 0.00683622407913208, 0.0066938881874084475, 0.006696959972381592, 0.006631423950195312, 0.006651904106140137, 0.006799424171447754, 0.00667955207824707, 0.006668288230895996, 0.0066007041931152345, 0.006624192237854004, 0.006552576065063476, 0.0063907837867736815, 0.006440959930419922, 0.00642252779006958, 0.0063836159706115725, 0.00642252779006958, 0.006401023864746094, 0.006421504020690918, 0.0064737281799316405, 0.006402048110961914, 0.006433792114257812, 0.006378496170043945, 0.006402048110961914, 0.0064102401733398436, 0.0067758078575134275, 0.006685696125030518, 0.006919167995452881, 0.00785203218460083, 0.007924736022949219, 0.007020544052124023, 0.0065771517753601075, 0.006684671878814697, 0.006716415882110595, 0.006659071922302246, 0.006713344097137451, 0.006700032234191895, 0.006638591766357422, 0.0066938881874084475, 0.00673689603805542, 0.0066713600158691405, 0.006726719856262207, 0.006718463897705078, 0.0066744318008422855, 0.006740992069244385, 0.0067420158386230465, 0.006654975891113281, 0.006713344097137451, 0.006696959972381592, 0.006651904106140137, 0.006721536159515381, 0.006672383785247803, 0.006632448196411133, 0.00672051191329956, 0.006719488143920899, 0.00667955207824707, 0.00669593620300293, 0.00673689603805542, 0.006690815925598144, 0.006667263984680176, 0.0066877121925354, 0.006669312000274658, 0.006659071922302246, 0.0066938881874084475, 0.0066826238632202144, 0.006661119937896728, 0.0067010560035705566, 0.0067041277885437015, 0.006667263984680176, 0.006722559928894043 ] }, "throughput": { "unit": "samples/s", "value": 150.10983679066385 }, "energy": { "unit": "kWh", "cpu": 7.672732945340256e-08, "ram": 4.190022030068636e-08, "gpu": 1.4601803796129068e-07, "total": 2.6464558771537963e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3778638.4750743606 } } } }