{ "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_type": "vit", "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": {}, "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, "memory": true, "latency": 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.285632, "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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 757.20704, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.28051416015625, "mean": 7.28051416015625, "stdev": 0.0, "p50": 7.28051416015625, "p90": 7.28051416015625, "p95": 7.28051416015625, "p99": 7.28051416015625, "values": [ 7.28051416015625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.537476314438714e-06, "ram": 8.268095402982568e-07, "gpu": 1.7591680739996451e-06, "total": 4.1234539287366164e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 888.946688, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 206, "total": 1.0145289702415463, "mean": 0.004924897913793915, "stdev": 0.00012739284675717383, "p50": 0.004851712226867676, "p90": 0.005144576072692871, "p95": 0.005183232069015503, "p99": 0.005292543792724609, "values": [ 0.0052633600234985355, 0.005213183879852295, 0.005319680213928223, 0.005214208126068115, 0.005176256179809571, 0.005179391860961914, 0.005194752216339111, 0.005174272060394287, 0.00516096019744873, 0.005158912181854248, 0.0052111358642578124, 0.005129216194152832, 0.005056511878967285, 0.0050954241752624516, 0.005086207866668701, 0.005100543975830078, 0.0050800638198852536, 0.00501145601272583, 0.004866047859191895, 0.005186560153961181, 0.004983808040618896, 0.005074944019317627, 0.005149695873260498, 0.0052008957862854, 0.005173247814178467, 0.005146624088287354, 0.005096447944641113, 0.005116928100585938, 0.005041152000427246, 0.004939775943756103, 0.00502784013748169, 0.005184512138366699, 0.005138432025909424, 0.0051066880226135255, 0.005142528057098389, 0.005138432025909424, 0.005150720119476319, 0.0051404800415039064, 0.005058559894561767, 0.0049827837944030765, 0.004851712226867676, 0.004850687980651855, 0.0048496642112731934, 0.004850687980651855, 0.0048527359962463375, 0.004985856056213379, 0.0048793601989746095, 0.004883456230163574, 0.0048752641677856446, 0.004850687980651855, 0.004850687980651855, 0.004847616195678711, 0.0048496642112731934, 0.004853759765625, 0.004848639965057373, 0.004848639965057373, 0.0048558077812194825, 0.004846591949462891, 0.004851712226867676, 0.004847616195678711, 0.004851712226867676, 0.004851712226867676, 0.0048527359962463375, 0.004850687980651855, 0.0048496642112731934, 0.004851712226867676, 0.005075967788696289, 0.0048496642112731934, 0.004850687980651855, 0.0048496642112731934, 0.004851712226867676, 0.004850687980651855, 0.0048527359962463375, 0.004848639965057373, 0.0048496642112731934, 0.0048496642112731934, 0.0048496642112731934, 0.004851712226867676, 0.0048496642112731934, 0.004848639965057373, 0.004851712226867676, 0.004851712226867676, 0.0048527359962463375, 0.00485478401184082, 0.0049827837944030765, 0.005018623828887939, 0.0050124797821044925, 0.00551423978805542, 0.005104640007019043, 0.005018623828887939, 0.005049344062805176, 0.005100543975830078, 0.004924416065216064, 0.004878335952758789, 0.0048527359962463375, 0.004901887893676758, 0.0048752641677856446, 0.004893695831298828, 0.004851712226867676, 0.004850687980651855, 0.0048558077812194825, 0.004850687980651855, 0.004850687980651855, 0.0048527359962463375, 0.004847616195678711, 0.0048527359962463375, 0.004846591949462891, 0.005024767875671386, 0.0048527359962463375, 0.004988927841186524, 0.0048527359962463375, 0.004846591949462891, 0.0048527359962463375, 0.004848639965057373, 0.004847616195678711, 0.004850687980651855, 0.0048496642112731934, 0.00485478401184082, 0.004851712226867676, 0.004851712226867676, 0.004848639965057373, 0.004846591949462891, 0.004847616195678711, 0.004850687980651855, 0.004848639965057373, 0.004850687980651855, 0.004850687980651855, 0.004851712226867676, 0.004851712226867676, 0.0050135040283203125, 0.005294079780578613, 0.004923391819000244, 0.004847616195678711, 0.0048527359962463375, 0.004850687980651855, 0.004851712226867676, 0.0048496642112731934, 0.0048527359962463375, 0.004851712226867676, 0.004848639965057373, 0.004850687980651855, 0.004850687980651855, 0.004851712226867676, 0.004847616195678711, 0.004850687980651855, 0.004850687980651855, 0.0048496642112731934, 0.0048527359962463375, 0.004876287937164306, 0.0048793601989746095, 0.004998144149780274, 0.004847616195678711, 0.004937727928161621, 0.0048496642112731934, 0.004847616195678711, 0.004846591949462891, 0.004846591949462891, 0.004850687980651855, 0.004851712226867676, 0.004850687980651855, 0.004847616195678711, 0.004847616195678711, 0.0048496642112731934, 0.004847616195678711, 0.004850687980651855, 0.0048496642112731934, 0.004847616195678711, 0.004850687980651855, 0.0048455681800842285, 0.0048496642112731934, 0.0048496642112731934, 0.0048496642112731934, 0.005017600059509277, 0.004984831809997559, 0.004848639965057373, 0.004848639965057373, 0.004850687980651855, 0.004846591949462891, 0.004850687980651855, 0.004847616195678711, 0.004851712226867676, 0.004847616195678711, 0.004850687980651855, 0.004846591949462891, 0.0048496642112731934, 0.004846591949462891, 0.004848639965057373, 0.0048496642112731934, 0.0048455681800842285, 0.004847616195678711, 0.004848639965057373, 0.004847616195678711, 0.004848639965057373, 0.004846591949462891, 0.00515174388885498, 0.004850687980651855, 0.004850687980651855, 0.0048496642112731934, 0.004848639965057373, 0.004846591949462891, 0.004846591949462891, 0.0048455681800842285, 0.0048496642112731934, 0.004851712226867676, 0.0048496642112731934, 0.004848639965057373 ] }, "throughput": { "unit": "samples/s", "value": 203.04989413062697 }, "energy": { "unit": "kWh", "cpu": 5.7957889124743246e-08, "ram": 3.1629436296606465e-08, "gpu": 3.7868250410425883e-07, "total": 4.682698295256085e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2135520.8833613577 } } } }