{ "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", "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.40.2", "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": 909.709312, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 165, "total": 0.9973618888854983, "mean": 0.006044617508396957, "stdev": 0.00022252370693247897, "p50": 0.006021120071411133, "p90": 0.006289408206939697, "p95": 0.006354534435272217, "p99": 0.006622330703735348, "values": [ 0.006523903846740723, 0.006387712001800537, 0.006348800182342529, 0.0062740478515625, 0.006842368125915528, 0.006277120113372803, 0.0063324799537658695, 0.006371327877044678, 0.006304800033569336, 0.006509568214416504, 0.006275072097778321, 0.006258687973022461, 0.006482944011688232, 0.006300672054290772, 0.006329343795776367, 0.006179840087890625, 0.0062494721412658695, 0.006235136032104492, 0.006259712219238281, 0.0063569917678833006, 0.006242303848266601, 0.006289408206939697, 0.006238207817077636, 0.006265888214111328, 0.006231040000915527, 0.006178815841674804, 0.006209536075592041, 0.006355967998504639, 0.006278143882751465, 0.00620851182937622, 0.0062863359451293946, 0.006281216144561768, 0.006202367782592774, 0.006213632106781006, 0.006218751907348633, 0.006252575874328614, 0.006236159801483154, 0.006266880035400391, 0.006142975807189942, 0.0061224961280822755, 0.006165503978729248, 0.006120448112487793, 0.006201344013214111, 0.006082560062408447, 0.006207488059997559, 0.0061859841346740725, 0.0062258877754211425, 0.006199295997619629, 0.006296576023101807, 0.0062576642036437985, 0.006281216144561768, 0.006052864074707031, 0.005915647983551026, 0.005923840045928955, 0.006024191856384278, 0.006290463924407959, 0.006289408206939697, 0.006246399879455566, 0.006181888103485108, 0.006228991985321045, 0.006161407947540283, 0.006100992202758789, 0.005975039958953857, 0.005852159976959229, 0.005943295955657959, 0.005931007862091065, 0.006021120071411133, 0.005827583789825439, 0.005843967914581299, 0.00618393611907959, 0.0062259202003479, 0.006123519897460937, 0.006217728137969971, 0.006124544143676758, 0.006160287857055664, 0.006176767826080322, 0.006244351863861084, 0.006271999835968017, 0.006244351863861084, 0.005974016189575195, 0.0059361281394958495, 0.006797311782836914, 0.006204480171203613, 0.006228991985321045, 0.00616755199432373, 0.006113279819488526, 0.006239264011383056, 0.006076416015625, 0.006128640174865723, 0.0059699201583862304, 0.005949440002441406, 0.006121471881866455, 0.006130688190460205, 0.005937119960784912, 0.005852159976959229, 0.005804031848907471, 0.005923840045928955, 0.005945343971252442, 0.005946400165557861, 0.005910528182983398, 0.005943295955657959, 0.005940224170684814, 0.0061562881469726565, 0.006130688190460205, 0.0059391999244689945, 0.005803008079528809, 0.005861408233642578, 0.005799935817718506, 0.005863423824310303, 0.005823488235473633, 0.005827583789825439, 0.005854207992553711, 0.005844992160797119, 0.0058757119178771975, 0.005810175895690918, 0.005844992160797119, 0.0058122239112854005, 0.005855231761932373, 0.005811200141906738, 0.005830656051635743, 0.005804031848907471, 0.005826560020446778, 0.005788671970367432, 0.005805056095123291, 0.005806079864501953, 0.005833727836608887, 0.005816319942474365, 0.005792768001556397, 0.005813216209411621, 0.0058009600639343266, 0.005819392204284668, 0.005814271926879883, 0.005798912048339844, 0.005805056095123291, 0.005853184223175049, 0.005808127880096436, 0.005815296173095703, 0.005805056095123291, 0.005799967765808106, 0.0058091521263122555, 0.0058009600639343266, 0.00582144021987915, 0.0058009600639343266, 0.005823488235473633, 0.005795839786529541, 0.00582860803604126, 0.005801983833312988, 0.005793791770935058, 0.005857279777526855, 0.005777408123016357, 0.005831679821014404, 0.005822463989257813, 0.005818399906158447, 0.005806079864501953, 0.005833727836608887, 0.005788671970367432, 0.005834752082824707, 0.005789696216583252, 0.005840896129608154, 0.005799935817718506, 0.0058009600639343266, 0.005822463989257813, 0.0058091521263122555, 0.005824512004852295, 0.005807104110717773 ] }, "throughput": { "unit": "samples/s", "value": 165.4364397103435 }, "energy": { "unit": "kWh", "cpu": 6.70877497523967e-08, "ram": 3.6675825988098394e-08, "gpu": 3.541810743050821e-07, "total": 4.579446500455772e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2183670.013178393 } } } }