{ "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.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.510144, "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.19311279296875, "mean": 7.19311279296875, "stdev": 0.0, "p50": 7.19311279296875, "p90": 7.19311279296875, "p95": 7.19311279296875, "p99": 7.19311279296875, "values": [ 7.19311279296875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5942762295405072e-06, "ram": 8.580366679441909e-07, "gpu": 1.7808347579995401e-06, "total": 4.233147655484238e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 888.979456, "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.0169622330665586, "mean": 0.004936709869255139, "stdev": 0.00012771522730556568, "p50": 0.004858880043029785, "p90": 0.005103615999221801, "p95": 0.0051642881631851194, "p99": 0.005251686573028564, "values": [ 0.005230591773986816, 0.00515174388885498, 0.005231616020202637, 0.005174272060394287, 0.005175295829772949, 0.0052070398330688475, 0.005173247814178467, 0.005093376159667969, 0.005127168178558349, 0.005161983966827393, 0.005098495960235596, 0.00511078405380249, 0.005093376159667969, 0.005024767875671386, 0.00502784013748169, 0.005053440093994141, 0.00505241584777832, 0.00499507188796997, 0.004860928058624267, 0.004866047859191895, 0.004934656143188477, 0.005026815891265869, 0.004998144149780274, 0.00505241584777832, 0.005096447944641113, 0.005097472190856934, 0.0050657281875610355, 0.005098495960235596, 0.005252096176147461, 0.005129151821136475, 0.0050135040283203125, 0.005099520206451416, 0.005155839920043945, 0.005078015804290771, 0.005165056228637695, 0.005087232112884522, 0.005243904113769531, 0.005280767917633057, 0.005124095916748047, 0.005049344062805176, 0.005083136081695557, 0.005085184097290039, 0.005094399929046631, 0.005044223785400391, 0.005055488109588623, 0.004890624046325683, 0.005000192165374756, 0.00487116813659668, 0.0050032639503479, 0.004999167919158935, 0.0050022401809692385, 0.004924416065216064, 0.004931583881378174, 0.005023744106292725, 0.00495411205291748, 0.0050063362121582035, 0.005039103984832764, 0.005087232112884522, 0.005146624088287354, 0.005087232112884522, 0.0051066880226135255, 0.005061632156372071, 0.005059584140777588, 0.004993055820465088, 0.004925439834594727, 0.005023744106292725, 0.005100543975830078, 0.005062655925750732, 0.005061632156372071, 0.005757952213287353, 0.0048558077812194825, 0.0048558077812194825, 0.004857855796813965, 0.004853759765625, 0.004858880043029785, 0.0048558077812194825, 0.0048568320274353025, 0.004857855796813965, 0.004859903812408447, 0.0048568320274353025, 0.004858880043029785, 0.004853824138641358, 0.004853759765625, 0.004923391819000244, 0.004921343803405762, 0.004987904071807861, 0.004974592208862305, 0.0050135040283203125, 0.004987904071807861, 0.005058559894561767, 0.005148672103881836, 0.004872191905975342, 0.004859903812408447, 0.004857855796813965, 0.0048568320274353025, 0.004850687980651855, 0.004860928058624267, 0.004859903812408447, 0.004858880043029785, 0.004859903812408447, 0.004859903812408447, 0.0048568320274353025, 0.004859903812408447, 0.004857855796813965, 0.0048527359962463375, 0.0048568320274353025, 0.0048558077812194825, 0.0048558077812194825, 0.00485478401184082, 0.0048568320274353025, 0.004857855796813965, 0.0048558077812194825, 0.004853759765625, 0.004853759765625, 0.004857855796813965, 0.0048496642112731934, 0.0048568320274353025, 0.00485478401184082, 0.0048568320274353025, 0.0048568320274353025, 0.004859903812408447, 0.0048558077812194825, 0.00485478401184082, 0.0048558077812194825, 0.0048558077812194825, 0.004857855796813965, 0.004857855796813965, 0.00486297607421875, 0.004853824138641358, 0.00485478401184082, 0.0048558077812194825, 0.004858880043029785, 0.00485478401184082, 0.004858880043029785, 0.004857855796813965, 0.0048579201698303225, 0.0048537921905517575, 0.004858880043029785, 0.0048568320274353025, 0.0048568320274353025, 0.0048568320274353025, 0.004857855796813965, 0.0048558077812194825, 0.004858880043029785, 0.004857855796813965, 0.0048568320274353025, 0.0048568320274353025, 0.004858880043029785, 0.004858880043029785, 0.0048568320274353025, 0.004858880043029785, 0.004850687980651855, 0.004859903812408447, 0.004857855796813965, 0.004857855796813965, 0.0048568320274353025, 0.004853759765625, 0.0048568320274353025, 0.004851712226867676, 0.004857855796813965, 0.004857855796813965, 0.004858880043029785, 0.004857855796813965, 0.004858880043029785, 0.004858880043029785, 0.004858880043029785, 0.004859903812408447, 0.004857855796813965, 0.004860928058624267, 0.004859903812408447, 0.0048568320274353025, 0.0048558077812194825, 0.0048527359962463375, 0.0048558077812194825, 0.00485478401184082, 0.0048558077812194825, 0.00485478401184082, 0.0048527359962463375, 0.0048558077812194825, 0.004859903812408447, 0.004857855796813965, 0.0048148479461669925, 0.004809728145599365, 0.004810751914978028, 0.0048558077812194825, 0.0048558077812194825, 0.004857855796813965, 0.0048558077812194825, 0.00485478401184082, 0.0048558077812194825, 0.00485478401184082, 0.004851712226867676, 0.0048527359962463375, 0.00485478401184082, 0.00485478401184082, 0.00485478401184082, 0.00485478401184082, 0.0048496642112731934, 0.004851712226867676, 0.00485478401184082, 0.004853759765625, 0.00485478401184082, 0.00485478401184082, 0.004850687980651855, 0.0048568320274353025, 0.00485478401184082 ] }, "throughput": { "unit": "samples/s", "value": 202.5640611833002 }, "energy": { "unit": "kWh", "cpu": 5.760875919080131e-08, "ram": 3.150044514783629e-08, "gpu": 3.452466074339634e-07, "total": 4.3435581177260096e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2302259.974188009 } } } }