{ "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.3.0", "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.265472, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.85792 }, "latency": { "unit": "s", "count": 205, "total": 1.019087164878844, "mean": 0.004971156901848025, "stdev": 0.00019330546963639505, "p50": 0.0048568320274353025, "p90": 0.005173247909545898, "p95": 0.005293056106567382, "p99": 0.0058774835777282725, "values": [ 0.005526527881622314, 0.004928512096405029, 0.004947968006134033, 0.00496230411529541, 0.004915200233459473, 0.00501145601272583, 0.004958208084106445, 0.004930560111999512, 0.004900864124298096, 0.004874239921569825, 0.0050206718444824215, 0.0053678078651428224, 0.005180448055267334, 0.005219295978546142, 0.00552243185043335, 0.005344255924224854, 0.005180416107177735, 0.00515174388885498, 0.005115903854370117, 0.005131264209747314, 0.005191679954528809, 0.005185535907745361, 0.005179391860961914, 0.005189663887023925, 0.005158912181854248, 0.005101568222045898, 0.005124095916748047, 0.004998144149780274, 0.0050728960037231445, 0.005114880084991455, 0.005107711791992187, 0.005193727970123291, 0.005153791904449463, 0.005102591991424561, 0.005122047901153564, 0.00506879997253418, 0.0050800638198852536, 0.00511897611618042, 0.004888607978820801, 0.0048568320274353025, 0.004857855796813965, 0.004860928058624267, 0.0048568320274353025, 0.004853759765625, 0.004857855796813965, 0.004858880043029785, 0.004857855796813965, 0.0048568320274353025, 0.0048558077812194825, 0.004853759765625, 0.004858880043029785, 0.004858880043029785, 0.0048568320274353025, 0.004858943939208984, 0.004858880043029785, 0.0048558077812194825, 0.005015552043914795, 0.005142528057098389, 0.005125120162963868, 0.005107711791992187, 0.005100543975830078, 0.005099520206451416, 0.004921343803405762, 0.004989952087402344, 0.005035007953643799, 0.0050135040283203125, 0.005112832069396973, 0.005126143932342529, 0.004992000102996826, 0.0049909758567810054, 0.005055488109588623, 0.005053440093994141, 0.005001215934753418, 0.005008384227752686, 0.005001215934753418, 0.0050462718009948735, 0.005129216194152832, 0.005169151782989502, 0.005157887935638428, 0.005149695873260498, 0.005115903854370117, 0.005121024131774903, 0.005175295829772949, 0.005114880084991455, 0.005137407779693603, 0.0049459199905395506, 0.0051701760292053225, 0.005115903854370117, 0.005075967788696289, 0.005021696090698242, 0.004928512096405029, 0.00532480001449585, 0.005243904113769531, 0.005092351913452148, 0.004989952087402344, 0.0048568320274353025, 0.004857855796813965, 0.004853759765625, 0.004853759765625, 0.004850687980651855, 0.004853759765625, 0.00485478401184082, 0.005305344104766845, 0.005745664119720459, 0.005882976055145264, 0.005893119812011719, 0.005923840045928955, 0.0055244798660278325, 0.0049500160217285155, 0.00485478401184082, 0.0048558077812194825, 0.004850687980651855, 0.0048568320274353025, 0.004850687980651855, 0.004853759765625, 0.004853759765625, 0.004851712226867676, 0.004851712226867676, 0.004853759765625, 0.0048496642112731934, 0.004853759765625, 0.00485478401184082, 0.0048496642112731934, 0.004853759765625, 0.004851712226867676, 0.004850687980651855, 0.004853759765625, 0.0048527359962463375, 0.004850687980651855, 0.0048496642112731934, 0.004853759765625, 0.004848639965057373, 0.0048496642112731934, 0.0048558077812194825, 0.0048496642112731934, 0.004850687980651855, 0.004851712226867676, 0.004850687980651855, 0.0048527359962463375, 0.004853759765625, 0.004851712226867676, 0.004853759765625, 0.0048527359962463375, 0.004853759765625, 0.0048537921905517575, 0.0048496642112731934, 0.004851712226867676, 0.004847616195678711, 0.004850687980651855, 0.004850687980651855, 0.0048527359962463375, 0.004853759765625, 0.004853759765625, 0.00485478401184082, 0.0048527359962463375, 0.0048527359962463375, 0.004853759765625, 0.004850687980651855, 0.004851712226867676, 0.004853759765625, 0.004853759765625, 0.0048496642112731934, 0.004850687980651855, 0.0048496642112731934, 0.00485478401184082, 0.004851712226867676, 0.004857855796813965, 0.004853759765625, 0.004853759765625, 0.0048527359962463375, 0.0048527359962463375, 0.004851712226867676, 0.0048558077812194825, 0.004851712226867676, 0.0048527359962463375, 0.004851712226867676, 0.004857855796813965, 0.004853759765625, 0.0048527359962463375, 0.00485478401184082, 0.0048527359962463375, 0.004850687980651855, 0.0048527359962463375, 0.004850687980651855, 0.004851712226867676, 0.004847616195678711, 0.004851712226867676, 0.004853759765625, 0.004853759765625, 0.004850687980651855, 0.0048558077812194825, 0.004852799892425537, 0.004851712226867676, 0.004851712226867676, 0.00485478401184082, 0.0048527359962463375, 0.004853759765625, 0.004853759765625, 0.004851712226867676, 0.0048496642112731934, 0.004851712226867676, 0.004851712226867676, 0.004853759765625, 0.00485478401184082, 0.00485478401184082 ] }, "throughput": { "unit": "samples/s", "value": 201.1604179357627 }, "energy": { "unit": "kWh", "cpu": 5.7596571165560684e-08, "ram": 3.1491254530262466e-08, "gpu": 3.3312919732075334e-07, "total": 4.222170230165765e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2368450.2175099165 } } } }