{ "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": "d920fe9626db1e7915f6d3574b5b54b0159cd100", "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": 1011.109888, "max_global_vram": 897.138688, "max_process_vram": 190471.282688, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 116, "total": 1.0012317423820498, "mean": 0.008631308123983186, "stdev": 0.0005121272580937299, "p50": 0.00873374891281128, "p90": 0.009061668395996094, "p95": 0.009153548002243042, "p99": 0.009307956743240357, "values": [ 0.008815988540649414, 0.009057588577270508, 0.009206229209899903, 0.009325908660888673, 0.009200148582458496, 0.009138869285583497, 0.009111828804016113, 0.008656788825988769, 0.008726869583129883, 0.008587828636169434, 0.008493590354919433, 0.008672148704528808, 0.008578229904174804, 0.008461588859558106, 0.008932788848876954, 0.008930869102478027, 0.008958229064941406, 0.008949589729309083, 0.008932310104370117, 0.009004948616027832, 0.00906574821472168, 0.00897150993347168, 0.008951990127563477, 0.008966549873352051, 0.00894766902923584, 0.00892798900604248, 0.008887349128723144, 0.008942388534545898, 0.00896078872680664, 0.00896574878692627, 0.008925588607788085, 0.00893390941619873, 0.008957908630371094, 0.00895966911315918, 0.008967028617858887, 0.008897748947143555, 0.00895470905303955, 0.00894606876373291, 0.008960148811340333, 0.008939189910888672, 0.008844788551330567, 0.009191669464111329, 0.009179828643798828, 0.00912782859802246, 0.009137748718261719, 0.009144787788391113, 0.00879086971282959, 0.011746705055236817, 0.008908948898315429, 0.00872799015045166, 0.008724629402160644, 0.008727828979492187, 0.008665109634399414, 0.008699989318847657, 0.008677749633789063, 0.008676790237426757, 0.008767349243164062, 0.00873694896697998, 0.008718870162963866, 0.008756308555603028, 0.008776948928833008, 0.008708149909973144, 0.00873854923248291, 0.008770709037780761, 0.00822959041595459, 0.00809807014465332, 0.008182550430297851, 0.007785271167755127, 0.00780767011642456, 0.008098710060119628, 0.007810710906982422, 0.008158069610595703, 0.007787350177764892, 0.007811670780181885, 0.007758230209350586, 0.007793750762939453, 0.007747350215911865, 0.008730548858642578, 0.008741909980773926, 0.008718548774719238, 0.008503990173339844, 0.00855902862548828, 0.008770869255065919, 0.00875102996826172, 0.008390549659729005, 0.008147351264953613, 0.008121271133422852, 0.00816415023803711, 0.00812911033630371, 0.008287830352783203, 0.008350230216979981, 0.007905110836029053, 0.008252630233764649, 0.00825199031829834, 0.008473270416259766, 0.008221590042114257, 0.008022390365600585, 0.00802655029296875, 0.00804175090789795, 0.007787990093231201, 0.007759671211242675, 0.00784191083908081, 0.007779190063476563, 0.0078039908409118655, 0.007913909912109374, 0.008536470413208009, 0.008741429328918457, 0.008822069168090821, 0.008717907905578613, 0.008715029716491698, 0.008763348579406739, 0.0087894287109375, 0.008597749710083008, 0.00880302906036377, 0.008765109062194824, 0.008743670463562012 ] }, "throughput": { "unit": "samples/s", "value": 115.85729366112803 }, "energy": null, "efficiency": null } } }