{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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", "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.14", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": null, "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": 889.925632, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 156, "total": 0.9961009263992305, "mean": 0.006385262348713019, "stdev": 0.00025829204945134317, "p50": 0.00636620807647705, "p90": 0.006680576086044311, "p95": 0.006791936159133911, "p99": 0.006908979249000549, "values": [ 0.007081984043121338, 0.0067123198509216305, 0.0069253120422363285, 0.0067358717918396, 0.006791168212890625, 0.006594560146331787, 0.0068055038452148435, 0.006895616054534912, 0.006779903888702392, 0.006809535980224609, 0.006662144184112549, 0.006684671878814697, 0.006677504062652588, 0.006591487884521485, 0.006553599834442139, 0.006545407772064209, 0.0065781760215759275, 0.00659660816192627, 0.006652927875518798, 0.006666240215301514, 0.006650879859924317, 0.006662144184112549, 0.006627327919006347, 0.006360064029693604, 0.006448128223419189, 0.0063569917678833006, 0.0064245758056640625, 0.006368256092071533, 0.006364160060882569, 0.006799295902252197, 0.006586368083953857, 0.00664572811126709, 0.006660096168518067, 0.006687744140625, 0.006639616012573242, 0.0065413122177124024, 0.006463488101959228, 0.006496255874633789, 0.006546432018280029, 0.006481919765472412, 0.006535168170928955, 0.006564864158630371, 0.006515711784362793, 0.006622208118438721, 0.006633471965789795, 0.006656000137329102, 0.006700032234191895, 0.006683648109436035, 0.006630335807800293, 0.006602752208709717, 0.006660096168518067, 0.00679423999786377, 0.00662937593460083, 0.006619135856628418, 0.006558720111846924, 0.006520832061767578, 0.006491136074066162, 0.0065474557876586915, 0.006557695865631104, 0.00653926420211792, 0.006635519981384277, 0.00653926420211792, 0.006497280120849609, 0.006551551818847656, 0.0065710082054138185, 0.00658739185333252, 0.0068689918518066405, 0.006614016056060791, 0.006527999877929688, 0.006356959819793701, 0.0064133119583129885, 0.006371327877044678, 0.006396927833557129, 0.006397952079772949, 0.006558720111846924, 0.006609856128692627, 0.006641727924346924, 0.0065146880149841305, 0.006606880187988281, 0.006535168170928955, 0.006295551776885986, 0.006172671794891358, 0.006043647766113281, 0.006220799922943115, 0.006280191898345947, 0.006095871925354004, 0.006001664161682129, 0.006007808208465576, 0.006046720027923584, 0.006097919940948486, 0.006146048069000244, 0.006148096084594727, 0.006137856006622314, 0.006218751907348633, 0.006295551776885986, 0.006294528007507324, 0.006146048069000244, 0.006043647766113281, 0.0062566399574279785, 0.0062269439697265625, 0.006307839870452881, 0.00628223991394043, 0.006259712219238281, 0.0062740478515625, 0.006294528007507324, 0.006296576023101807, 0.006262784004211426, 0.006292479991912842, 0.0062638077735900875, 0.006295551776885986, 0.006319104194641113, 0.006269951820373535, 0.006275072097778321, 0.006212607860565185, 0.00619212818145752, 0.006178815841674804, 0.00620851182937622, 0.006209536075592041, 0.006210559844970703, 0.006209536075592041, 0.006172671794891358, 0.006262784004211426, 0.0063190717697143555, 0.006069248199462891, 0.006045695781707764, 0.005897215843200684, 0.005884928226470947, 0.005897215843200684, 0.005899263858795166, 0.005964799880981446, 0.0059688959121704105, 0.005986303806304932, 0.005994495868682862, 0.006029344081878662, 0.00601804780960083, 0.00601804780960083, 0.005991424083709717, 0.005974016189575195, 0.005956607818603516, 0.005971968173980713, 0.005950463771820068, 0.005984255790710449, 0.006203392028808594, 0.0062156801223754886, 0.006181888103485108, 0.006408192157745361, 0.0062341117858886715, 0.006170656204223633, 0.006259712219238281, 0.006237184047698975, 0.006260735988616943, 0.006223872184753418, 0.00643174409866333, 0.00628223991394043, 0.0061972479820251464, 0.006235136032104492 ] }, "throughput": { "unit": "samples/s", "value": 156.61063639797902 }, "energy": { "unit": "kWh", "cpu": 7.317123323965139e-08, "ram": 3.996290985620968e-08, "gpu": 1.3100662058029227e-07, "total": 2.4414076367615334e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4095997.673401543 } } } }