{ "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": "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": 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.236096, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 1, "gpu_vram_mb": 68702699520, "optimum_benchmark_version": "0.2.1", "optimum_benchmark_commit": "c594845efb520077430f4fe3f536bc1756e2b290", "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1009.557504, "max_global_vram": 897.142784, "max_process_vram": 177571.79904, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 137, "total": 0.9980697560310363, "mean": 0.0072851807009564696, "stdev": 0.0003758726213710794, "p50": 0.007223018169403076, "p90": 0.007646856594085694, "p95": 0.007821160697937011, "p99": 0.007973332366943357, "values": [ 0.007863656044006347, 0.008014055252075195, 0.0077446169853210445, 0.00781965684890747, 0.007775496959686279, 0.007558537006378174, 0.00744061803817749, 0.007349256992340088, 0.007344297885894776, 0.007188138008117676, 0.007176619052886963, 0.007412137985229492, 0.007293097972869873, 0.007300457954406738, 0.007225257873535156, 0.007351656913757324, 0.007140139102935791, 0.007189418792724609, 0.00708621883392334, 0.00716989803314209, 0.007187178134918213, 0.007236937999725342, 0.007252458095550537, 0.007345417976379395, 0.0072502179145812985, 0.007332618236541748, 0.0071926178932189945, 0.007103658199310302, 0.007100778102874756, 0.010521727561950684, 0.007169258117675781, 0.006943018913269043, 0.0069753389358520506, 0.007223018169403076, 0.006904139041900635, 0.006982539176940918, 0.00699085807800293, 0.006960618972778321, 0.006983658790588379, 0.007009098052978516, 0.006947338104248047, 0.007065739154815674, 0.007399336814880371, 0.00735277795791626, 0.007015657901763916, 0.007187977790832519, 0.007212138175964356, 0.007035178184509277, 0.00702509880065918, 0.007035337924957276, 0.007042698860168457, 0.007019177913665771, 0.006978538990020752, 0.006999978065490723, 0.00702509880065918, 0.007054537773132324, 0.007236618041992188, 0.007082057952880859, 0.006998379230499268, 0.007047177791595459, 0.007014379024505615, 0.007028937816619873, 0.007034059047698975, 0.007002217769622803, 0.007066218852996826, 0.0070977392196655276, 0.007019978046417236, 0.007041258811950684, 0.007029098033905029, 0.007551177024841309, 0.007401896953582764, 0.0070228590965271, 0.006996938228607178, 0.007366538047790527, 0.0078054161071777345, 0.007806215763092041, 0.007306858062744141, 0.006968617916107178, 0.0069822192192077635, 0.007070218086242676, 0.0069943790435791015, 0.007037578105926513, 0.007084138870239258, 0.007062698841094971, 0.007077578067779541, 0.007052938938140869, 0.007057738780975342, 0.007008617877960205, 0.007030858993530274, 0.007072457790374756, 0.0070506992340087895, 0.007330537796020508, 0.007841576099395751, 0.007827176094055175, 0.007900936126708984, 0.007840136051177978, 0.007401576995849609, 0.007537736892700196, 0.007515176773071289, 0.007599496841430664, 0.00755277681350708, 0.0074626970291137695, 0.007279977798461914, 0.007461577892303467, 0.007523336887359619, 0.007393417835235595, 0.0074577369689941405, 0.00761133623123169, 0.007376617908477783, 0.0073862171173095705, 0.007361577987670898, 0.007250536918640136, 0.007291018009185791, 0.0072924580574035645, 0.007551177024841309, 0.0074674968719482425, 0.007340617179870605, 0.007516936779022217, 0.007334857940673828, 0.007283176898956299, 0.0073890981674194335, 0.007344777107238769, 0.00707469892501831, 0.007023338794708252, 0.007042858123779297, 0.007193418025970459, 0.007483336925506592, 0.0072471780776977536, 0.007012299060821533, 0.007141417980194091, 0.007555656909942627, 0.007715816020965576, 0.007339657783508301, 0.007700137138366699, 0.007371177196502685, 0.007140777111053467, 0.0072924580574035645 ] }, "throughput": { "unit": "samples/s", "value": 137.2649548512517 }, "energy": null, "efficiency": null } } }