{ "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-211.872.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.1", "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": 826.884096, "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.72356005859375, "mean": 7.72356005859375, "stdev": 0.0, "p50": 7.72356005859375, "p90": 7.72356005859375, "p95": 7.72356005859375, "p99": 7.72356005859375, "values": [ 7.72356005859375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4729389333335044e-06, "ram": 7.916889420226179e-07, "gpu": 1.7338902760007796e-06, "total": 3.998518151356902e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1035.96032, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 184, "total": 0.9943345265388489, "mean": 0.0054039919920589605, "stdev": 0.00024237947628442632, "p50": 0.005435392141342163, "p90": 0.005651126384735108, "p95": 0.005709158277511597, "p99": 0.00609052659988403, "values": [ 0.005652416229248047, 0.0056145601272583005, 0.00567193603515625, 0.005710976123809814, 0.006049791812896729, 0.00577023983001709, 0.005651423931121826, 0.005748799800872803, 0.005604351997375488, 0.005545983791351319, 0.005553152084350586, 0.005650432109832764, 0.005545983791351319, 0.005605375766754151, 0.005482495784759522, 0.005484543800354004, 0.005604351997375488, 0.005583871841430664, 0.005434368133544922, 0.005427231788635254, 0.005560319900512695, 0.005313695907592774, 0.005337088108062744, 0.005341184139251709, 0.005322751998901368, 0.00540064001083374, 0.00532480001449585, 0.005482495784759522, 0.005652480125427246, 0.005495808124542236, 0.005542975902557373, 0.005627903938293457, 0.0054568958282470706, 0.005527552127838135, 0.0054568958282470706, 0.005409823894500732, 0.005611519813537597, 0.00566374397277832, 0.005594111919403076, 0.005534880161285401, 0.005576704025268555, 0.005586048126220703, 0.005516287803649903, 0.005699584007263184, 0.005499872207641601, 0.005485568046569824, 0.00552345609664917, 0.005480480194091797, 0.0055316481590271, 0.0055277438163757325, 0.005499904155731201, 0.005452799797058106, 0.005225344181060791, 0.0051998720169067385, 0.005406720161437988, 0.005508096218109131, 0.005526591777801513, 0.005420032024383545, 0.005470208168029785, 0.005393407821655274, 0.005239808082580567, 0.005173247814178467, 0.005265344142913819, 0.005409728050231934, 0.005547008037567139, 0.005599232196807862, 0.0064542717933654785, 0.005653600215911866, 0.005610367774963379, 0.005682176113128662, 0.005508096218109131, 0.005569536209106446, 0.005393407821655274, 0.0051701760292053225, 0.00532480001449585, 0.00553772783279419, 0.005724127769470215, 0.005647136211395264, 0.005454847812652588, 0.005542975902557373, 0.005609471797943116, 0.005516287803649903, 0.005567488193511963, 0.005359615802764893, 0.005380928039550781, 0.005379263877868652, 0.005388288021087646, 0.005359615802764893, 0.005565440177917481, 0.005594111919403076, 0.005582848072052002, 0.005414912223815918, 0.005477375984191894, 0.005477375984191894, 0.005443583965301513, 0.0053021440505981446, 0.005369919776916504, 0.005482495784759522, 0.00536678409576416, 0.0053820481300354, 0.005436416149139404, 0.005491615772247315, 0.005636096000671387, 0.005606400012969971, 0.005824512004852295, 0.005637119770050049, 0.0056780800819396975, 0.005710847854614258, 0.006289408206939697, 0.005577727794647217, 0.005593088150024414, 0.0055582718849182125, 0.005582848072052002, 0.005450751781463623, 0.005371903896331787, 0.00562278413772583, 0.005519360065460205, 0.0053043198585510255, 0.005342207908630371, 0.005296127796173096, 0.0052971520423889164, 0.005147552013397217, 0.005493760108947754, 0.005640160083770752, 0.005436416149139404, 0.005277696132659912, 0.0051608958244323735, 0.005273600101470947, 0.005422080039978027, 0.0052368960380554195, 0.005323775768280029, 0.00535756778717041, 0.0053309440612792965, 0.005392384052276611, 0.0053606400489807126, 0.005334047794342041, 0.005520448207855224, 0.005500927925109863, 0.005472095966339111, 0.005911551952362061, 0.005237760066986084, 0.0053933758735656735, 0.0051404800415039064, 0.005100543975830078, 0.005244895935058593, 0.0050954241752624516, 0.005043360233306884, 0.005051392078399658, 0.005143455982208252, 0.005047296047210693, 0.0050462718009948735, 0.0050432000160217285, 0.005047296047210693, 0.005013440132141113, 0.005020768165588379, 0.005049471855163574, 0.005032959938049316, 0.005016448020935059, 0.005145599842071533, 0.005100512027740479, 0.005026879787445068, 0.0050135040283203125, 0.0050769920349121095, 0.005153791904449463, 0.0052971520423889164, 0.005119103908538819, 0.00511897611618042, 0.005243904113769531, 0.005116928100585938, 0.005104640007019043, 0.00511897611618042, 0.005017600059509277, 0.005028736114501953, 0.005045216083526611, 0.00501145601272583, 0.0050124797821044925, 0.005011231899261475, 0.005146624088287354, 0.005005311965942383, 0.0050094079971313476, 0.005025792121887207, 0.005029888153076172, 0.00504531192779541, 0.005012351989746094 ] }, "throughput": { "unit": "samples/s", "value": 185.04838672401377 }, "energy": { "unit": "kWh", "cpu": 6.05549745276362e-08, "ram": 3.2966509321510465e-08, "gpu": 3.642882214923854e-07, "total": 4.578097053415321e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2184313.675163323 } } } }