{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "transformers", "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": {}, "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": 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.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.41.0", "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": 875.66336, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.85792 }, "latency": { "unit": "s", "count": 203, "total": 1.0166026911735546, "mean": 0.005007895030411594, "stdev": 0.00022403309790798063, "p50": 0.0048752641677856446, "p90": 0.005192499160766602, "p95": 0.005464166545867918, "p99": 0.005909811153411865, "values": [ 0.005554175853729248, 0.0050206718444824215, 0.005022719860076904, 0.0050462718009948735, 0.004977663993835449, 0.004985856056213379, 0.0050032639503479, 0.005037055969238281, 0.004975615978240967, 0.004947968006134033, 0.004994048118591309, 0.005127168178558349, 0.004960256099700928, 0.004943871974945068, 0.004987904071807861, 0.005161983966827393, 0.004865024089813232, 0.00487014389038086, 0.004863999843597412, 0.00487116813659668, 0.00487116813659668, 0.004866047859191895, 0.004863999843597412, 0.004863999843597412, 0.004865024089813232, 0.004868095874786377, 0.004863999843597412, 0.004866047859191895, 0.004863999843597412, 0.004866047859191895, 0.00486297607421875, 0.004866047859191895, 0.005203968048095703, 0.005167103767395019, 0.005141503810882568, 0.00517632007598877, 0.005187583923339844, 0.005180416107177735, 0.005152736186981201, 0.005096447944641113, 0.005126143932342529, 0.004989952087402344, 0.0050206718444824215, 0.005165056228637695, 0.004974592208862305, 0.005115903854370117, 0.005178368091583252, 0.0051701760292053225, 0.005193727970123291, 0.005253119945526123, 0.005598207950592041, 0.005268479824066162, 0.005180416107177735, 0.005158912181854248, 0.005150720119476319, 0.005145599842071533, 0.005207104206085205, 0.005163008213043213, 0.0051660799980163576, 0.00515993595123291, 0.00515174388885498, 0.005073919773101807, 0.005088255882263183, 0.005183487892150879, 0.005131264209747314, 0.005182464122772217, 0.005186560153961181, 0.005026815891265869, 0.005283872127532959, 0.005184512138366699, 0.005187583923339844, 0.005129216194152832, 0.005152768135070801, 0.0050954241752624516, 0.0050800638198852536, 0.005363647937774658, 0.006073344230651856, 0.005180416107177735, 0.006146048069000244, 0.00530841588973999, 0.005488639831542969, 0.005472256183624268, 0.00515993595123291, 0.005121024131774903, 0.005222367763519287, 0.005142528057098389, 0.005123072147369385, 0.005122047901153564, 0.004929535865783692, 0.0048752641677856446, 0.005022719860076904, 0.005163008213043213, 0.00506060791015625, 0.00487116813659668, 0.004869120121002197, 0.004872191905975342, 0.004873216152191162, 0.004868095874786377, 0.00487014389038086, 0.005623807907104492, 0.005824512004852295, 0.005823488235473633, 0.005911551952362061, 0.005569536209106446, 0.005391359806060791, 0.005082111835479736, 0.004937727928161621, 0.004872191905975342, 0.004873216152191162, 0.004873248100280761, 0.004869120121002197, 0.004869120121002197, 0.004872191905975342, 0.004874239921569825, 0.004872191905975342, 0.004873216152191162, 0.004873216152191162, 0.00487116813659668, 0.00487116813659668, 0.004874239921569825, 0.004873216152191162, 0.004872191905975342, 0.00487116813659668, 0.004874239921569825, 0.004874239921569825, 0.0048752641677856446, 0.004868095874786377, 0.004874239921569825, 0.0048793601989746095, 0.004872191905975342, 0.004868095874786377, 0.0048752641677856446, 0.004876287937164306, 0.004876287937164306, 0.0048752641677856446, 0.00487116813659668, 0.004878335952758789, 0.00487116813659668, 0.004876287937164306, 0.00487014389038086, 0.00487014389038086, 0.004873216152191162, 0.004868095874786377, 0.004874239921569825, 0.00487116813659668, 0.004874239921569825, 0.00487116813659668, 0.004877312183380127, 0.0048752641677856446, 0.004876287937164306, 0.00487116813659668, 0.0048752641677856446, 0.004873216152191162, 0.004869120121002197, 0.004873216152191162, 0.004874239921569825, 0.004874239921569825, 0.004873216152191162, 0.004873216152191162, 0.004876287937164306, 0.0048793601989746095, 0.00487116813659668, 0.004876287937164306, 0.004873216152191162, 0.0048752641677856446, 0.004874239921569825, 0.00487116813659668, 0.004874239921569825, 0.004868095874786377, 0.00487116813659668, 0.004873216152191162, 0.00487116813659668, 0.004872191905975342, 0.0048752641677856446, 0.0048752641677856446, 0.0048752641677856446, 0.004869120121002197, 0.004873216152191162, 0.004868095874786377, 0.004872191905975342, 0.004874239921569825, 0.00487116813659668, 0.00487014389038086, 0.004876287937164306, 0.004873280048370361, 0.004876287937164306, 0.004874239921569825, 0.004874239921569825, 0.0048752641677856446, 0.004873216152191162, 0.004869120121002197, 0.004873216152191162, 0.004873216152191162, 0.004869120121002197, 0.004872191905975342, 0.004868095874786377, 0.004876287937164306, 0.004872191905975342, 0.00487014389038086, 0.004872191905975342, 0.00487116813659668, 0.004874239921569825, 0.00487116813659668 ] }, "throughput": { "unit": "samples/s", "value": 199.68469664944453 }, "energy": { "unit": "kWh", "cpu": 5.7807861015810614e-08, "ram": 3.160807856674135e-08, "gpu": 3.1283517849760604e-07, "total": 4.02251118080158e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2486009.2490798905 } } } }