{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_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": 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.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.41.0", "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": 902.156288, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 147, "total": 0.9969946255683902, "mean": 0.006782276364410816, "stdev": 0.00032673706660115413, "p50": 0.006776800155639648, "p90": 0.007134003257751465, "p95": 0.007171993446350097, "p99": 0.007365120105743406, "values": [ 0.0074711041450500485, 0.007156735897064209, 0.00723356819152832, 0.00724070405960083, 0.007236544132232666, 0.007143392086029053, 0.007147520065307617, 0.007131135940551757, 0.007130080223083496, 0.007179296016693116, 0.007050240039825439, 0.006961152076721191, 0.00694271993637085, 0.0069959678649902345, 0.007064576148986816, 0.00703385591506958, 0.007090176105499267, 0.0070830078125, 0.006994944095611572, 0.007028736114501953, 0.007112671852111816, 0.0070594558715820314, 0.007145472049713135, 0.007077888011932373, 0.007096320152282715, 0.007061503887176514, 0.007039999961853028, 0.006999040126800537, 0.006966271877288818, 0.006980576038360596, 0.007072768211364746, 0.007024640083312988, 0.007011328220367432, 0.007041024208068848, 0.007061503887176514, 0.007138304233551026, 0.007110655784606934, 0.00698367977142334, 0.007066624164581299, 0.007130112171173096, 0.007057407855987549, 0.0070553598403930665, 0.007047167778015137, 0.006961088180541992, 0.00705836820602417, 0.007048192024230957, 0.007104512214660645, 0.007030784130096435, 0.006996992111206054, 0.007029759883880615, 0.006999040126800537, 0.006969344139099121, 0.0071526398658752445, 0.007077888011932373, 0.007070720195770264, 0.007174143791198731, 0.007069695949554444, 0.0071792640686035155, 0.007741439819335938, 0.007062528133392334, 0.007061503887176514, 0.007166975975036621, 0.0069928960800170895, 0.006952960014343262, 0.006873087882995605, 0.0069928960800170895, 0.00701638412475586, 0.0067123198509216305, 0.006689760208129883, 0.006776800155639648, 0.006748159885406494, 0.006967296123504638, 0.006863872051239014, 0.006815743923187256, 0.006930431842803955, 0.007023615837097168, 0.006818816184997558, 0.006738944053649902, 0.006709248065948486, 0.006743040084838867, 0.006759424209594727, 0.006759424209594727, 0.006729728221893311, 0.006740992069244385, 0.006767615795135498, 0.006699007987976074, 0.006703104019165039, 0.006737919807434082, 0.006730751991271973, 0.00669593620300293, 0.006699007987976074, 0.006662144184112549, 0.006680575847625733, 0.00672051191329956, 0.006706175804138184, 0.006670335769653321, 0.006725632190704346, 0.006703104019165039, 0.006684671878814697, 0.00673583984375, 0.006755328178405762, 0.00667852783203125, 0.006702079772949219, 0.006715392112731934, 0.006685696125030518, 0.00667852783203125, 0.0063610877990722655, 0.006318079948425293, 0.006327328205108643, 0.006305791854858398, 0.006334464073181153, 0.006331391811370849, 0.006371327877044678, 0.006355967998504639, 0.006293504238128662, 0.006323200225830078, 0.006309887886047363, 0.006325247764587402, 0.006344704151153564, 0.006288383960723877, 0.006344704151153564, 0.006323200225830078, 0.006316031932830811, 0.006329343795776367, 0.006299647808074951, 0.006333439826965332, 0.006306816101074219, 0.006345695972442627, 0.006303743839263916, 0.006332352161407471, 0.006379519939422608, 0.006334464073181153, 0.006352896213531494, 0.006342656135559082, 0.006364160060882569, 0.006347775936126709, 0.006333439826965332, 0.006350912094116211, 0.006329343795776367, 0.0063088321685791015, 0.006335487842559814, 0.006293504238128662, 0.006333439826965332, 0.006285312175750732, 0.006339583873748779, 0.006311935901641846, 0.006322175979614258 ] }, "throughput": { "unit": "samples/s", "value": 147.44312178833945 }, "energy": { "unit": "kWh", "cpu": 7.800057377905874e-08, "ram": 4.263954711907565e-08, "gpu": 1.3857101728947498e-07, "total": 2.592111381876094e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3857858.9137486424 } } } }