{ "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.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 757.90336, "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.269337890625, "mean": 7.269337890625, "stdev": 0.0, "p50": 7.269337890625, "p90": 7.269337890625, "p95": 7.269337890625, "p99": 7.269337890625, "values": [ 7.269337890625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.6422324710422094e-06, "ram": 8.842993342927722e-07, "gpu": 1.7166680399988837e-06, "total": 4.243199845333865e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 889.667584, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 202, "total": 1.0087817020416252, "mean": 0.004993968821988248, "stdev": 0.00018915985466897876, "p50": 0.004859391927719116, "p90": 0.005201408052444458, "p95": 0.00527119345664978, "p99": 0.0053675416278839115, "values": [ 0.005244927883148193, 0.00496127986907959, 0.005026815891265869, 0.0050360321998596195, 0.004960256099700928, 0.005013567924499512, 0.005273600101470947, 0.005188608169555664, 0.005275648117065429, 0.005306367874145508, 0.005185535907745361, 0.0050135040283203125, 0.0049162240028381345, 0.004850687980651855, 0.005064703941345215, 0.0051968002319335935, 0.005181439876556396, 0.005144576072692871, 0.0050207037925720215, 0.00501043176651001, 0.005033984184265137, 0.00516096019744873, 0.005173247814178467, 0.005181439876556396, 0.0051660799980163576, 0.005272575855255127, 0.005189631938934326, 0.005161983966827393, 0.005155839920043945, 0.005072959899902344, 0.005144576072692871, 0.005161983966827393, 0.004880383968353271, 0.004851712226867676, 0.004910079956054687, 0.004936704158782959, 0.004900864124298096, 0.0048793601989746095, 0.00487014389038086, 0.004850687980651855, 0.004847616195678711, 0.005341184139251709, 0.005203968048095703, 0.005179391860961914, 0.005141503810882568, 0.0050124797821044925, 0.005129151821136475, 0.005031936168670655, 0.005030911922454834, 0.005135359764099121, 0.0050954241752624516, 0.005108736038208008, 0.005163008213043213, 0.005145599842071533, 0.005180416107177735, 0.005188608169555664, 0.0062197761535644535, 0.005191743850708008, 0.005278719902038574, 0.005241856098175048, 0.005149695873260498, 0.005184512138366699, 0.005134335994720459, 0.005059584140777588, 0.005098495960235596, 0.005224448204040527, 0.005222400188446045, 0.005146624088287354, 0.005139455795288086, 0.005880832195281982, 0.0051036162376403805, 0.0051773438453674315, 0.005085184097290039, 0.005135359764099121, 0.005125120162963868, 0.005122047901153564, 0.005235712051391602, 0.00517632007598877, 0.005102591991424561, 0.0050769920349121095, 0.005135359764099121, 0.005092351913452148, 0.005105663776397705, 0.0050954241752624516, 0.005089280128479004, 0.0051066880226135255, 0.005237760066986084, 0.0052899842262268066, 0.005277696132659912, 0.005238783836364746, 0.0051968002319335935, 0.005219327926635742, 0.005186560153961181, 0.0053678078651428224, 0.005193727970123291, 0.005201920032501221, 0.005169151782989502, 0.0051435518264770505, 0.0050063362121582035, 0.005114880084991455, 0.005129280090332031, 0.004859903812408447, 0.004858880043029785, 0.004860928058624267, 0.004859903812408447, 0.004858880043029785, 0.004859903812408447, 0.004850687980651855, 0.0048568320274353025, 0.0048496642112731934, 0.004851712226867676, 0.0048527359962463375, 0.004848639965057373, 0.0048496642112731934, 0.004848639965057373, 0.004849696159362793, 0.004850687980651855, 0.004847616195678711, 0.0048527359962463375, 0.0048527359962463375, 0.004850687980651855, 0.004848639965057373, 0.0048496642112731934, 0.004851712226867676, 0.0048527359962463375, 0.004851776123046875, 0.004850687980651855, 0.004850687980651855, 0.004851712226867676, 0.004847616195678711, 0.0048496642112731934, 0.004850687980651855, 0.004846591949462891, 0.004851712226867676, 0.0048496642112731934, 0.004850687980651855, 0.004846591949462891, 0.004850687980651855, 0.0048527359962463375, 0.00485478401184082, 0.004853759765625, 0.004848639965057373, 0.004853759765625, 0.004848639965057373, 0.0048496642112731934, 0.004846591949462891, 0.004850687980651855, 0.0048496642112731934, 0.004850687980651855, 0.004848639965057373, 0.0048496642112731934, 0.004850687980651855, 0.0048496642112731934, 0.004847616195678711, 0.004847616195678711, 0.0048527359962463375, 0.004851712226867676, 0.004850687980651855, 0.004853759765625, 0.004847616195678711, 0.004848639965057373, 0.0048527359962463375, 0.004850687980651855, 0.004847616195678711, 0.004851712226867676, 0.0048496642112731934, 0.004847616195678711, 0.004850687980651855, 0.004848639965057373, 0.004847616195678711, 0.004847616195678711, 0.0048527359962463375, 0.004850687980651855, 0.0048496642112731934, 0.0048496642112731934, 0.004847616195678711, 0.004848639965057373, 0.004843520164489746, 0.004847616195678711, 0.004850687980651855, 0.0048496642112731934, 0.004848639965057373, 0.004850687980651855, 0.004853759765625, 0.004848671913146973, 0.004847616195678711, 0.004847616195678711, 0.004844543933868409, 0.004853759765625, 0.004853759765625, 0.004846591949462891, 0.004850687980651855, 0.0048496642112731934, 0.004846591949462891, 0.0048496642112731934, 0.004850687980651855, 0.0048496642112731934, 0.0048558077812194825, 0.004848639965057373, 0.00484764814376831, 0.004847616195678711, 0.0048496642112731934 ] }, "throughput": { "unit": "samples/s", "value": 200.2415384727753 }, "energy": { "unit": "kWh", "cpu": 5.7590463876224416e-08, "ram": 3.149013390072457e-08, "gpu": 3.513957213679279e-07, "total": 4.404763191448769e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2270269.6070957 } } } }