{ "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": {}, "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": 722.7392, "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.27402099609375, "mean": 7.27402099609375, "stdev": 0.0, "p50": 7.27402099609375, "p90": 7.27402099609375, "p95": 7.27402099609375, "p99": 7.27402099609375, "values": [ 7.27402099609375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0576622013886884e-06, "ram": 5.635091494527186e-07, "gpu": 1.7852792059997076e-06, "total": 3.406450556841115e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 915.881984, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 153, "total": 1.000060898303985, "mean": 0.006536345740548926, "stdev": 0.0003840597003405196, "p50": 0.0064102401733398436, "p90": 0.00684380168914795, "p95": 0.006948863983154297, "p99": 0.007941038246154768, "values": [ 0.009036800384521485, 0.008821760177612305, 0.007065599918365479, 0.006977536201477051, 0.006961152076721191, 0.006904831886291504, 0.006908927917480469, 0.006907904148101806, 0.006896639823913574, 0.006940671920776367, 0.0068853759765625, 0.006884352207183838, 0.006838272094726563, 0.006774784088134766, 0.006789120197296142, 0.006799359798431396, 0.0068249602317810056, 0.006808576107025147, 0.0068321280479431154, 0.006785024166107178, 0.006675456047058105, 0.006810624122619629, 0.006841343879699707, 0.006758399963378906, 0.0068280320167541505, 0.00682700777053833, 0.0067348480224609375, 0.0067276802062988285, 0.006806528091430664, 0.006802432060241699, 0.0067348480224609375, 0.006767615795135498, 0.00667955207824707, 0.00667852783203125, 0.0067051520347595215, 0.0067420158386230465, 0.006660096168518067, 0.0066979842185974124, 0.00682092809677124, 0.006808576107025147, 0.00673689603805542, 0.006820864200592041, 0.006811583995819092, 0.006758399963378906, 0.00676966381072998, 0.007081984043121338, 0.006761472225189209, 0.006751232147216797, 0.006804480075836182, 0.00684441614151001, 0.006660096168518067, 0.006415359973907471, 0.006353983879089356, 0.0062904319763183595, 0.006411263942718506, 0.006309887886047363, 0.006432767868041992, 0.006355967998504639, 0.006300672054290772, 0.006372352123260498, 0.006322175979614258, 0.006384640216827392, 0.006362080097198486, 0.006304768085479737, 0.006437888145446777, 0.006426623821258545, 0.006495232105255127, 0.006487040042877197, 0.006379519939422608, 0.006467552185058594, 0.00637440013885498, 0.006404096126556396, 0.006441984176635742, 0.006718463897705078, 0.006660096168518067, 0.00667955207824707, 0.006569983959197998, 0.0065812478065490725, 0.006377471923828125, 0.006669312000274658, 0.006354944229125976, 0.006146048069000244, 0.006039552211761475, 0.006045695781707764, 0.006049791812896729, 0.006079487800598145, 0.0060405759811401364, 0.006371327877044678, 0.006440959930419922, 0.006549503803253174, 0.006603775978088379, 0.0065812478065490725, 0.0068055038452148435, 0.007048192024230957, 0.006526976108551025, 0.007128064155578613, 0.0065443840026855465, 0.006387712001800537, 0.006376448154449463, 0.0064102401733398436, 0.006360064029693604, 0.006403071880340576, 0.0063569917678833006, 0.006364160060882569, 0.006357952117919922, 0.00636518383026123, 0.006425600051879882, 0.006285312175750732, 0.006318048000335693, 0.006359039783477783, 0.006278143882751465, 0.006344704151153564, 0.006307839870452881, 0.006344704151153564, 0.006309887886047363, 0.0063508481979370115, 0.006342656135559082, 0.006310912132263183, 0.006367231845855713, 0.006352896213531494, 0.0063159999847412105, 0.006336512088775635, 0.006309887886047363, 0.006366208076477051, 0.0062975997924804685, 0.006333439826965332, 0.00637440013885498, 0.006330368041992188, 0.006337535858154297, 0.006315008163452148, 0.006339583873748779, 0.006343679904937744, 0.006315008163452148, 0.006347743988037109, 0.006316031932830811, 0.0063805441856384275, 0.006339583873748779, 0.006372352123260498, 0.006405183792114258, 0.006307839870452881, 0.006343743801116943, 0.006313983917236328, 0.006278143882751465, 0.006231040000915527, 0.006181888103485108, 0.006244351863861084, 0.006178815841674804, 0.0059955201148986816, 0.005937151908874512, 0.005963776111602783, 0.005929984092712402, 0.0059658241271972655, 0.005937151908874512 ] }, "throughput": { "unit": "samples/s", "value": 152.99068312687197 }, "energy": { "unit": "kWh", "cpu": 7.4504901056952e-08, "ram": 4.0729057367659933e-08, "gpu": 1.4459131064151092e-07, "total": 2.598252690661229e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3848740.36152931 } } } }