{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.0+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.223-212.873.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.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 827.232256, "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.4812119140625, "mean": 7.4812119140625, "stdev": 0.0, "p50": 7.4812119140625, "p90": 7.4812119140625, "p95": 7.4812119140625, "p99": 7.4812119140625, "values": [ 7.4812119140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4742512034723002e-06, "ram": 7.922750709906242e-07, "gpu": 1.725556936000086e-06, "total": 3.99208321046301e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1036.288, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 191, "total": 0.9954697923660283, "mean": 0.005211883729665068, "stdev": 0.00017988014569407285, "p50": 0.005219168186187744, "p90": 0.005429247856140137, "p95": 0.00547380805015564, "p99": 0.005547315406799316, "values": [ 0.0055214080810546875, 0.005405695915222168, 0.005596159934997558, 0.005526527881622314, 0.005490560054779053, 0.005465087890625, 0.0054876160621643065, 0.005442560195922852, 0.0054609918594360355, 0.005422080039978027, 0.005436416149139404, 0.005452799797058106, 0.005389279842376709, 0.005294079780578613, 0.00523686408996582, 0.005353375911712647, 0.005265408039093018, 0.005174272060394287, 0.0052705278396606445, 0.005202943801879883, 0.005099520206451416, 0.005117951869964599, 0.005066751956939697, 0.005044223785400391, 0.00522649621963501, 0.005238783836364746, 0.005173247814178467, 0.00520908784866333, 0.005329919815063477, 0.005339136123657226, 0.005284863948822022, 0.005384191989898681, 0.0053340158462524415, 0.0052705278396606445, 0.005219168186187744, 0.0051036162376403805, 0.005222400188446045, 0.005440512180328369, 0.005322751998901368, 0.005336063861846924, 0.005381120204925537, 0.005255167961120606, 0.005379072189331055, 0.005369855880737305, 0.005302271842956543, 0.005314559936523438, 0.005232639789581299, 0.005248000144958496, 0.00531763219833374, 0.0052674560546875, 0.005324672222137452, 0.005287968158721924, 0.005235712051391602, 0.005134335994720459, 0.005115903854370117, 0.005140511989593506, 0.00506982421875, 0.0050934720039367675, 0.0052204160690307614, 0.0051784319877624515, 0.005313536167144775, 0.005275648117065429, 0.005239808082580567, 0.005146624088287354, 0.005105728149414062, 0.005359551906585693, 0.006333439826965332, 0.005488639831542969, 0.005429247856140137, 0.005352447986602784, 0.005429247856140137, 0.005368832111358642, 0.005302271842956543, 0.0053002238273620605, 0.005097472190856934, 0.005141503810882568, 0.0052408318519592285, 0.005302271842956543, 0.005403647899627686, 0.005314559936523438, 0.005246975898742676, 0.00515174388885498, 0.005123072147369385, 0.005210976123809815, 0.005172224044799805, 0.005089280128479004, 0.005093376159667969, 0.005085152149200439, 0.00516812801361084, 0.005342304229736328, 0.0051998720169067385, 0.00530944013595581, 0.005471263885498047, 0.005298143863677979, 0.005215231895446777, 0.005236703872680664, 0.005277728080749512, 0.005246975898742676, 0.005157887935638428, 0.005237696170806885, 0.005242879867553711, 0.005185535907745361, 0.0052048320770263674, 0.005235712051391602, 0.0052367358207702636, 0.005392384052276611, 0.00536575984954834, 0.005444608211517334, 0.00540780782699585, 0.005341184139251709, 0.005476352214813233, 0.005370880126953125, 0.00530944013595581, 0.005286911964416504, 0.005239808082580567, 0.005268479824066162, 0.00530944013595581, 0.005156864166259765, 0.005137407779693603, 0.0052715520858764645, 0.00530944013595581, 0.005163008213043213, 0.0051567678451538085, 0.005217216014862061, 0.0050953922271728515, 0.00501043176651001, 0.0051159682273864745, 0.0052008957862854, 0.005169023990631103, 0.005157919883728027, 0.005021696090698242, 0.004958208084106445, 0.005017600059509277, 0.00499507188796997, 0.005085184097290039, 0.005169151782989502, 0.005285888195037842, 0.005426176071166992, 0.00532480001449585, 0.005385216236114502, 0.005438464164733887, 0.00551423978805542, 0.005541888236999512, 0.005271520137786865, 0.005139455795288086, 0.005134335994720459, 0.005141503810882568, 0.0050769920349121095, 0.005119999885559082, 0.005128191947937012, 0.0050124797821044925, 0.004993023872375488, 0.005057536125183106, 0.0050206718444824215, 0.004997151851654053, 0.005051392078399658, 0.004999167919158935, 0.004998144149780274, 0.005001215934753418, 0.004944896221160889, 0.004985856056213379, 0.0049909758567810054, 0.004959231853485108, 0.0050032639503479, 0.004968448162078858, 0.004984831809997559, 0.004988927841186524, 0.00496230411529541, 0.004971519947052002, 0.005038080215454102, 0.0049387521743774416, 0.004963327884674072, 0.00511078405380249, 0.005275648117065429, 0.005111807823181152, 0.005063680171966553, 0.005131264209747314, 0.005058623790740967, 0.005007359981536865, 0.004980735778808594, 0.005033984184265137, 0.004992000102996826, 0.004902912139892578, 0.004930560111999512, 0.004951039791107178, 0.004926464080810547, 0.004957183837890625, 0.004918272018432617, 0.004941823959350586, 0.004946944236755371, 0.004934656143188477 ] }, "throughput": { "unit": "samples/s", "value": 191.86920734785141 }, "energy": { "unit": "kWh", "cpu": 5.7879235376017e-08, "ram": 3.164435680988659e-08, "gpu": 3.559203389365806e-07, "total": 4.4544393112248416e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2244951.452094268 } } } }