{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_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": "5", "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": false, "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 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.256576, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 8, "gpu_vram_mb": 549621596160, "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 908.382208, "max_global_vram": 841.908224, "max_process_vram": 43497.910272, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.511119140625, "mean": 7.511119140625, "stdev": 0.0, "p50": 7.511119140625, "p90": 7.511119140625, "p95": 7.511119140625, "p99": 7.511119140625, "values": [ 7.511119140625 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1023.553536, "max_global_vram": 896.483328, "max_process_vram": 225253.66272, "max_reserved": 555.74528, "max_allocated": 499.4432 }, "latency": { "unit": "s", "count": 137, "total": 1.0006069338321688, "mean": 0.0073037002469501355, "stdev": 0.0012466950524910908, "p50": 0.007050865173339844, "p90": 0.007869486904144287, "p95": 0.00796971082687378, "p99": 0.008647513847351072, "values": [ 0.008431502342224121, 0.007967662811279298, 0.007711983203887939, 0.0075035028457641605, 0.007576144218444824, 0.007539342880249023, 0.007522863864898682, 0.007695982933044434, 0.007831343173980713, 0.007555343151092529, 0.007509583950042724, 0.007424783229827881, 0.007402063846588135, 0.007375184059143066, 0.00731550407409668, 0.007299503803253174, 0.007278543949127197, 0.00762302303314209, 0.007527184009552002, 0.007508623123168945, 0.007517583847045898, 0.007211503982543946, 0.00723854398727417, 0.007167503833770752, 0.007165744781494141, 0.00711678409576416, 0.007142064094543457, 0.007136624813079834, 0.007164944171905518, 0.008517260551452637, 0.007434224128723145, 0.007007024765014649, 0.007025904178619384, 0.020221555709838867, 0.002310075044631958, 0.005992947101593017, 0.006975504875183105, 0.006936305046081543, 0.00696014404296875, 0.006967345237731934, 0.006947504997253418, 0.006960625171661377, 0.0069950251579284665, 0.007113903999328613, 0.006991024971008301, 0.006978065013885498, 0.007014383792877197, 0.006975184917449951, 0.007272784233093262, 0.007977902889251709, 0.008387500762939454, 0.008216141700744629, 0.008720781326293945, 0.007806542873382568, 0.007837102890014649, 0.007801423072814942, 0.007903983116149902, 0.007481743812561035, 0.00740558385848999, 0.007538863182067871, 0.007380623817443848, 0.007005585193634033, 0.007005905151367188, 0.007019185066223145, 0.0069716649055480955, 0.006975504875183105, 0.006950704097747803, 0.006967345237731934, 0.006996624946594239, 0.0071700639724731445, 0.007067824840545654, 0.006989744186401367, 0.0069905447959899905, 0.007006225109100342, 0.007015024185180664, 0.007009264945983887, 0.0070212650299072265, 0.007013265132904053, 0.007015504837036133, 0.007003503799438477, 0.0069980649948120114, 0.006984465122222901, 0.00700270414352417, 0.00704894495010376, 0.006978865146636963, 0.006968143939971924, 0.006975665092468262, 0.007001104831695556, 0.006944304943084717, 0.006983983993530274, 0.0070145449638366695, 0.006981585025787353, 0.00698414421081543, 0.006978704929351807, 0.007033265113830566, 0.006993584156036377, 0.00701070499420166, 0.007024624824523926, 0.007029263973236084, 0.006983664989471436, 0.007011505126953125, 0.007043025016784668, 0.0070622248649597165, 0.007077904224395752, 0.007091983795166016, 0.007064624786376953, 0.007003664016723633, 0.0070017452239990235, 0.007023984909057617, 0.007004784107208252, 0.006989105224609375, 0.007008144855499268, 0.006989424228668213, 0.007001585006713868, 0.007031984806060791, 0.00714302396774292, 0.006987985134124756, 0.00699294376373291, 0.00705054521560669, 0.0070193448066711425, 0.007050865173339844, 0.007056304931640625, 0.007253744125366211, 0.007078703880310059, 0.007061745166778564, 0.00706990385055542, 0.0070622248649597165, 0.007047344207763672, 0.007465263843536377, 0.007863342761993408, 0.0078891019821167, 0.007878703117370605, 0.007912622928619386, 0.007904303073883057, 0.007958861827850341, 0.007431983947753906, 0.007391344070434571 ] }, "throughput": { "unit": "samples/s", "value": 136.91690050089036 }, "energy": null, "efficiency": null } } }