{ "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", "numactl": false, "numactl_kwargs": {}, "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.1", "optimum_benchmark_commit": null, "transformers_version": "4.41.0", "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": 875.880448, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.85792 }, "latency": { "unit": "s", "count": 204, "total": 1.014552606582642, "mean": 0.004973297091091382, "stdev": 0.00015692203696199763, "p50": 0.004873216152191162, "p90": 0.00514478087425232, "p95": 0.0051840512990951534, "p99": 0.005708072829246521, "values": [ 0.005844992160797119, 0.005340159893035889, 0.005230591773986816, 0.005181439876556396, 0.005184512138366699, 0.005201920032501221, 0.005167103767395019, 0.0051138558387756345, 0.005201920032501221, 0.005210112094879151, 0.005088255882263183, 0.005184512138366699, 0.005107711791992187, 0.005093376159667969, 0.005105663776397705, 0.005057536125183106, 0.004933631896972656, 0.004893695831298828, 0.005048319816589355, 0.005045248031616211, 0.005091328144073487, 0.005119999885559082, 0.005100543975830078, 0.005164031982421875, 0.005146624088287354, 0.005027872085571289, 0.0050063362121582035, 0.0051138558387756345, 0.0051404800415039064, 0.005098495960235596, 0.0051066880226135255, 0.004957183837890625, 0.004895743846893311, 0.004887551784515381, 0.004873216152191162, 0.004939775943756103, 0.004936704158782959, 0.004910079956054687, 0.00487014389038086, 0.004873216152191162, 0.004867072105407715, 0.004873216152191162, 0.004911104202270508, 0.004973567962646484, 0.0050094079971313476, 0.005030911922454834, 0.005025792121887207, 0.005051392078399658, 0.005130239963531494, 0.005107711791992187, 0.0050954241752624516, 0.005163008213043213, 0.004963327884674072, 0.00510975980758667, 0.004986879825592041, 0.005056511878967285, 0.005099520206451416, 0.005070847988128662, 0.005045248031616211, 0.005107711791992187, 0.005001215934753418, 0.004933631896972656, 0.0050032639503479, 0.0050728960037231445, 0.005035007953643799, 0.005107711791992187, 0.005174272060394287, 0.005028863906860351, 0.005030911922454834, 0.005091328144073487, 0.005044223785400391, 0.005022719860076904, 0.00496127986907959, 0.004952064037322998, 0.005125120162963868, 0.005135359764099121, 0.005091328144073487, 0.005169151782989502, 0.0051476478576660155, 0.005097472190856934, 0.00511897611618042, 0.005079040050506592, 0.005075967788696289, 0.005059584140777588, 0.005024767875671386, 0.005164031982421875, 0.005123072147369385, 0.00502784013748169, 0.005067776203155518, 0.005111807823181152, 0.004873216152191162, 0.004994048118591309, 0.005150720119476319, 0.005007359981536865, 0.004869120121002197, 0.004874239921569825, 0.004873216152191162, 0.004865024089813232, 0.00487116813659668, 0.004865024089813232, 0.00487116813659668, 0.004867072105407715, 0.00487116813659668, 0.00487116813659668, 0.004869120121002197, 0.004869120121002197, 0.0049530878067016604, 0.0058009600639343266, 0.00571289587020874, 0.005552127838134766, 0.005047296047210693, 0.004868095874786377, 0.004868095874786377, 0.00487116813659668, 0.00487014389038086, 0.004866047859191895, 0.004867072105407715, 0.004868095874786377, 0.004874239921569825, 0.004867072105407715, 0.004868095874786377, 0.004868095874786377, 0.004872191905975342, 0.004869120121002197, 0.004868095874786377, 0.004867072105407715, 0.00487116813659668, 0.004869120121002197, 0.00487014389038086, 0.00487014389038086, 0.00487014389038086, 0.00487014389038086, 0.00487116813659668, 0.004869120121002197, 0.00487116813659668, 0.004866047859191895, 0.004866047859191895, 0.004868095874786377, 0.00487014389038086, 0.004873216152191162, 0.00487014389038086, 0.004865024089813232, 0.00487014389038086, 0.004867072105407715, 0.004872191905975342, 0.004866047859191895, 0.004872191905975342, 0.004869120121002197, 0.004869120121002197, 0.00487014389038086, 0.004868095874786377, 0.004872191905975342, 0.004867072105407715, 0.00487116813659668, 0.0048855037689208985, 0.004892672061920166, 0.004897791862487793, 0.004872191905975342, 0.00487116813659668, 0.004867072105407715, 0.004868095874786377, 0.004867072105407715, 0.00486297607421875, 0.004867072105407715, 0.004863999843597412, 0.004866047859191895, 0.004865024089813232, 0.004865024089813232, 0.004866047859191895, 0.004869120121002197, 0.004863999843597412, 0.004869120121002197, 0.004866047859191895, 0.00487116813659668, 0.004863999843597412, 0.004868095874786377, 0.004865024089813232, 0.004869120121002197, 0.004867072105407715, 0.004869120121002197, 0.004867072105407715, 0.004866047859191895, 0.004865024089813232, 0.004869120121002197, 0.004867072105407715, 0.004867072105407715, 0.00487014389038086, 0.00486195182800293, 0.004868095874786377, 0.00486297607421875, 0.004863999843597412, 0.004865024089813232, 0.004865024089813232, 0.004866047859191895, 0.004869120121002197, 0.004865024089813232, 0.004866047859191895, 0.004863999843597412, 0.004866047859191895, 0.004865024089813232, 0.004865024089813232, 0.00486297607421875, 0.004865024089813232, 0.00486195182800293 ] }, "throughput": { "unit": "samples/s", "value": 201.07385134728634 }, "energy": { "unit": "kWh", "cpu": 5.775632718288629e-08, "ram": 3.1578855219061796e-08, "gpu": 3.655097710805706e-07, "total": 4.548449534825187e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2198551.379637179 } } } }