{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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", "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.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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 907.3664, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 134, "total": 1.0021680932044983, "mean": 0.007478866367197749, "stdev": 0.00032660765429031905, "p50": 0.007470080137252807, "p90": 0.007775743913650513, "p95": 0.007970150208473206, "p99": 0.008753141727447506, "values": [ 0.008144895553588867, 0.00786630392074585, 0.008042495727539062, 0.007997439861297608, 0.007930880069732665, 0.007919616222381591, 0.007895040035247802, 0.007772160053253174, 0.007739391803741455, 0.007497727870941162, 0.007526400089263916, 0.007911424160003662, 0.007536640167236328, 0.007705599784851074, 0.007480319976806641, 0.007464896202087403, 0.007497727870941162, 0.007510015964508057, 0.007555071830749512, 0.007554048061370849, 0.00749567985534668, 0.0074332160949707035, 0.007540736198425293, 0.007588863849639893, 0.007542784214019775, 0.0075335679054260255, 0.007512063980102539, 0.007453695774078369, 0.007519231796264648, 0.007469056129455566, 0.0075346240997314455, 0.007666687965393066, 0.007638016223907471, 0.007674880027770996, 0.00769536018371582, 0.007671807765960693, 0.007659520149230957, 0.0077209601402282715, 0.007717887878417969, 0.007777279853820801, 0.007559167861938477, 0.007526400089263916, 0.0074711041450500485, 0.0077619199752807615, 0.007455743789672851, 0.007523327827453613, 0.007527423858642578, 0.007465983867645264, 0.007508992195129394, 0.007670783996582031, 0.0076871681213378906, 0.007607295989990235, 0.007513088226318359, 0.00769536018371582, 0.007525375843048096, 0.007378943920135498, 0.007372799873352051, 0.00743833589553833, 0.007490560054779053, 0.0076984319686889645, 0.007723008155822754, 0.007460800170898438, 0.00744755220413208, 0.007555071830749512, 0.00753868818283081, 0.007522304058074952, 0.008178688049316407, 0.007481279850006103, 0.00748748779296875, 0.007408576011657715, 0.0074741759300231934, 0.007396351814270019, 0.007390207767486572, 0.007214079856872559, 0.0072724480628967286, 0.007377920150756836, 0.0072202239036560055, 0.0070225920677185055, 0.007047167778015137, 0.007071743965148926, 0.007452672004699707, 0.007751679897308349, 0.007631872177124023, 0.007711743831634522, 0.007955455780029297, 0.009046015739440917, 0.008853504180908203, 0.008549375534057617, 0.007374847888946533, 0.007311359882354736, 0.00729804801940918, 0.007312384128570557, 0.00723967981338501, 0.007278592109680176, 0.0072427520751953125, 0.007527423858642578, 0.007308288097381592, 0.0072540159225463864, 0.007225344181060791, 0.007265279769897461, 0.007274496078491211, 0.0072837119102478025, 0.007455743789672851, 0.00728166389465332, 0.0072468481063842774, 0.0072837119102478025, 0.007259168148040771, 0.0072427520751953125, 0.0072427520751953125, 0.0069959678649902345, 0.007013408184051514, 0.007013376235961914, 0.007029759883880615, 0.006993919849395752, 0.006996992111206054, 0.007028736114501953, 0.007028800010681152, 0.007017471790313721, 0.006999008178710938, 0.007024640083312988, 0.007013343811035157, 0.007014400005340577, 0.007256063938140869, 0.007302144050598145, 0.007334911823272705, 0.007320576190948487, 0.007315455913543701, 0.007244800090789795, 0.007222271919250488, 0.007255040168762207, 0.0072499198913574215, 0.007271423816680909, 0.007269375801086426, 0.0072325119972229 ] }, "throughput": { "unit": "samples/s", "value": 133.7101040320753 }, "energy": { "unit": "kWh", "cpu": 8.53463769149628e-08, "ram": 4.6656152326184434e-08, "gpu": 1.6360724519424618e-07, "total": 2.9560977443539337e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3382838.0739776716 } } } }