{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.1+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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 876.699648, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.85792 }, "latency": { "unit": "s", "count": 190, "total": 0.9950348486900331, "mean": 0.005237025519421227, "stdev": 0.0003418729741604667, "p50": 0.005147135972976684, "p90": 0.00547276816368103, "p95": 0.0055900672197341916, "p99": 0.007270949258804321, "values": [ 0.0076912641525268555, 0.007283679962158203, 0.007269375801086426, 0.006960159778594971, 0.005618688106536865, 0.005595136165618897, 0.005559296131134033, 0.005525504112243652, 0.005653503894805908, 0.005583871841430664, 0.005540863990783691, 0.005559296131134033, 0.005751808166503906, 0.005633024215698243, 0.005359615802764893, 0.005413887977600097, 0.005414912223815918, 0.00546611213684082, 0.005541888236999512, 0.005477375984191894, 0.0054568958282470706, 0.005469183921813964, 0.005396480083465576, 0.005472256183624268, 0.005250048160552978, 0.005208064079284668, 0.005246975898742676, 0.005242879867553711, 0.005201920032501221, 0.005165056228637695, 0.00526636791229248, 0.005192639827728271, 0.0051998720169067385, 0.005254144191741943, 0.005156864166259765, 0.005055488109588623, 0.0050800638198852536, 0.0050954241752624516, 0.005149695873260498, 0.005086207866668701, 0.005191679954528809, 0.005158912181854248, 0.005191679954528809, 0.005329919815063477, 0.005284863948822022, 0.005243904113769531, 0.0053606400489807126, 0.005186560153961181, 0.005183487892150879, 0.005172224044799805, 0.00521830415725708, 0.0051998720169067385, 0.005185535907745361, 0.00522649621963501, 0.005182464122772217, 0.005154816150665284, 0.005122047901153564, 0.005138432025909424, 0.005146624088287354, 0.005302271842956543, 0.005210112094879151, 0.0051435518264770505, 0.005122047901153564, 0.005300191879272461, 0.005144576072692871, 0.005198847770690918, 0.005185535907745361, 0.005135359764099121, 0.005175295829772949, 0.005256192207336426, 0.005296127796173096, 0.005241856098175048, 0.005271615982055664, 0.005228544235229492, 0.0052070398330688475, 0.005253087997436523, 0.005202943801879883, 0.005134335994720459, 0.005156864166259765, 0.0051998720169067385, 0.005099520206451416, 0.005049344062805176, 0.005001215934753418, 0.004935679912567138, 0.0049827837944030765, 0.00515174388885498, 0.005131264209747314, 0.005023744106292725, 0.004878335952758789, 0.004883456230163574, 0.0049090561866760255, 0.00497049617767334, 0.004923391819000244, 0.004873216152191162, 0.0049909758567810054, 0.005275648117065429, 0.005249023914337158, 0.0053350400924682614, 0.00552243185043335, 0.005221375942230225, 0.005137407779693603, 0.005178368091583252, 0.005163008213043213, 0.005157887935638428, 0.005193727970123291, 0.005171135902404785, 0.005145631790161133, 0.005275648117065429, 0.005138432025909424, 0.005129216194152832, 0.005244927883148193, 0.005157887935638428, 0.005112832069396973, 0.005554240226745605, 0.005807104110717773, 0.0051968002319335935, 0.005131264209747314, 0.005171167850494385, 0.005114880084991455, 0.005139455795288086, 0.005124095916748047, 0.005130239963531494, 0.005128191947937012, 0.005117951869964599, 0.005107711791992187, 0.005115903854370117, 0.005093376159667969, 0.005217216014862061, 0.005119999885559082, 0.005115903854370117, 0.005097472190856934, 0.005123072147369385, 0.005093376159667969, 0.0050954241752624516, 0.005171199798583984, 0.005114880084991455, 0.005108736038208008, 0.005143487930297851, 0.005117919921875, 0.005112832069396973, 0.005097472190856934, 0.00516812801361084, 0.005107711791992187, 0.005114880084991455, 0.005117951869964599, 0.005134335994720459, 0.005100543975830078, 0.005102591991424561, 0.0051476478576660155, 0.005105663776397705, 0.005130239963531494, 0.0051333122253417966, 0.005121024131774903, 0.005102591991424561, 0.0051138558387756345, 0.005145599842071533, 0.0051138558387756345, 0.005128191947937012, 0.005122047901153564, 0.00510975980758667, 0.005339136123657226, 0.005131264209747314, 0.0051435518264770505, 0.005096447944641113, 0.005244927883148193, 0.0051363840103149415, 0.005098495960235596, 0.005099520206451416, 0.0051476478576660155, 0.00511078405380249, 0.005155839920043945, 0.005097472190856934, 0.005122047901153564, 0.005126143932342529, 0.005088255882263183, 0.0052633600234985355, 0.005094399929046631, 0.005108736038208008, 0.005078015804290771, 0.005108736038208008, 0.00506879997253418, 0.0050769920349121095, 0.005090303897857666, 0.005101568222045898, 0.005082111835479736, 0.0050954241752624516, 0.005101568222045898, 0.0050841598510742185, 0.005085184097290039, 0.005071872234344482 ] }, "throughput": { "unit": "samples/s", "value": 190.94808614003387 }, "energy": { "unit": "kWh", "cpu": 5.769996843348251e-08, "ram": 3.154845602763901e-08, "gpu": 3.462522898840592e-07, "total": 4.355007143451807e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2296207.484994832 } } } }