{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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", "numactl": false, "numactl_kwargs": {}, "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.41.0", "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": 902.053888, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 154, "total": 1.0006455368995668, "mean": 0.006497698291555627, "stdev": 0.00019682674142234934, "p50": 0.006544895887374878, "p90": 0.006640742349624634, "p95": 0.006758399963378906, "p99": 0.007214720292091369, "values": [ 0.007384031772613525, 0.007064576148986816, 0.006868031978607178, 0.006865920066833496, 0.006855679988861084, 0.006785024166107178, 0.006744063854217529, 0.0068484477996826176, 0.006706175804138184, 0.007577600002288819, 0.006573056221008301, 0.006412288188934326, 0.006341631889343262, 0.006407167911529541, 0.0063836159706115725, 0.006335487842559814, 0.006372352123260498, 0.006312960147857666, 0.006384640216827392, 0.006367231845855713, 0.0063211522102355954, 0.006354944229125976, 0.006284287929534912, 0.006360064029693604, 0.006352896213531494, 0.006302752017974853, 0.006342656135559082, 0.006303743839263916, 0.006360064029693604, 0.0063569917678833006, 0.006311935901641846, 0.006339583873748779, 0.00633241605758667, 0.006362112045288086, 0.006504447937011719, 0.006562816143035889, 0.006632448196411133, 0.006574079990386963, 0.006583295822143555, 0.006632448196411133, 0.006271999835968017, 0.00642252779006958, 0.006617087841033936, 0.0066007041931152345, 0.006631423950195312, 0.006603775978088379, 0.006562816143035889, 0.006627327919006347, 0.0066119680404663084, 0.006582272052764892, 0.006652927875518798, 0.006635519981384277, 0.006586368083953857, 0.006619135856628418, 0.006593535900115967, 0.006574079990386963, 0.006623231887817383, 0.006602752208709717, 0.00657203197479248, 0.006643712043762207, 0.006606880187988281, 0.006592512130737305, 0.006638591766357422, 0.0066713600158691405, 0.006599679946899414, 0.006624256134033203, 0.006556608200073242, 0.0066109437942504885, 0.006608895778656006, 0.006563839912414551, 0.006615039825439453, 0.006608895778656006, 0.006317088127136231, 0.006352896213531494, 0.006329343795776367, 0.006278143882751465, 0.006344704151153564, 0.00643071985244751, 0.006592512130737305, 0.006598656177520752, 0.0065669121742248536, 0.006609951972961426, 0.006612991809844971, 0.00658739185333252, 0.006619135856628418, 0.006675456047058105, 0.006344704151153564, 0.006622208118438721, 0.006564864158630371, 0.006600671768188476, 0.006647808074951172, 0.006563839912414551, 0.0066416640281677245, 0.0065812478065490725, 0.006536191940307618, 0.006582272052764892, 0.006583295822143555, 0.00657203197479248, 0.006575104236602783, 0.006560768127441406, 0.0065443840026855465, 0.006552576065063476, 0.006518784046173095, 0.00653107213973999, 0.0065771517753601075, 0.006555647850036621, 0.006511616230010986, 0.006558720111846924, 0.006511616230010986, 0.006552576065063476, 0.006534143924713135, 0.006535168170928955, 0.006562816143035889, 0.0065413122177124024, 0.006529024124145508, 0.006545407772064209, 0.006554624080657959, 0.00652185583114624, 0.006549503803253174, 0.006554656028747559, 0.006543360233306885, 0.006584320068359375, 0.006285312175750732, 0.006294464111328125, 0.0062873601913452145, 0.006261760234832763, 0.006299647808074951, 0.006259712219238281, 0.006293439865112304, 0.006248479843139649, 0.006291456222534179, 0.006295551776885986, 0.0062679038047790524, 0.006296576023101807, 0.006307839870452881, 0.006322175979614258, 0.006326272010803223, 0.0063170561790466305, 0.006315008163452148, 0.006296576023101807, 0.006301695823669433, 0.006262784004211426, 0.006325247764587402, 0.006287295818328858, 0.006281216144561768, 0.006291456222534179, 0.006275072097778321, 0.0062904319763183595, 0.006231040000915527, 0.006271999835968017, 0.006268928050994873, 0.0062341117858886715, 0.006261792182922363, 0.006235136032104492 ] }, "throughput": { "unit": "samples/s", "value": 153.9006514506213 }, "energy": { "unit": "kWh", "cpu": 7.567035333534884e-08, "ram": 4.136408918436541e-08, "gpu": 1.399470334012737e-07, "total": 2.5698147592098794e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3891331.0635178313 } } } }