{ "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": {}, "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, "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.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 717.033472, "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.17789501953125, "mean": 7.17789501953125, "stdev": 0.0, "p50": 7.17789501953125, "p90": 7.17789501953125, "p95": 7.17789501953125, "p99": 7.17789501953125, "values": [ 7.17789501953125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0403672854105633e-06, "ram": 5.544146980939976e-07, "gpu": 1.7838903159997366e-06, "total": 3.3786722995042975e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 910.434304, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 152, "total": 0.9969694085121157, "mean": 0.006559009266527076, "stdev": 0.00036825961952330935, "p50": 0.0067384159564971916, "p90": 0.006893158435821533, "p95": 0.00699591679573059, "p99": 0.007094190216064453, "values": [ 0.007053311824798584, 0.007045119762420654, 0.007024640083312988, 0.006959104061126709, 0.006972415924072266, 0.006915008068084717, 0.006941696166992187, 0.006825984001159668, 0.006815743923187256, 0.006808576107025147, 0.0068403520584106444, 0.006855679988861084, 0.006778880119323731, 0.006765567779541016, 0.0067900800704956054, 0.006673408031463623, 0.006807551860809326, 0.0068494720458984375, 0.00689356803894043, 0.006772736072540283, 0.006815743923187256, 0.006792191982269287, 0.006752255916595459, 0.006799359798431396, 0.006853631973266602, 0.006840320110321045, 0.006852608203887939, 0.006833151817321777, 0.006915071964263916, 0.006785024166107178, 0.006818816184997558, 0.006889472007751465, 0.006818816184997558, 0.006773759841918945, 0.00672870397567749, 0.006730751991271973, 0.00672051191329956, 0.006779903888702392, 0.006796288013458252, 0.006647808074951172, 0.0067870721817016606, 0.006754303932189941, 0.006854656219482422, 0.0067983360290527345, 0.006884352207183838, 0.006860799789428711, 0.007090176105499267, 0.006738912105560302, 0.00675328016281128, 0.006830080032348633, 0.006793216228485107, 0.006793216228485107, 0.006831103801727295, 0.006853631973266602, 0.006779903888702392, 0.00672051191329956, 0.00674508810043335, 0.006700032234191895, 0.006765567779541016, 0.006810624122619629, 0.006660096168518067, 0.0067338237762451176, 0.006752255916595459, 0.006676479816436768, 0.006788095951080322, 0.00677785587310791, 0.006762495994567871, 0.006840288162231445, 0.006937600135803222, 0.0068576960563659665, 0.006756351947784424, 0.006847455978393555, 0.0068321280479431154, 0.006808576107025147, 0.0067420158386230465, 0.00674508810043335, 0.006795263767242431, 0.0067358717918396, 0.0067041277885437015, 0.006627327919006347, 0.006502399921417237, 0.006848512172698974, 0.00672051191329956, 0.006758399963378906, 0.007706624031066894, 0.0070860800743103025, 0.006737919807434082, 0.006673408031463623, 0.006744063854217529, 0.007065599918365479, 0.006822912216186523, 0.00673686408996582, 0.006909952163696289, 0.006724607944488525, 0.006417439937591553, 0.007098368167877197, 0.00643891191482544, 0.006293504238128662, 0.006346752166748047, 0.006344704151153564, 0.0062638077735900875, 0.006336512088775635, 0.006051839828491211, 0.006275072097778321, 0.006397024154663086, 0.006326272010803223, 0.006398975849151611, 0.0062566399574279785, 0.006315008163452148, 0.006228991985321045, 0.006269951820373535, 0.0062392959594726564, 0.006245376110076905, 0.00626585578918457, 0.006229023933410644, 0.00628223991394043, 0.006242303848266601, 0.00628223991394043, 0.006270976066589356, 0.006212607860565185, 0.0059955201148986816, 0.0059699201583862304, 0.00601907205581665, 0.005963776111602783, 0.005993472099304199, 0.005960703849792481, 0.006038527965545654, 0.005952511787414551, 0.005987328052520752, 0.005946368217468262, 0.005976064205169678, 0.005928959846496582, 0.005984255790710449, 0.005983232021331787, 0.006015999794006348, 0.005956607818603516, 0.005987328052520752, 0.005957632064819336, 0.00601907205581665, 0.005954559803009033, 0.005982207775115967, 0.005946368217468262, 0.006009856224060059, 0.005983263969421387, 0.006003712177276611, 0.005980160236358643, 0.006072319984436035, 0.00602623987197876, 0.006073344230651856, 0.0060067839622497555, 0.006050816059112549, 0.006017024040222168 ] }, "throughput": { "unit": "samples/s", "value": 152.4620501915359 }, "energy": { "unit": "kWh", "cpu": 7.288777348779056e-08, "ram": 3.9852148520967164e-08, "gpu": 1.398007253374257e-07, "total": 2.525406473461834e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3959758.59929272 } } } }