{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+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.223-212.873.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.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "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": 838.762496, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.01447216796875, "mean": 8.01447216796875, "stdev": 0.0, "p50": 8.01447216796875, "p90": 8.01447216796875, "p95": 8.01447216796875, "p99": 8.01447216796875, "values": [ 8.01447216796875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.483527525000028e-06, "ram": 7.97500907184871e-07, "gpu": 1.6708346699994062e-06, "total": 3.9518631021843055e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1047.314432, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 183, "total": 0.9974379501342773, "mean": 0.0054504806018266525, "stdev": 0.00020494086662726488, "p50": 0.005477375984191894, "p90": 0.005671731281280518, "p95": 0.005737808036804199, "p99": 0.006112574863433838, "values": [ 0.006244351863861084, 0.006288383960723877, 0.00571289587020874, 0.005677984237670898, 0.005653471946716309, 0.005706751823425293, 0.005844031810760498, 0.005657599925994873, 0.005646336078643799, 0.005826560020446778, 0.005600255966186523, 0.005542912006378174, 0.005628928184509278, 0.005568511962890625, 0.005850048065185547, 0.005505023956298828, 0.005516223907470703, 0.005526495933532715, 0.005574656009674072, 0.005566463947296142, 0.00552243185043335, 0.005421055793762207, 0.005395455837249756, 0.005339104175567627, 0.005368832111358642, 0.005434304237365723, 0.005433343887329102, 0.005620736122131348, 0.0057190399169921875, 0.005674848079681397, 0.005575679779052735, 0.0055848960876464845, 0.0055797758102417, 0.005540863990783691, 0.00536678409576416, 0.005275648117065429, 0.005276671886444092, 0.0053331198692321774, 0.00551423978805542, 0.0055797758102417, 0.005575679779052735, 0.005550079822540284, 0.005616640090942383, 0.0055797758102417, 0.0055244798660278325, 0.005541888236999512, 0.005662720203399658, 0.005536767959594726, 0.005739552021026611, 0.005534719944000244, 0.005579840183258056, 0.0055203838348388675, 0.005325823783874512, 0.005401760101318359, 0.005377024173736572, 0.005403647899627686, 0.005417823791503906, 0.005408768177032471, 0.0055623679161071774, 0.0054876160621643065, 0.005477375984191894, 0.005796768188476562, 0.005533696174621582, 0.0055203838348388675, 0.005485568046569824, 0.005485407829284668, 0.006083648204803466, 0.005605375766754151, 0.005689343929290771, 0.005609407901763916, 0.005548031806945801, 0.0053862080574035645, 0.00572211217880249, 0.0055797758102417, 0.0054568638801574705, 0.005449728012084961, 0.005508096218109131, 0.005615615844726562, 0.005650464057922363, 0.0055797758102417, 0.00557260799407959, 0.0054988799095153805, 0.005555327892303467, 0.0055920639038085935, 0.005643263816833496, 0.005519360065460205, 0.005506048202514649, 0.005492735862731934, 0.005673984050750733, 0.005486591815948487, 0.0056217598915100095, 0.005617663860321045, 0.005480447769165039, 0.0054824318885803225, 0.0054609918594360355, 0.005549056053161621, 0.005492735862731934, 0.005454847812652588, 0.005499904155731201, 0.005448703765869141, 0.005482495784759522, 0.0054876160621643065, 0.005609471797943116, 0.005740543842315674, 0.0056852478981018065, 0.005570687770843506, 0.005405695915222168, 0.005329919815063477, 0.005452799797058106, 0.005370975971221924, 0.005344255924224854, 0.005284863948822022, 0.005359615802764893, 0.005318784236907959, 0.005298175811767578, 0.00516918420791626, 0.005163936138153076, 0.00548140811920166, 0.005475327968597412, 0.005439455986022949, 0.00546611213684082, 0.005396480083465576, 0.005255328178405762, 0.0052715520858764645, 0.005742591857910156, 0.005484576225280762, 0.005278719902038574, 0.00515993595123291, 0.0053298878669738765, 0.005216256141662597, 0.005194752216339111, 0.0052930560111999515, 0.005285888195037842, 0.005441472053527832, 0.005476352214813233, 0.005455872058868408, 0.005545983791351319, 0.005594111919403076, 0.00562278413772583, 0.005444608211517334, 0.00530841588973999, 0.00531763219833374, 0.0053524160385131836, 0.005601280212402344, 0.0054579200744628905, 0.005282815933227539, 0.005253119945526123, 0.00522873592376709, 0.005282815933227539, 0.005110591888427734, 0.005140543937683106, 0.005186560153961181, 0.005220352172851562, 0.005206016063690186, 0.005253119945526123, 0.005165056228637695, 0.005131264209747314, 0.005087296009063721, 0.0051333122253417966, 0.005081151962280274, 0.005074944019317627, 0.005086207866668701, 0.005374847888946533, 0.00506982421875, 0.005537792205810547, 0.005224448204040527, 0.005222400188446045, 0.005187583923339844, 0.0051701760292053225, 0.005140448093414306, 0.005179391860961914, 0.005190527915954589, 0.005174272060394287, 0.005142528057098389, 0.0051660799980163576, 0.005206079959869385, 0.0051456642150878905, 0.005175295829772949, 0.005202879905700683, 0.005250912189483642, 0.005188608169555664, 0.005345183849334717, 0.005279744148254394 ] }, "throughput": { "unit": "samples/s", "value": 183.47005944115534 }, "energy": { "unit": "kWh", "cpu": 6.028581139664395e-08, "ram": 3.291882670131489e-08, "gpu": 3.5754681734010397e-07, "total": 4.5075145543806275e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2218517.5176598155 } } } }