{ "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", "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", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 909.766656, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 170, "total": 0.9971301102638244, "mean": 0.005865471236846026, "stdev": 0.00039957313461277125, "p50": 0.005780479907989502, "p90": 0.005869670295715332, "p95": 0.005991270327568053, "p99": 0.008009011001586915, "values": [ 0.008451071739196778, 0.008030207633972167, 0.00799948787689209, 0.007904255867004394, 0.007921631813049317, 0.006799359798431396, 0.006524928092956543, 0.0057118721008300784, 0.005488639831542969, 0.005470208168029785, 0.005860352039337159, 0.005823488235473633, 0.00602726411819458, 0.005789696216583252, 0.005843967914581299, 0.005815296173095703, 0.005837823867797852, 0.006022143840789795, 0.005829631805419922, 0.005808127880096436, 0.005801983833312988, 0.005829631805419922, 0.005790719985961914, 0.005808063983917236, 0.005765120029449463, 0.005808127880096436, 0.005753920078277588, 0.005817344188690185, 0.00581324815750122, 0.005799935817718506, 0.005765120029449463, 0.005757952213287353, 0.005822463989257813, 0.005755904197692871, 0.005810175895690918, 0.005750783920288086, 0.005806079864501953, 0.005763072013854981, 0.005804031848907471, 0.005742591857910156, 0.005798912048339844, 0.005768191814422607, 0.005738560199737549, 0.005780479907989502, 0.0057712640762329105, 0.0057794561386108395, 0.005753856182098388, 0.005772287845611572, 0.00576204776763916, 0.005780479907989502, 0.0057784318923950195, 0.005738495826721191, 0.005783552169799804, 0.0057497601509094234, 0.005814271926879883, 0.005766143798828125, 0.005783552169799804, 0.00577023983001709, 0.005788671970367432, 0.005767168045043946, 0.005772287845611572, 0.005753856182098388, 0.005758975982666016, 0.005787615776062012, 0.005769216060638428, 0.005795839786529541, 0.005752831935882568, 0.005767168045043946, 0.005783552169799804, 0.005774271965026855, 0.005774335861206055, 0.0057487359046936035, 0.00577942419052124, 0.0057487359046936035, 0.005815328121185303, 0.005743616104125977, 0.005769216060638428, 0.0057712640762329105, 0.005750783920288086, 0.005776383876800537, 0.005758975982666016, 0.005873663902282715, 0.0058122239112854005, 0.005831615924835205, 0.005743616104125977, 0.005768191814422607, 0.00573747205734253, 0.005901311874389649, 0.005773312091827393, 0.005787648200988769, 0.0057784318923950195, 0.005844992160797119, 0.0057784318923950195, 0.005840896129608154, 0.005795839786529541, 0.00577023983001709, 0.005792768001556397, 0.005751808166503906, 0.005830656051635743, 0.005797887802124023, 0.00576204776763916, 0.0057497601509094234, 0.005740575790405274, 0.0057487359046936035, 0.005747712135314941, 0.005794816017150879, 0.005756927967071533, 0.005826560020446778, 0.005768191814422607, 0.005777408123016357, 0.00582860803604126, 0.005756927967071533, 0.005757952213287353, 0.00587775993347168, 0.00581324815750122, 0.0058122239112854005, 0.005836800098419189, 0.005738495826721191, 0.005817376136779785, 0.005788671970367432, 0.005791744232177734, 0.005754879951477051, 0.005878752231597901, 0.005772287845611572, 0.005754879951477051, 0.005817344188690185, 0.005720064163208007, 0.005817344188690185, 0.0057292799949646, 0.005766143798828125, 0.005763072013854981, 0.005757952213287353, 0.005775296211242676, 0.00586956787109375, 0.005773312091827393, 0.005760000228881836, 0.005799935817718506, 0.0057292799949646, 0.005840896129608154, 0.00587059211730957, 0.005847040176391601, 0.005828544139862061, 0.005769216060638428, 0.005745664119720459, 0.005849088191986084, 0.0057712640762329105, 0.00587775993347168, 0.005743616104125977, 0.005752831935882568, 0.005765120029449463, 0.005807104110717773, 0.005776447772979736, 0.005843967914581299, 0.005795839786529541, 0.005833727836608887, 0.005791776180267334, 0.005810175895690918, 0.005769216060638428, 0.005839871883392334, 0.005793791770935058, 0.005808127880096436, 0.005768191814422607, 0.005814271926879883, 0.005765120029449463, 0.005787648200988769, 0.00577023983001709, 0.005953536033630371, 0.005925888061523437, 0.005780479907989502, 0.005766143798828125 ] }, "throughput": { "unit": "samples/s", "value": 170.48928545044214 }, "energy": { "unit": "kWh", "cpu": 6.814302631569396e-08, "ram": 3.725683364509364e-08, "gpu": 3.4408392788505885e-07, "total": 4.4948378784584636e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2224774.345683313 } } } }