{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "model": "google/vit-base-patch16-224", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 911.888384, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 169, "total": 1.0005367369651792, "mean": 0.0059203357216874525, "stdev": 0.00019163485696278295, "p50": 0.00587059211730957, "p90": 0.006157516765594482, "p95": 0.006291884708404541, "p99": 0.006449930248260498, "values": [ 0.0065146880149841305, 0.0061296639442443845, 0.006369279861450195, 0.0062638077735900875, 0.006136703968048096, 0.006222655773162842, 0.0061562881469726565, 0.0062156801223754886, 0.00619212818145752, 0.005985280036926269, 0.006096896171569824, 0.006362112045288086, 0.006135807991027832, 0.006158336162567139, 0.006148096084594727, 0.006157311916351318, 0.006052864074707031, 0.005989376068115234, 0.006277120113372803, 0.006076416015625, 0.005957632064819336, 0.005880832195281982, 0.005898240089416504, 0.005908480167388916, 0.006007775783538818, 0.005835775852203369, 0.006030335903167725, 0.005847040176391601, 0.005891071796417236, 0.005857279777526855, 0.005922815799713135, 0.0063610877990722655, 0.00636518383026123, 0.006124544143676758, 0.006132736206054688, 0.006145023822784424, 0.006340608119964599, 0.006726528167724609, 0.006105088233947754, 0.0061337919235229495, 0.0059955201148986816, 0.006077439785003662, 0.005955584049224853, 0.0063017277717590334, 0.006079487800598145, 0.005743775844573975, 0.00581324815750122, 0.0058787841796875, 0.005912576198577881, 0.005923840045928955, 0.005884928226470947, 0.005937151908874512, 0.006043647766113281, 0.005910528182983398, 0.005822463989257813, 0.005854207992553711, 0.005754879951477051, 0.005980160236358643, 0.005948416233062744, 0.005900288105010986, 0.005859327793121338, 0.005844992160797119, 0.005831583976745606, 0.0057794561386108395, 0.0057415680885314945, 0.005903359889984131, 0.005799935817718506, 0.005811200141906738, 0.006053887844085694, 0.005907455921173096, 0.005803008079528809, 0.005765120029449463, 0.005857279777526855, 0.005912576198577881, 0.005903264045715332, 0.006050816059112549, 0.00587059211730957, 0.00586137580871582, 0.00582860803604126, 0.005787583827972412, 0.0058715839385986325, 0.005853184223175049, 0.006132736206054688, 0.00608460807800293, 0.006158336162567139, 0.006025216102600098, 0.006141952037811279, 0.006090816020965576, 0.005830783843994141, 0.0057712640762329105, 0.006039552211761475, 0.005720064163208007, 0.005755904197692871, 0.00561030387878418, 0.005672959804534912, 0.005980160236358643, 0.006108191967010498, 0.00587775993347168, 0.005698560237884521, 0.005811200141906738, 0.005751872062683105, 0.005795839786529541, 0.005873663902282715, 0.006121535778045654, 0.005874688148498535, 0.005942272186279297, 0.00601907205581665, 0.0062740478515625, 0.006001664161682129, 0.005917695999145508, 0.005725183963775635, 0.006419456005096436, 0.006128640174865723, 0.005857279777526855, 0.005783552169799804, 0.005778528213500976, 0.005700607776641845, 0.005798912048339844, 0.005716991901397705, 0.005701632022857666, 0.005822527885437012, 0.005832704067230224, 0.005783552169799804, 0.005961728096008301, 0.005848000049591065, 0.0057190399169921875, 0.005805056095123291, 0.005720064163208007, 0.005763072013854981, 0.0058009600639343266, 0.005758975982666016, 0.00576204776763916, 0.005894144058227539, 0.005766176223754883, 0.005765120029449463, 0.005790719985961914, 0.00577023983001709, 0.00581324815750122, 0.005723135948181152, 0.0058726401329040525, 0.005907455921173096, 0.0058111357688903804, 0.005883903980255127, 0.005816319942474365, 0.005730303764343261, 0.00576204776763916, 0.0057712640762329105, 0.005751808166503906, 0.0057825279235839844, 0.005734399795532226, 0.005811200141906738, 0.0057712640762329105, 0.005810175895690918, 0.005780479907989502, 0.005795839786529541, 0.0057149438858032225, 0.005786623954772949, 0.005755839824676513, 0.005690368175506591, 0.0057292799949646, 0.005633024215698243, 0.005687295913696289, 0.005687295913696289, 0.005702655792236328, 0.005772287845611572, 0.005782559871673584, 0.005739520072937012, 0.005725183963775635, 0.005814271926879883 ] }, "throughput": { "unit": "samples/s", "value": 168.90934011339706 }, "energy": { "unit": "kWh", "cpu": 6.758813755680816e-08, "ram": 3.693851211892251e-08, "gpu": 3.274813225909061e-07, "total": 4.320079722666368e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2314772.097267679 } } } }