{ "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": "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.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "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": { "forward": { "memory": { "unit": "MB", "max_ram": 876.138496, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.85792 }, "latency": { "unit": "s", "count": 208, "total": 1.020686345100401, "mean": 0.0049071458899057835, "stdev": 9.273250811312916e-05, "p50": 0.0048527359962463375, "p90": 0.005062655925750732, "p95": 0.005093836808204651, "p99": 0.005144903755187989, "values": [ 0.005436416149139404, 0.005108736038208008, 0.004892672061920166, 0.0049827837944030765, 0.004989952087402344, 0.005098495960235596, 0.0051036162376403805, 0.005105663776397705, 0.005150720119476319, 0.005075967788696289, 0.004884479999542236, 0.00506060791015625, 0.004898816108703613, 0.004971519947052002, 0.005057536125183106, 0.005062655925750732, 0.0049530878067016604, 0.004894720077514648, 0.0048496642112731934, 0.004881408214569092, 0.004952064037322998, 0.005030911922454834, 0.005061632156372071, 0.005022719860076904, 0.005146624088287354, 0.005029888153076172, 0.005024767875671386, 0.004959231853485108, 0.0051036162376403805, 0.005079040050506592, 0.0050657281875610355, 0.005085184097290039, 0.0050657281875610355, 0.00510975980758667, 0.004986879825592041, 0.005024767875671386, 0.00502784013748169, 0.004874239921569825, 0.004858880043029785, 0.004847616195678711, 0.004848639965057373, 0.0048496642112731934, 0.0048496642112731934, 0.004900864124298096, 0.00491315221786499, 0.00497049617767334, 0.00496127986907959, 0.004933631896972656, 0.005054463863372802, 0.00506879997253418, 0.005064703941345215, 0.005045248031616211, 0.005104640007019043, 0.00501145601272583, 0.004844543933868409, 0.004842495918273926, 0.004846591949462891, 0.004844543933868409, 0.0048455681800842285, 0.0049500160217285155, 0.0050032639503479, 0.004976640224456787, 0.00487116813659668, 0.004955135822296143, 0.0049489917755126955, 0.004999167919158935, 0.0050421757698059086, 0.004882431983947754, 0.004904960155487061, 0.0049489917755126955, 0.004966400146484375, 0.004926464080810547, 0.004944896221160889, 0.0049090561866760255, 0.004971519947052002, 0.004994048118591309, 0.005062655925750732, 0.005122047901153564, 0.005073919773101807, 0.005062655925750732, 0.005033984184265137, 0.005037055969238281, 0.004994048118591309, 0.0048558077812194825, 0.004848639965057373, 0.004853759765625, 0.004905983924865722, 0.004853759765625, 0.004881408214569092, 0.004847616195678711, 0.004850687980651855, 0.0048527359962463375, 0.0048496642112731934, 0.004847616195678711, 0.0048496642112731934, 0.004851712226867676, 0.004851712226867676, 0.0048527359962463375, 0.00485478401184082, 0.004851712226867676, 0.004851712226867676, 0.004850687980651855, 0.0048496642112731934, 0.0048527359962463375, 0.0048527359962463375, 0.0048527359962463375, 0.004853759765625, 0.004848639965057373, 0.004853759765625, 0.004851712226867676, 0.004851712226867676, 0.004850687980651855, 0.0048496642112731934, 0.0048496642112731934, 0.0048558077812194825, 0.0048496642112731934, 0.004851712226867676, 0.004851712226867676, 0.004850687980651855, 0.004847616195678711, 0.004850687980651855, 0.004851712226867676, 0.004851712226867676, 0.0048496642112731934, 0.0048527359962463375, 0.0048496642112731934, 0.00485478401184082, 0.004853759765625, 0.004850687980651855, 0.0048496642112731934, 0.004853759765625, 0.0048527359962463375, 0.004850687980651855, 0.0048527359962463375, 0.004853759765625, 0.004850687980651855, 0.00485478401184082, 0.00485478401184082, 0.0048527359962463375, 0.004853759765625, 0.00485478401184082, 0.004851712226867676, 0.0048527359962463375, 0.004850687980651855, 0.004850687980651855, 0.004850687980651855, 0.004851712226867676, 0.004853759765625, 0.00485478401184082, 0.004850687980651855, 0.0048496642112731934, 0.0048496642112731934, 0.004850687980651855, 0.004850687980651855, 0.0048496642112731934, 0.004850687980651855, 0.0048527359962463375, 0.0048496642112731934, 0.004848639965057373, 0.004853759765625, 0.004851712226867676, 0.0048496642112731934, 0.004848639965057373, 0.004851712226867676, 0.004847616195678711, 0.004851712226867676, 0.004847616195678711, 0.004848639965057373, 0.0048496642112731934, 0.004851712226867676, 0.004851712226867676, 0.0048496642112731934, 0.004848639965057373, 0.004851712226867676, 0.004848639965057373, 0.004853759765625, 0.004850687980651855, 0.004851712226867676, 0.004848639965057373, 0.004850687980651855, 0.004851712226867676, 0.0048496642112731934, 0.0048496642112731934, 0.004851712226867676, 0.004850687980651855, 0.0048496642112731934, 0.004848639965057373, 0.004847616195678711, 0.0048496642112731934, 0.004850687980651855, 0.004850687980651855, 0.004850687980651855, 0.004851712226867676, 0.004850687980651855, 0.0048496642112731934, 0.004853759765625, 0.004851712226867676, 0.004853759765625, 0.0048455681800842285, 0.004851712226867676, 0.004851712226867676, 0.0048496642112731934, 0.004853759765625, 0.004851712226867676, 0.0048496642112731934, 0.00485478401184082, 0.0048527359962463375, 0.004848639965057373 ] }, "throughput": { "unit": "samples/s", "value": 203.7844446518381 }, "energy": { "unit": "kWh", "cpu": 5.753525929131098e-08, "ram": 3.1459716813267276e-08, "gpu": 3.457196161981139e-07, "total": 4.347145923026922e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2300359.863014902 } } } }