{ "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.765184, "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.9988269410133366, "mean": 0.00525698390007019, "stdev": 0.000327288634615419, "p50": 0.00516761589050293, "p90": 0.005472972726821899, "p95": 0.005586124873161315, "p99": 0.007265341396331787, "values": [ 0.007789567947387695, 0.007307263851165771, 0.007260159969329834, 0.006461440086364746, 0.005675007820129394, 0.005606400012969971, 0.005553152084350586, 0.005658624172210694, 0.0055582718849182125, 0.0056852478981018065, 0.005441535949707031, 0.005471231937408447, 0.0057118721008300784, 0.005470208168029785, 0.005396480083465576, 0.005350399971008301, 0.005392320156097412, 0.005459968090057373, 0.005534719944000244, 0.005540863990783691, 0.005561344146728516, 0.005262335777282715, 0.005241856098175048, 0.005216191768646241, 0.005246975898742676, 0.005282815933227539, 0.005315584182739258, 0.005536767959594726, 0.005294047832489014, 0.005338111877441406, 0.005242879867553711, 0.005298175811767578, 0.005256192207336426, 0.005250048160552978, 0.005276671886444092, 0.005175295829772949, 0.005132287979125977, 0.005107711791992187, 0.005171199798583984, 0.005206016063690186, 0.00511897611618042, 0.005264383792877197, 0.005237760066986084, 0.005305344104766845, 0.005327871799468994, 0.005325888156890869, 0.005331967830657959, 0.005339168071746826, 0.005668863773345947, 0.005504000186920166, 0.005488639831542969, 0.005293119907379151, 0.005314559936523438, 0.005235712051391602, 0.0052705278396606445, 0.005238783836364746, 0.005195775985717774, 0.005149695873260498, 0.005183487892150879, 0.005235712051391602, 0.005280767917633057, 0.005242879867553711, 0.005187583923339844, 0.005208064079284668, 0.005191679954528809, 0.005241856098175048, 0.005216256141662597, 0.005190656185150146, 0.005234687805175781, 0.005241856098175048, 0.005327839851379395, 0.00535859203338623, 0.005299200057983398, 0.005312511920928955, 0.005291039943695068, 0.005234687805175781, 0.005259263992309571, 0.005213183879852295, 0.005220352172851562, 0.005277664184570313, 0.005142528057098389, 0.005131264209747314, 0.005126143932342529, 0.005028863906860351, 0.0049530878067016604, 0.005164031982421875, 0.005130239963531494, 0.005116928100585938, 0.004983808040618896, 0.004981760025024414, 0.004981760025024414, 0.004933631896972656, 0.00497049617767334, 0.004966400146484375, 0.005231616020202637, 0.005222400188446045, 0.005280767917633057, 0.0053012480735778805, 0.005422080039978027, 0.0055552000999450684, 0.005191743850708008, 0.005172224044799805, 0.005189631938934326, 0.005172224044799805, 0.005246975898742676, 0.005210048198699952, 0.005202943801879883, 0.005272575855255127, 0.005173312187194824, 0.005139455795288086, 0.005122047901153564, 0.0051404800415039064, 0.005150720119476319, 0.005124095916748047, 0.005114880084991455, 0.005145599842071533, 0.005127168178558349, 0.005098495960235596, 0.005108736038208008, 0.005144576072692871, 0.005098495960235596, 0.005106624126434326, 0.005161983966827393, 0.00520908784866333, 0.005124095916748047, 0.005155839920043945, 0.005124095916748047, 0.005116928100585938, 0.0051138558387756345, 0.005130239963531494, 0.005137407779693603, 0.00511078405380249, 0.0051435518264770505, 0.005130239963531494, 0.005132287979125977, 0.005119999885559082, 0.005151679992675781, 0.005144576072692871, 0.005144576072692871, 0.005161983966827393, 0.005142528057098389, 0.0051476478576660155, 0.005120031833648682, 0.005157887935638428, 0.005125120162963868, 0.005112832069396973, 0.005139455795288086, 0.005134335994720459, 0.005122079849243164, 0.005233727931976319, 0.005142528057098389, 0.005127168178558349, 0.005114880084991455, 0.005153791904449463, 0.005123040199279785, 0.005122047901153564, 0.005144576072692871, 0.005116928100585938, 0.005126143932342529, 0.0050954241752624516, 0.0051476478576660155, 0.005129216194152832, 0.005123072147369385, 0.005107711791992187, 0.005098495960235596, 0.00511897611618042, 0.005104640007019043, 0.0051435518264770505, 0.0051138558387756345, 0.005187583923339844, 0.005129216194152832, 0.005115903854370117, 0.005114880084991455, 0.005092351913452148, 0.005119999885559082, 0.005156864166259765, 0.005096447944641113, 0.005116928100585938, 0.005122047901153564, 0.005121024131774903, 0.005108736038208008, 0.005139455795288086, 0.00516096019744873, 0.005117951869964599, 0.005188543796539307, 0.005100543975830078, 0.005098495960235596, 0.005119999885559082, 0.005129216194152832, 0.005111807823181152 ] }, "throughput": { "unit": "samples/s", "value": 190.22314296732927 }, "energy": { "unit": "kWh", "cpu": 6.038394425055879e-08, "ram": 3.30148482527768e-08, "gpu": 3.5293962475510414e-07, "total": 4.463384172584397e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2240452.4489340074 } } } }