{ "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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.43.3", "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.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 757.993472, "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.26730322265625, "mean": 7.26730322265625, "stdev": 0.0, "p50": 7.26730322265625, "p90": 7.26730322265625, "p95": 7.26730322265625, "p99": 7.26730322265625, "values": [ 7.26730322265625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.603727870517307e-06, "ram": 8.633249915016942e-07, "gpu": 3.6577807039986365e-06, "total": 6.124833566017637e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 889.491456, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 202, "total": 1.0133554263114926, "mean": 0.0050166110213440245, "stdev": 0.0001919301321774559, "p50": 0.005001215934753418, "p90": 0.005191372776031494, "p95": 0.005288857579231263, "p99": 0.005788578529357911, "values": [ 0.005182464122772217, 0.00501145601272583, 0.00511078405380249, 0.005067776203155518, 0.0050421757698059086, 0.005212160110473632, 0.005086207866668701, 0.005035007953643799, 0.005073919773101807, 0.00511078405380249, 0.0050094079971313476, 0.005041152000427246, 0.0050032639503479, 0.00505241584777832, 0.004952064037322998, 0.004895743846893311, 0.0049459199905395506, 0.0049387521743774416, 0.004874239921569825, 0.004860928058624267, 0.00486195182800293, 0.004859903812408447, 0.004860928058624267, 0.005008384227752686, 0.00506060791015625, 0.005053440093994141, 0.005336063861846924, 0.005172224044799805, 0.0052070398330688475, 0.005131264209747314, 0.00515174388885498, 0.005112832069396973, 0.00506060791015625, 0.004929535865783692, 0.005051392078399658, 0.005115903854370117, 0.005188608169555664, 0.005180416107177735, 0.005152768135070801, 0.00516812801361084, 0.00515174388885498, 0.005126143932342529, 0.005191679954528809, 0.00516096019744873, 0.0051006398200988765, 0.005339231967926026, 0.00537286376953125, 0.005171199798583984, 0.0053002238273620605, 0.00515174388885498, 0.004983808040618896, 0.004994048118591309, 0.004992000102996826, 0.005098495960235596, 0.0050503678321838375, 0.0050360321998596195, 0.004926464080810547, 0.005091328144073487, 0.005094399929046631, 0.0051363840103149415, 0.00506879997253418, 0.005163968086242676, 0.005172224044799805, 0.005057536125183106, 0.005288959980010987, 0.005174272060394287, 0.005145599842071533, 0.005192704200744629, 0.0052111358642578124, 0.005788671970367432, 0.005058559894561767, 0.005121024131774903, 0.005152768135070801, 0.005169151782989502, 0.00516096019744873, 0.005135359764099121, 0.005144576072692871, 0.005130239963531494, 0.005022719860076904, 0.005032959938049316, 0.005022719860076904, 0.005141503810882568, 0.0050954241752624516, 0.005216256141662597, 0.005235712051391602, 0.005064703941345215, 0.0050063362121582035, 0.005023744106292725, 0.004994048118591309, 0.005182464122772217, 0.0050165758132934574, 0.004847616195678711, 0.004980735778808594, 0.004846591949462891, 0.004851712226867676, 0.004851712226867676, 0.004848639965057373, 0.004985951900482178, 0.00517632007598877, 0.005156864166259765, 0.005197887897491455, 0.005156864166259765, 0.005117951869964599, 0.005115903854370117, 0.005203968048095703, 0.005179391860961914, 0.00515174388885498, 0.0050135040283203125, 0.004999167919158935, 0.005135359764099121, 0.005031936168670655, 0.005148672103881836, 0.005167103767395019, 0.004858880043029785, 0.004848639965057373, 0.004848639965057373, 0.005029888153076172, 0.0050206718444824215, 0.004851712226867676, 0.004848639965057373, 0.004846591949462891, 0.004846591949462891, 0.004848639965057373, 0.004851712226867676, 0.004847616195678711, 0.0049530878067016604, 0.0050094079971313476, 0.004973567962646484, 0.005066751956939697, 0.0050462718009948735, 0.005286911964416504, 0.005898111820220947, 0.005891071796417236, 0.005779327869415284, 0.005717951774597168, 0.0054455680847167965, 0.0048865280151367185, 0.0048527359962463375, 0.004846591949462891, 0.004848639965057373, 0.004847616195678711, 0.004847616195678711, 0.004848639965057373, 0.004848639965057373, 0.0048496642112731934, 0.004848639965057373, 0.004853759765625, 0.004846591949462891, 0.004850687980651855, 0.004851712226867676, 0.0048496642112731934, 0.004847616195678711, 0.004850687980651855, 0.0048496642112731934, 0.004844543933868409, 0.004992000102996826, 0.004844543933868409, 0.004904960155487061, 0.0048455681800842285, 0.0048455681800842285, 0.004848639965057373, 0.004848639965057373, 0.004857855796813965, 0.0048496642112731934, 0.004851712226867676, 0.004846591949462891, 0.004846591949462891, 0.0048496642112731934, 0.004847616195678711, 0.0048496642112731934, 0.004848639965057373, 0.004853759765625, 0.004846591949462891, 0.004850687980651855, 0.0048455681800842285, 0.0048527359962463375, 0.00485478401184082, 0.0048496642112731934, 0.004994048118591309, 0.004851712226867676, 0.004851712226867676, 0.004846591949462891, 0.004843520164489746, 0.004847616195678711, 0.0048527359962463375, 0.004942912101745606, 0.00485478401184082, 0.004847616195678711, 0.004851712226867676, 0.0048558077812194825, 0.004842495918273926, 0.0048496642112731934, 0.004853759765625, 0.004847616195678711, 0.0048527359962463375, 0.004848639965057373, 0.004846591949462891, 0.0048496642112731934, 0.004847616195678711, 0.0048568320274353025, 0.0048527359962463375, 0.004850687980651855 ] }, "throughput": { "unit": "samples/s", "value": 199.33775924530127 }, "energy": { "unit": "kWh", "cpu": 5.7821133539111865e-08, "ram": 3.150908272745634e-08, "gpu": 3.4556107309434645e-07, "total": 4.3489128936091467e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2299425.22295521 } } } }