{ "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.429312, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.85792 }, "latency": { "unit": "s", "count": 194, "total": 0.9983068809509279, "mean": 0.005145911757479009, "stdev": 0.0002323084753640411, "p50": 0.005147135972976684, "p90": 0.005270812988281251, "p95": 0.005705523014068604, "p99": 0.005970276036262511, "values": [ 0.006070240020751953, 0.005656576156616211, 0.005790719985961914, 0.005710847854614258, 0.005756927967071533, 0.005715968132019043, 0.005691391944885254, 0.00572211217880249, 0.005962751865386963, 0.005187583923339844, 0.005083136081695557, 0.005038080215454102, 0.005087232112884522, 0.0049827837944030765, 0.004941823959350586, 0.00496127986907959, 0.004944896221160889, 0.004943871974945068, 0.0049459199905395506, 0.004919328212738037, 0.004946944236755371, 0.00493779182434082, 0.004947968006134033, 0.004937727928161621, 0.004928512096405029, 0.004924416065216064, 0.00495411205291748, 0.004934656143188477, 0.00491212797164917, 0.0049192957878112795, 0.0049489917755126955, 0.004932608127593994, 0.004944896221160889, 0.0049203200340270994, 0.0049500160217285155, 0.004941823959350586, 0.004908031940460205, 0.004921343803405762, 0.004908031940460205, 0.004946944236755371, 0.004904960155487061, 0.004931583881378174, 0.0049203519821166995, 0.004957183837890625, 0.004929535865783692, 0.0049162240028381345, 0.004931583881378174, 0.004988927841186524, 0.004957183837890625, 0.004932608127593994, 0.004929535865783692, 0.004924416065216064, 0.004943871974945068, 0.004941823959350586, 0.005007359981536865, 0.004939775943756103, 0.004958208084106445, 0.005093376159667969, 0.0050063362121582035, 0.004935679912567138, 0.004967423915863037, 0.0049387521743774416, 0.004927487850189209, 0.004914175987243652, 0.004976640224456787, 0.004923423767089844, 0.004937727928161621, 0.004873216152191162, 0.004896768093109131, 0.0048752641677856446, 0.004851712226867676, 0.0048568320274353025, 0.0048568320274353025, 0.004887551784515381, 0.005039103984832764, 0.00515174388885498, 0.005180416107177735, 0.005212160110473632, 0.005156864166259765, 0.005188608169555664, 0.005200960159301758, 0.005173247814178467, 0.005175295829772949, 0.005224448204040527, 0.005175295829772949, 0.005178368091583252, 0.005203904151916504, 0.005150720119476319, 0.0051435518264770505, 0.005165056228637695, 0.00516096019744873, 0.00515174388885498, 0.0051578559875488286, 0.00517632007598877, 0.005141503810882568, 0.005150720119476319, 0.005174272060394287, 0.005181439876556396, 0.005171199798583984, 0.005127168178558349, 0.005197824001312256, 0.005146624088287354, 0.005165056228637695, 0.005193727970123291, 0.005165056228637695, 0.005178368091583252, 0.005174272060394287, 0.005202943801879883, 0.00516096019744873, 0.005411871910095215, 0.005921792030334472, 0.00638156795501709, 0.005702655792236328, 0.00562988805770874, 0.005879807949066162, 0.00522547197341919, 0.005197824001312256, 0.005175295829772949, 0.0051363520622253415, 0.00516812801361084, 0.005222400188446045, 0.005204991817474365, 0.005169151782989502, 0.005216256141662597, 0.005178368091583252, 0.005132287979125977, 0.005202943801879883, 0.005172192096710205, 0.005161983966827393, 0.0051476478576660155, 0.005224448204040527, 0.005157887935638428, 0.005155839920043945, 0.005185535907745361, 0.0051363840103149415, 0.0051363840103149415, 0.005163072109222412, 0.005153791904449463, 0.005129151821136475, 0.005119999885559082, 0.005195839881896973, 0.005137407779693603, 0.005208064079284668, 0.00517632007598877, 0.005138432025909424, 0.005224448204040527, 0.005167103767395019, 0.005173247814178467, 0.005128191947937012, 0.005156864166259765, 0.005250048160552978, 0.0051374402046203615, 0.005149695873260498, 0.005182464122772217, 0.0051344318389892575, 0.005138432025909424, 0.005142528057098389, 0.0051773438453674315, 0.00517632007598877, 0.005146624088287354, 0.005179391860961914, 0.005416959762573242, 0.005157887935638428, 0.005279712200164795, 0.0051660799980163576, 0.005615615844726562, 0.00537497615814209, 0.0052070398330688475, 0.005131264209747314, 0.0052899842262268066, 0.005125120162963868, 0.00515174388885498, 0.005161983966827393, 0.00517628812789917, 0.005141439914703369, 0.005153791904449463, 0.005186560153961181, 0.005138432025909424, 0.005141503810882568, 0.005150720119476319, 0.005137407779693603, 0.005108736038208008, 0.005137407779693603, 0.005154816150665284, 0.005152768135070801, 0.005114880084991455, 0.00522547197341919, 0.005121024131774903, 0.005132287979125977, 0.005144576072692871, 0.005171199798583984, 0.005124095916748047, 0.005115903854370117, 0.005165056228637695 ] }, "throughput": { "unit": "samples/s", "value": 194.3290221692223 }, "energy": { "unit": "kWh", "cpu": 5.929572368735698e-08, "ram": 3.232644614147123e-08, "gpu": 3.2979573094527667e-07, "total": 4.214179007741048e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2372941.439277009 } } } }