{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "transformers", "model_type": "vit", "model": "google/vit-base-patch16-224", "processor": "google/vit-base-patch16-224", "device": "cuda", "device_ids": "0", "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": 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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.43.1", "transformers_commit": null, "accelerate_version": "0.33.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": { "load": { "memory": { "unit": "MB", "max_ram": 757.78048, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.25018603515625, "mean": 7.25018603515625, "stdev": 0.0, "p50": 7.25018603515625, "p90": 7.25018603515625, "p95": 7.25018603515625, "p99": 7.25018603515625, "values": [ 7.25018603515625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5443243914180333e-06, "ram": 8.306493843629899e-07, "gpu": 3.5091694739995682e-06, "total": 5.8841432497805915e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 890.036224, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 199, "total": 1.0076704039573674, "mean": 0.00506367037164506, "stdev": 0.00022626401777115618, "p50": 0.005045248031616211, "p90": 0.00523898868560791, "p95": 0.005516902351379393, "p99": 0.005906698150634766, "values": [ 0.005500927925109863, 0.005228544235229492, 0.0052971520423889164, 0.0052367358207702636, 0.005224448204040527, 0.005248000144958496, 0.005191679954528809, 0.0052091522216796875, 0.005180416107177735, 0.005172224044799805, 0.005180416107177735, 0.005128191947937012, 0.005230591773986816, 0.00517632007598877, 0.0050769920349121095, 0.00515174388885498, 0.005138432025909424, 0.0051333122253417966, 0.004868095874786377, 0.00499507188796997, 0.005131264209747314, 0.005075967788696289, 0.005054463863372802, 0.005292031764984131, 0.0051998720169067385, 0.00515993595123291, 0.0052070398330688475, 0.005149695873260498, 0.005153791904449463, 0.005135359764099121, 0.004981760025024414, 0.005107711791992187, 0.005175295829772949, 0.005194752216339111, 0.0051968002319335935, 0.005368832111358642, 0.005261312007904053, 0.005181439876556396, 0.005219327926635742, 0.0051476478576660155, 0.005088255882263183, 0.005141503810882568, 0.005208064079284668, 0.005214208126068115, 0.005153791904449463, 0.005164031982421875, 0.005100543975830078, 0.005007359981536865, 0.004915200233459473, 0.0050032639503479, 0.005024767875671386, 0.005082111835479736, 0.004951039791107178, 0.0050462718009948735, 0.005079040050506592, 0.005119999885559082, 0.005102591991424561, 0.00516812801361084, 0.005283840179443359, 0.005206016063690186, 0.00515993595123291, 0.005351424217224121, 0.005146624088287354, 0.0051066880226135255, 0.005045248031616211, 0.00501964807510376, 0.005053440093994141, 0.005155839920043945, 0.0052008957862854, 0.005834752082824707, 0.005089280128479004, 0.005144576072692871, 0.005156864166259765, 0.005045248031616211, 0.004996096134185791, 0.005014527797698975, 0.005114880084991455, 0.005127168178558349, 0.005371903896331787, 0.005156864166259765, 0.005096447944641113, 0.00501145601272583, 0.005101568222045898, 0.005075967788696289, 0.00515993595123291, 0.005093376159667969, 0.005085184097290039, 0.005086207866668701, 0.005092351913452148, 0.005210112094879151, 0.005181439876556396, 0.005180416107177735, 0.005204991817474365, 0.005161983966827393, 0.0052070398330688475, 0.0051773438453674315, 0.005154816150665284, 0.005311488151550293, 0.005163008213043213, 0.005179391860961914, 0.005051392078399658, 0.004977663993835449, 0.005158912181854248, 0.0050462718009948735, 0.004980735778808594, 0.004966400146484375, 0.0048752641677856446, 0.004873216152191162, 0.004873216152191162, 0.004986879825592041, 0.005026815891265869, 0.004866047859191895, 0.00487116813659668, 0.004874239921569825, 0.0048752641677856446, 0.004874239921569825, 0.0048752641677856446, 0.00487116813659668, 0.00487116813659668, 0.005750783920288086, 0.0059054079055786135, 0.0059699201583862304, 0.005971968173980713, 0.005777408123016357, 0.0057077760696411135, 0.005660672187805176, 0.005698560237884521, 0.005805056095123291, 0.005115903854370117, 0.0048752641677856446, 0.004876287937164306, 0.004872191905975342, 0.00487116813659668, 0.00487116813659668, 0.0048752641677856446, 0.004872191905975342, 0.004877344131469726, 0.004872191905975342, 0.004876287937164306, 0.0048752641677856446, 0.0048752641677856446, 0.0048752641677856446, 0.00487116813659668, 0.004874239921569825, 0.0048752641677856446, 0.00487014389038086, 0.004872191905975342, 0.004874239921569825, 0.004873216152191162, 0.004874239921569825, 0.004874239921569825, 0.0048752641677856446, 0.004874239921569825, 0.0048752641677856446, 0.0048752641677856446, 0.004866047859191895, 0.004874239921569825, 0.00487116813659668, 0.004874239921569825, 0.004872191905975342, 0.004874239921569825, 0.004873216152191162, 0.0048752641677856446, 0.004874239921569825, 0.00487116813659668, 0.004873216152191162, 0.00487116813659668, 0.004876287937164306, 0.004873216152191162, 0.004873216152191162, 0.004869120121002197, 0.004874239921569825, 0.004874271869659424, 0.004873216152191162, 0.004873216152191162, 0.0048752641677856446, 0.004873216152191162, 0.004877312183380127, 0.00487116813659668, 0.004872191905975342, 0.004873216152191162, 0.004872191905975342, 0.004877312183380127, 0.004873216152191162, 0.004876287937164306, 0.004874239921569825, 0.004874239921569825, 0.004984831809997559, 0.004873216152191162, 0.004876287937164306, 0.004873216152191162, 0.0048752641677856446, 0.0048752641677856446, 0.00487014389038086, 0.004874239921569825, 0.004873216152191162, 0.004874239921569825, 0.00487116813659668, 0.00487014389038086 ] }, "throughput": { "unit": "samples/s", "value": 197.48520867386654 }, "energy": { "unit": "kWh", "cpu": 5.78411539458425e-08, "ram": 3.162351802645726e-08, "gpu": 3.3524645039810276e-07, "total": 4.247111223704025e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2354541.586805612 } } } }