{ "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", "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.0", "optimum_benchmark_commit": "14fc8ac8cd252f949be10158bdcefa6a3b7c596a", "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": 1008.586752, "max_global_vram": 1877.520384, "max_process_vram": 217791.074304, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 125, "total": 0.9969597449302678, "mean": 0.00797567795944214, "stdev": 0.00034910504622801, "p50": 0.007892810821533203, "p90": 0.00818657112121582, "p95": 0.008236267280578614, "p99": 0.009576479988098146, "values": [ 0.010629453659057618, 0.00960977268218994, 0.009471053123474122, 0.00806497097015381, 0.008004651069641114, 0.008003050804138184, 0.00796065092086792, 0.007984650135040284, 0.008042409896850585, 0.007884490966796874, 0.007951530933380127, 0.007988010883331299, 0.007993131160736085, 0.007957930088043214, 0.00794753122329712, 0.00796497106552124, 0.007970090866088866, 0.008013131141662598, 0.007941130161285401, 0.007950250148773194, 0.007956330776214599, 0.007967531204223633, 0.007964170932769776, 0.008037771224975586, 0.008031370162963868, 0.008002889633178712, 0.007964651107788085, 0.00790769100189209, 0.00793873119354248, 0.007903530120849609, 0.007963691234588623, 0.007894731044769288, 0.00794097089767456, 0.00791664981842041, 0.00792641019821167, 0.008008650779724121, 0.008339530944824218, 0.008371051788330077, 0.00821233081817627, 0.008167370796203614, 0.008203371047973633, 0.008206412315368653, 0.008208170890808105, 0.008207210540771484, 0.008199371337890626, 0.0082422513961792, 0.008161931037902833, 0.00811953067779541, 0.008039051055908204, 0.00796945095062256, 0.007916810989379883, 0.007859850883483887, 0.007865449905395509, 0.007815690994262695, 0.007862889766693115, 0.007805449962615967, 0.007896010875701904, 0.007840650081634521, 0.007826251029968262, 0.007845611095428466, 0.007828010082244872, 0.00783553123474121, 0.007840490818023682, 0.007831850051879884, 0.007819211006164551, 0.007862730979919434, 0.00785329008102417, 0.0087705717086792, 0.007892810821533203, 0.007845769882202149, 0.00787169122695923, 0.007900331020355224, 0.007904971122741699, 0.007900650024414063, 0.007875531196594239, 0.007890891075134278, 0.00783089017868042, 0.007868010997772217, 0.007884331226348877, 0.00783473014831543, 0.007970571041107178, 0.007912331104278565, 0.007870891094207765, 0.00791664981842041, 0.007891370773315429, 0.007831690788269043, 0.00781344985961914, 0.007891370773315429, 0.007837450981140137, 0.007789289951324463, 0.00784337091445923, 0.007793610095977783, 0.007809930801391601, 0.007792971134185791, 0.007873610019683838, 0.007786890983581543, 0.007846089839935302, 0.00788641119003296, 0.007870730876922607, 0.007835050106048584, 0.007865770816802979, 0.007879210948944091, 0.007920331001281738, 0.007900010108947754, 0.007820489883422852, 0.007856650829315186, 0.00781072998046875, 0.007838251113891602, 0.007832490921020507, 0.007843369960784913, 0.007859371185302734, 0.007880011081695556, 0.007871210098266601, 0.007860811233520507, 0.00785313081741333, 0.007862730026245117, 0.007905770778656005, 0.007885130882263183, 0.007879049777984619, 0.007906890869140626, 0.00787713098526001, 0.007890729904174805, 0.007890729904174805, 0.00780881118774414, 0.007114569187164307 ] }, "throughput": { "unit": "samples/s", "value": 125.38119080098177 }, "energy": null, "efficiency": null } } }