{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.6.0.dev20240917+cu124", "_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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 853.065728, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.5779326171875, "mean": 8.5779326171875, "stdev": 0.0, "p50": 8.5779326171875, "p90": 8.5779326171875, "p95": 8.5779326171875, "p99": 8.5779326171875, "values": [ 8.5779326171875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4998229694533115e-06, "ram": 8.032557314678767e-07, "gpu": 3.704725185994795e-06, "total": 6.007803886915983e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1058.304, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 200, "total": 0.999954273223877, "mean": 0.004999771366119384, "stdev": 0.0001617030991135304, "p50": 0.004950527906417847, "p90": 0.005128191947937012, "p95": 0.005315840172767639, "p99": 0.005603614945411682, "values": [ 0.005341184139251709, 0.005296127796173096, 0.0053975038528442385, 0.005350399971008301, 0.005315584182739258, 0.005320703983306885, 0.005326784133911132, 0.005332992076873779, 0.005631999969482422, 0.005563392162322998, 0.005603328227996827, 0.00628223991394043, 0.005187583923339844, 0.005015552043914795, 0.00497049617767334, 0.004940832138061523, 0.005000192165374756, 0.0049725441932678225, 0.004935679912567138, 0.004921343803405762, 0.004952064037322998, 0.004957183837890625, 0.0049428482055664065, 0.004915200233459473, 0.004923391819000244, 0.0049489917755126955, 0.004996096134185791, 0.004935679912567138, 0.004902912139892578, 0.004939775943756103, 0.004921343803405762, 0.004907008171081543, 0.0048895998001098635, 0.004960256099700928, 0.0049192957878112795, 0.004908031940460205, 0.004908031940460205, 0.004896768093109131, 0.005008384227752686, 0.004914175987243652, 0.004933631896972656, 0.004889632225036621, 0.004901887893676758, 0.004892672061920166, 0.004903935909271241, 0.004888576030731201, 0.004899839878082276, 0.004890624046325683, 0.004872191905975342, 0.0048895998001098635, 0.004884479999542236, 0.004915200233459473, 0.0049725441932678225, 0.004982848167419434, 0.004858880043029785, 0.004896768093109131, 0.0049090561866760255, 0.0048752641677856446, 0.0048793601989746095, 0.004867072105407715, 0.004908031940460205, 0.004890624046325683, 0.004887551784515381, 0.0048793601989746095, 0.004921343803405762, 0.004934656143188477, 0.005100543975830078, 0.005045248031616211, 0.005063680171966553, 0.005054463863372802, 0.005031936168670655, 0.005079040050506592, 0.00502784013748169, 0.0050800638198852536, 0.005173247814178467, 0.005088255882263183, 0.005128191947937012, 0.0050769920349121095, 0.0050432000160217285, 0.00506879997253418, 0.005155839920043945, 0.005053440093994141, 0.005044223785400391, 0.0050657281875610355, 0.0050800638198852536, 0.005055488109588623, 0.005054463863372802, 0.005102528095245361, 0.005064703941345215, 0.005054399967193603, 0.0050871682167053225, 0.005059584140777588, 0.005070784091949463, 0.0051404800415039064, 0.005082111835479736, 0.005058559894561767, 0.0050657281875610355, 0.005107679843902588, 0.005063680171966553, 0.0051476478576660155, 0.00501043176651001, 0.004943871974945068, 0.004868095874786377, 0.004891647815704346, 0.004921343803405762, 0.004985856056213379, 0.0049203200340270994, 0.004943871974945068, 0.004910079956054687, 0.004939775943756103, 0.0049428482055664065, 0.00495411205291748, 0.004923391819000244, 0.004951039791107178, 0.004973567962646484, 0.0049500160217285155, 0.004941823959350586, 0.004971519947052002, 0.0049530878067016604, 0.004930560111999512, 0.0049725441932678225, 0.004944896221160889, 0.0049797120094299315, 0.004937727928161621, 0.00496230411529541, 0.004944896221160889, 0.004985856056213379, 0.004980735778808594, 0.004958208084106445, 0.004933631896972656, 0.004963327884674072, 0.004937727928161621, 0.004933631896972656, 0.004944896221160889, 0.004969471931457519, 0.004952064037322998, 0.004941823959350586, 0.004922368049621582, 0.0049203200340270994, 0.004955135822296143, 0.0049428482055664065, 0.004931583881378174, 0.004900864124298096, 0.004956160068511963, 0.0049090561866760255, 0.004929535865783692, 0.004923391819000244, 0.0049459199905395506, 0.004939775943756103, 0.004941823959350586, 0.0049090561866760255, 0.004930560111999512, 0.0049387521743774416, 0.004938816070556641, 0.004926464080810547, 0.00497049617767334, 0.004957183837890625, 0.004941823959350586, 0.004955135822296143, 0.005208064079284668, 0.005112832069396973, 0.005117951869964599, 0.00511894416809082, 0.005128191947937012, 0.00512505578994751, 0.005096447944641113, 0.005135359764099121, 0.005087264060974121, 0.005083136081695557, 0.005053440093994141, 0.005114880084991455, 0.00506982421875, 0.005070847988128662, 0.005062655925750732, 0.005097472190856934, 0.005092351913452148, 0.005079040050506592, 0.005026815891265869, 0.005021696090698242, 0.0050022401809692385, 0.004833280086517334, 0.004847616195678711, 0.004863999843597412, 0.00486297607421875, 0.0048261117935180665, 0.00485478401184082, 0.004830207824707031, 0.004844543933868409, 0.004830207824707031, 0.004850687980651855, 0.004836351871490479, 0.004832255840301514, 0.00486297607421875, 0.004860928058624267, 0.004832255840301514, 0.004839424133300781, 0.004850687980651855, 0.004877312183380127, 0.004846591949462891, 0.004853824138641358 ] }, "throughput": { "unit": "samples/s", "value": 200.00914577343138 }, "energy": { "unit": "kWh", "cpu": 5.965351813923894e-08, "ram": 3.260000898586381e-08, "gpu": 3.5308515125624264e-07, "total": 4.453386783813454e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2245482.0309672174 } } } }