{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": "1.22.0", "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 843.046912, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.873856 }, "latency": { "unit": "s", "values": [ 8.05171923828125 ], "count": 1, "total": 8.05171923828125, "mean": 8.05171923828125, "p50": 8.05171923828125, "p90": 8.05171923828125, "p95": 8.05171923828125, "p99": 8.05171923828125, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4829050416665268e-06, "ram": 7.937344631931898e-07, "gpu": 1.6338901960288865e-06, "total": 3.9105297008886035e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1053.851648, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "values": [ 0.005501952171325684, 0.005129216194152832, 0.0051281599998474125, 0.005210112094879151, 0.005232639789581299, 0.005204959869384766, 0.005243904113769531, 0.005219327926635742, 0.005232639789581299, 0.0052336640357971195, 0.005197824001312256, 0.005178368091583252, 0.005185535907745361, 0.005217472076416016, 0.005138368129730225, 0.005210112094879151, 0.00521727991104126, 0.005206016063690186, 0.005172224044799805, 0.005157887935638428, 0.0050503678321838375, 0.004981760025024414, 0.004984831809997559, 0.005039103984832764, 0.005091328144073487, 0.0050800638198852536, 0.005135359764099121, 0.005096447944641113, 0.005155839920043945, 0.005116928100585938, 0.005142496109008789, 0.005122047901153564, 0.00515174388885498, 0.005206016063690186, 0.0051968002319335935, 0.005961728096008301, 0.006065152168273926, 0.005567488193511963, 0.005568511962890625, 0.005478400230407715, 0.005382175922393799, 0.005278656005859375, 0.005299200057983398, 0.005407743930816651, 0.0051773438453674315, 0.005319680213928223, 0.005493760108947754, 0.005348351955413819, 0.005370751857757568, 0.005423168182373047, 0.005362688064575195, 0.0052674560546875, 0.005306367874145508, 0.005303296089172363, 0.005338175773620606, 0.005401599884033203, 0.005283840179443359, 0.005377024173736572, 0.005440512180328369, 0.005310463905334473, 0.005337088108062744, 0.0053678078651428224, 0.0053340158462524415, 0.00530944013595581, 0.005360671997070313, 0.0052930560111999515, 0.005323775768280029, 0.0053637118339538575, 0.005338111877441406, 0.005406720161437988, 0.005447679996490478, 0.005412864208221436, 0.005441535949707031, 0.00553984022140503, 0.005439487934112549, 0.005527552127838135, 0.005445631980895996, 0.005411839962005615, 0.00542310380935669, 0.005413887977600097, 0.005484543800354004, 0.0053002238273620605, 0.0052008957862854, 0.005390336036682129, 0.005129216194152832, 0.005078015804290771, 0.005090303897857666, 0.005064703941345215, 0.005070847988128662, 0.004924416065216064, 0.004884479999542236, 0.0052367358207702636, 0.005108736038208008, 0.004927487850189209, 0.004959231853485108, 0.0048527359962463375, 0.0048752641677856446, 0.005037248134613037, 0.00517632007598877, 0.005160096168518066, 0.005095295906066895, 0.0051968002319335935, 0.005212160110473632, 0.005238687992095948, 0.005312511920928955, 0.0054159040451049805, 0.00536678409576416, 0.005444608211517334, 0.005252096176147461, 0.005075967788696289, 0.0050657281875610355, 0.0051036162376403805, 0.005047296047210693, 0.005259263992309571, 0.005039103984832764, 0.005066944122314453, 0.005458943843841553, 0.005033984184265137, 0.0050954241752624516, 0.005070847988128662, 0.0050094079971313476, 0.00505241584777832, 0.005073919773101807, 0.005028863906860351, 0.0050124797821044925, 0.005037055969238281, 0.0050421757698059086, 0.005033984184265137, 0.005048319816589355, 0.005035007953643799, 0.005004288196563721, 0.005000192165374756, 0.005005311965942383, 0.005051392078399658, 0.005048319816589355, 0.005037055969238281, 0.005018623828887939, 0.005029888153076172, 0.005032959938049316, 0.005180511951446533, 0.005014527797698975, 0.0050360321998596195, 0.005001215934753418, 0.005015552043914795, 0.005049344062805176, 0.005022719860076904, 0.004999167919158935, 0.0050769920349121095, 0.005790592193603516, 0.005018655776977539, 0.005022719860076904, 0.005039103984832764, 0.005192704200744629, 0.005027935981750488, 0.005125951766967773, 0.005067776203155518, 0.005018623828887939, 0.005004288196563721, 0.005124095916748047, 0.0050462718009948735, 0.0050032639503479, 0.00501043176651001, 0.0050360321998596195, 0.005022719860076904, 0.004984831809997559, 0.004997119903564453, 0.005032896041870117, 0.005035007953643799, 0.004998144149780274, 0.005005311965942383, 0.005067776203155518, 0.005008384227752686, 0.005022719860076904, 0.0050206718444824215, 0.005055488109588623, 0.005025792121887207, 0.005049344062805176, 0.00501964807510376, 0.005078015804290771, 0.0050206718444824215, 0.0051149120330810545, 0.005032959938049316, 0.005064703941345215, 0.00499622392654419, 0.0050022401809692385, 0.005295104026794434, 0.005329919815063477, 0.005124095916748047, 0.0050657281875610355, 0.005107711791992187, 0.005021696090698242, 0.005016448020935059, 0.0050462718009948735 ], "count": 193, "total": 0.9992327032089231, "mean": 0.00517737151921722, "p50": 0.005124095916748047, "p90": 0.005421663856506348, "p95": 0.0054808576583862305, "p99": 0.005804283065795896, "stdev": 0.00018669121523174926, "stdev_": 3.6059072550384714 }, "throughput": { "unit": "samples/s", "value": 193.14820199559344 }, "energy": { "unit": "kWh", "cpu": 5.736436915337133e-08, "ram": 3.135044349506824e-08, "gpu": 3.3498424234501556e-07, "total": 4.236990549934551e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2360165.7549494584 } } } }