{ "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.334656, "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.42784912109375, "mean": 7.42784912109375, "stdev": 0.0, "p50": 7.42784912109375, "p90": 7.42784912109375, "p95": 7.42784912109375, "p99": 7.42784912109375, "values": [ 7.42784912109375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4624678895833497e-06, "ram": 7.857353314539583e-07, "gpu": 1.7108347019996126e-06, "total": 3.959037923036921e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1037.25056, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 187, "total": 0.9970546865463255, "mean": 0.005331843243563239, "stdev": 0.000353305466105192, "p50": 0.005306367874145508, "p90": 0.005606194972991944, "p95": 0.005688934326171875, "p99": 0.007313366870880126, "values": [ 0.007453695774078369, 0.007413760185241699, 0.00729702377319336, 0.005622911930084229, 0.005683199882507324, 0.005585919857025146, 0.0058204798698425295, 0.005605375766754151, 0.005576704025268555, 0.005632991790771484, 0.005494783878326416, 0.005426176071166992, 0.005479423999786377, 0.005483520030975342, 0.005304224014282226, 0.005244927883148193, 0.005146624088287354, 0.005165056228637695, 0.005206143856048584, 0.005197824001312256, 0.005189663887023925, 0.005318655967712403, 0.0053012480735778805, 0.0053002238273620605, 0.0053637118339538575, 0.005321728229522705, 0.005268479824066162, 0.005242879867553711, 0.005241856098175048, 0.005298304080963135, 0.005327871799468994, 0.0053309440612792965, 0.0053002238273620605, 0.005342207908630371, 0.005306367874145508, 0.005567488193511963, 0.005547008037567139, 0.005585919857025146, 0.005824512004852295, 0.005762176036834717, 0.00550710391998291, 0.005548031806945801, 0.005528480052947998, 0.005493760108947754, 0.0053348798751831055, 0.005459968090057373, 0.0053944320678710935, 0.005370848178863526, 0.005442719936370849, 0.00554911994934082, 0.005512159824371338, 0.00556441593170166, 0.00544163179397583, 0.005431263923645019, 0.005533696174621582, 0.005718016147613526, 0.005588992118835449, 0.00546611213684082, 0.005525407791137696, 0.005469183921813964, 0.005440512180328369, 0.005439487934112549, 0.005450751781463623, 0.005611487865447998, 0.005538815975189209, 0.005505023956298828, 0.006166528224945069, 0.005311327934265137, 0.005329919815063477, 0.005342207908630371, 0.005186560153961181, 0.00515993595123291, 0.005234687805175781, 0.005504000186920166, 0.005652480125427246, 0.005541888236999512, 0.005527552127838135, 0.005453824043273926, 0.005384191989898681, 0.0055090560913085935, 0.005475327968597412, 0.005566463947296142, 0.005420032024383545, 0.0054568958282470706, 0.005438464164733887, 0.005495808124542236, 0.00547430419921875, 0.005641215801239013, 0.0056217598915100095, 0.005546144008636475, 0.005569536209106446, 0.005691391944885254, 0.005607423782348633, 0.005746687889099121, 0.0055244798660278325, 0.005534719944000244, 0.0054988799095153805, 0.005430272102355957, 0.005395455837249756, 0.005611519813537597, 0.005275648117065429, 0.005172224044799805, 0.0051495680809020995, 0.005125120162963868, 0.00506982421875, 0.005347328186035156, 0.005388448238372803, 0.005412864208221436, 0.005262335777282715, 0.005146624088287354, 0.005202943801879883, 0.005146624088287354, 0.005137504100799561, 0.005154816150665284, 0.005228544235229492, 0.005319680213928223, 0.005343232154846191, 0.005407711982727051, 0.005499904155731201, 0.005497983932495117, 0.005527616024017334, 0.005378047943115235, 0.005320703983306885, 0.005295263767242432, 0.0052295680046081545, 0.0052304320335388186, 0.005188704013824463, 0.005212128162384033, 0.0052962880134582516, 0.005215167999267578, 0.005171199798583984, 0.005131264209747314, 0.00516812801361084, 0.005142623901367187, 0.005141568183898926, 0.005146624088287354, 0.00516096019744873, 0.00515174388885498, 0.005190720081329345, 0.005119999885559082, 0.0051476478576660155, 0.005137407779693603, 0.005085184097290039, 0.004993023872375488, 0.004988927841186524, 0.004992000102996826, 0.004999167919158935, 0.0049725441932678225, 0.004992000102996826, 0.0049909758567810054, 0.004987904071807861, 0.004978687763214112, 0.004967423915863037, 0.004967423915863037, 0.004982816219329834, 0.004975615978240967, 0.004967520236968994, 0.004993023872375488, 0.0050135040283203125, 0.004977663993835449, 0.004999167919158935, 0.00496230411529541, 0.004980735778808594, 0.004996096134185791, 0.004984831809997559, 0.004997119903564453, 0.004978687763214112, 0.004969471931457519, 0.004974592208862305, 0.005001215934753418, 0.005008448123931885, 0.004998144149780274, 0.0049777917861938475, 0.004955135822296143, 0.004977663993835449, 0.004999167919158935, 0.005000192165374756, 0.004971519947052002, 0.005029888153076172, 0.0050063362121582035, 0.0050011839866638185, 0.005000192165374756, 0.005001215934753418, 0.004988927841186524, 0.004988927841186524, 0.004977663993835449, 0.00501043176651001 ] }, "throughput": { "unit": "samples/s", "value": 187.55240060878197 }, "energy": { "unit": "kWh", "cpu": 6.051068505526975e-08, "ram": 3.3086192438072593e-08, "gpu": 3.6086905286734954e-07, "total": 4.5446593036069185e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2200384.9644050086 } } } }