{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "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": 764.555264, "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.4771708984375, "mean": 7.4771708984375, "stdev": 0.0, "p50": 7.4771708984375, "p90": 7.4771708984375, "p95": 7.4771708984375, "p99": 7.4771708984375, "values": [ 7.4771708984375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.1165700819451749e-06, "ram": 5.961537842207845e-07, "gpu": 1.753334736000374e-06, "total": 3.4660586021663337e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 958.439424, "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.9966756477355959, "mean": 0.006557076629839446, "stdev": 0.00040061069675088423, "p50": 0.00666265606880188, "p90": 0.006786969757080079, "p95": 0.006845798468589783, "p99": 0.00814943038940431, "values": [ 0.009116671562194823, 0.00890880012512207, 0.007419839859008789, 0.006944767951965332, 0.006968319892883301, 0.006884352207183838, 0.006779903888702392, 0.00674508810043335, 0.0067358717918396, 0.006726655960083008, 0.006806528091430664, 0.006739967823028564, 0.006710271835327148, 0.006673408031463623, 0.006642687797546387, 0.006690815925598144, 0.0067870721817016606, 0.006900735855102539, 0.006781951904296875, 0.006749184131622315, 0.006751232147216797, 0.006661119937896728, 0.006714431762695312, 0.00678604793548584, 0.006744063854217529, 0.00674508810043335, 0.006807551860809326, 0.006722559928894043, 0.006737919807434082, 0.0067041277885437015, 0.006719456195831299, 0.00672051191329956, 0.00673689603805542, 0.006719488143920899, 0.006605823993682861, 0.0066447358131408694, 0.006685696125030518, 0.006632448196411133, 0.006666240215301514, 0.006706175804138184, 0.006683648109436035, 0.006690815925598144, 0.00674508810043335, 0.00678604793548584, 0.006816768169403077, 0.006789120197296142, 0.006795263767242431, 0.006684671878814697, 0.006649856090545654, 0.006702079772949219, 0.006772736072540283, 0.006780928134918213, 0.00676966381072998, 0.006749184131622315, 0.006768671989440918, 0.006687744140625, 0.006659071922302246, 0.006718463897705078, 0.006691904067993164, 0.0066938881874084475, 0.006795263767242431, 0.006647808074951172, 0.0066826238632202144, 0.006666240215301514, 0.006677504062652588, 0.006681600093841553, 0.006687744140625, 0.006666240215301514, 0.006756351947784424, 0.006766592025756836, 0.006811647891998291, 0.006751232147216797, 0.006765567779541016, 0.0067338237762451176, 0.00672051191329956, 0.006761472225189209, 0.006744063854217529, 0.006675456047058105, 0.006746111869812011, 0.006662144184112549, 0.0066109437942504885, 0.006645760059356689, 0.006515711784362793, 0.006532095909118653, 0.006672383785247803, 0.006589439868927002, 0.006386688232421875, 0.006348800182342529, 0.00637337589263916, 0.006441984176635742, 0.0064245758056640625, 0.006501376152038574, 0.006740992069244385, 0.006658048152923584, 0.006770688056945801, 0.006881279945373535, 0.006543295860290527, 0.006449088096618653, 0.006482944011688232, 0.006401023864746094, 0.0062822079658508305, 0.006090752124786377, 0.006154240131378174, 0.006065152168273926, 0.006107103824615478, 0.0060826239585876464, 0.006137856006622314, 0.006115327835083008, 0.006120448112487793, 0.006124544143676758, 0.006062079906463623, 0.006131711959838867, 0.0060631041526794435, 0.006094848155975342, 0.006076416015625, 0.006093855857849121, 0.006079487800598145, 0.006095871925354004, 0.006072319984436035, 0.006103040218353272, 0.006069248199462891, 0.006109183788299561, 0.006074368000030517, 0.006073344230651856, 0.00608460807800293, 0.0060703039169311525, 0.006103104114532471, 0.006107135772705078, 0.0060999679565429685, 0.006069248199462891, 0.006118400096893311, 0.006056960105895996, 0.00613478422164917, 0.006081535816192627, 0.006102015972137451, 0.0060928001403808595, 0.006110208034515381, 0.006105088233947754, 0.006148096084594727, 0.006404096126556396, 0.00638976001739502, 0.006427648067474365, 0.006555647850036621, 0.006663167953491211, 0.006599679946899414, 0.006385663986206055, 0.006393856048583985, 0.006409215927124024, 0.006404096126556396, 0.006388735771179199, 0.006379519939422608, 0.0063805441856384275 ] }, "throughput": { "unit": "samples/s", "value": 152.50698694739606 }, "energy": { "unit": "kWh", "cpu": 7.126090531852673e-08, "ram": 3.896396506618273e-08, "gpu": 1.3013483464670876e-07, "total": 2.403597050314182e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4160431.133285368 } } } }