{ "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.225-213.878.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.45.1", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "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.825152, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "values": [ 0.2511288299560547 ], "count": 1, "total": 0.2511288299560547, "mean": 0.2511288299560547, "p50": 0.2511288299560547, "p90": 0.2511288299560547, "p95": 0.2511288299560547, "p99": 0.2511288299560547, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1053.769728, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "values": [ 0.005785600185394287, 0.005237760066986084, 0.005214208126068115, 0.005253119945526123, 0.005180416107177735, 0.005172224044799805, 0.005273663997650146, 0.00522649621963501, 0.005234687805175781, 0.005258207798004151, 0.005296127796173096, 0.005178368091583252, 0.005846015930175781, 0.005198847770690918, 0.005188608169555664, 0.005219327926635742, 0.005145599842071533, 0.005182464122772217, 0.005187583923339844, 0.005149695873260498, 0.005149695873260498, 0.00517632007598877, 0.005165056228637695, 0.005122047901153564, 0.00515174388885498, 0.005164031982421875, 0.005156832218170166, 0.005139455795288086, 0.005171199798583984, 0.005196767807006836, 0.005627903938293457, 0.00522649621963501, 0.005150720119476319, 0.005283840179443359, 0.005150720119476319, 0.005135359764099121, 0.00516096019744873, 0.005152768135070801, 0.005164031982421875, 0.0051773438453674315, 0.0051404800415039064, 0.005161024093627929, 0.0051435518264770505, 0.005132192134857177, 0.005149695873260498, 0.005257215976715088, 0.00517632007598877, 0.005182464122772217, 0.005283840179443359, 0.005163008213043213, 0.0051476478576660155, 0.005190656185150146, 0.005152768135070801, 0.0051660799980163576, 0.005157887935638428, 0.005138432025909424, 0.0051066880226135255, 0.005141503810882568, 0.005143648147583008, 0.005098495960235596, 0.005169151782989502, 0.005137407779693603, 0.005093376159667969, 0.005128191947937012, 0.005156864166259765, 0.005864448070526123, 0.005255167961120606, 0.005169151782989502, 0.005441535949707031, 0.005248000144958496, 0.00541593599319458, 0.0054906878471374515, 0.00515174388885498, 0.00535756778717041, 0.005320703983306885, 0.005154816150665284, 0.005135359764099121, 0.005165056228637695, 0.0051352958679199215, 0.0051404800415039064, 0.005136415958404541, 0.00511078405380249, 0.00510975980758667, 0.005253056049346924, 0.005121024131774903, 0.005105663776397705, 0.005118879795074463, 0.005252096176147461, 0.005131264209747314, 0.005123072147369385, 0.0051363840103149415, 0.0051066880226135255, 0.005128191947937012, 0.0051435518264770505, 0.005318655967712403, 0.005116928100585938, 0.005157887935638428, 0.005135359764099121, 0.005116960048675537, 0.005125120162963868, 0.005122047901153564, 0.005127168178558349, 0.0051036162376403805, 0.0052971520423889164, 0.005192704200744629, 0.005101568222045898, 0.00521830415725708, 0.0051404800415039064, 0.00510975980758667, 0.005132287979125977, 0.005158912181854248, 0.005187615871429443, 0.005134335994720459, 0.005230591773986816, 0.005277696132659912, 0.005258240222930908, 0.005184512138366699, 0.00521830415725708, 0.005153791904449463, 0.005232639789581299, 0.005228544235229492, 0.0051773438453674315, 0.005178336143493652, 0.005204991817474365, 0.005208064079284668, 0.005164031982421875, 0.005180416107177735, 0.005186560153961181, 0.005117951869964599, 0.005164031982421875, 0.005179391860961914, 0.005124095916748047, 0.005139455795288086, 0.005131264209747314, 0.0051363840103149415, 0.005123072147369385, 0.005145599842071533, 0.005191711902618408, 0.005125120162963868, 0.005107711791992187, 0.005141503810882568, 0.005131264209747314, 0.005155839920043945, 0.005124095916748047, 0.005175295829772949, 0.005274623870849609, 0.005150720119476319, 0.005171199798583984, 0.005134335994720459, 0.005119999885559082, 0.005161983966827393, 0.005187583923339844, 0.0051435518264770505, 0.0051333122253417966, 0.0051701760292053225, 0.005134335994720459, 0.005144576072692871, 0.005159872055053711, 0.005148608207702637, 0.00516096019744873, 0.005154816150665284, 0.005185535907745361, 0.005149695873260498, 0.005121024131774903, 0.005188608169555664, 0.005129216194152832, 0.005169151782989502, 0.005148608207702637, 0.005154816150665284, 0.005141503810882568, 0.005157887935638428, 0.005163008213043213, 0.005142528057098389, 0.005128191947937012, 0.005145599842071533, 0.005139455795288086, 0.005132287979125977, 0.005119999885559082, 0.0051476478576660155, 0.005155839920043945, 0.005126143932342529, 0.005187583923339844, 0.005122047901153564, 0.005130239963531494, 0.00517632007598877, 0.005153791904449463, 0.005135359764099121, 0.005131264209747314, 0.005187583923339844, 0.005165056228637695, 0.005155839920043945, 0.00511078405380249 ], "count": 192, "total": 0.9952416958808897, "mean": 0.005183550499379635, "p50": 0.005155839920043945, "p90": 0.00525701117515564, "p95": 0.005306828808784485, "p99": 0.005791037602424621, "stdev": 0.00010596623956858991, "stdev_": 2.0442791013856603 }, "throughput": { "unit": "samples/s", "value": 192.91796233482813 }, "energy": { "unit": "kWh", "cpu": 5.995256179854402e-08, "ram": 3.2758002529285215e-08, "gpu": 3.407760863131344e-07, "total": 4.3348665064096367e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2306876.113765848 } } } }