{ "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.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": 840.843264, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.92017919921875, "mean": 7.92017919921875, "stdev": 0.0, "p50": 7.92017919921875, "p90": 7.92017919921875, "p95": 7.92017919921875, "p99": 7.92017919921875, "values": [ 7.92017919921875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.450826809028093e-06, "ram": 7.760822011456354e-07, "gpu": 1.8325014660000236e-06, "total": 4.059410476173752e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1049.174016, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 198, "total": 0.9964130287170411, "mean": 0.00503238903392445, "stdev": 0.00013158433306440577, "p50": 0.005047264099121094, "p90": 0.005126348972320557, "p95": 0.005233305597305298, "p99": 0.005325321450233459, "values": [ 0.005345280170440674, 0.005243904113769531, 0.005320703983306885, 0.005317599773406983, 0.005242879867553711, 0.0052295680046081545, 0.005324704170227051, 0.005252096176147461, 0.0059771199226379395, 0.005141503810882568, 0.004918272018432617, 0.0048752641677856446, 0.004883456230163574, 0.004926464080810547, 0.0048496642112731934, 0.004867072105407715, 0.004888576030731201, 0.004937727928161621, 0.00487116813659668, 0.004867072105407715, 0.004860928058624267, 0.0048568320274353025, 0.004869120121002197, 0.004881408214569092, 0.004842495918273926, 0.004880383968353271, 0.004847616195678711, 0.0049162240028381345, 0.004831232070922851, 0.004839424133300781, 0.004825088024139404, 0.0048558077812194825, 0.004853759765625, 0.004839424133300781, 0.0048455681800842285, 0.004844543933868409, 0.0048496642112731934, 0.0048752641677856446, 0.0048455681800842285, 0.004839424133300781, 0.0048230400085449215, 0.00486297607421875, 0.004836351871490479, 0.004874239921569825, 0.004858880043029785, 0.004901887893676758, 0.004858880043029785, 0.0048261117935180665, 0.004859903812408447, 0.004825088024139404, 0.004837376117706299, 0.0048230400085449215, 0.0048455681800842285, 0.0048189439773559575, 0.004819968223571777, 0.004851712226867676, 0.004874239921569825, 0.004850687980651855, 0.004905983924865722, 0.005142528057098389, 0.005019584178924561, 0.005038080215454102, 0.005037055969238281, 0.00502784013748169, 0.005018623828887939, 0.005041152000427246, 0.005231616020202637, 0.005078015804290771, 0.005030911922454834, 0.005055488109588623, 0.005099520206451416, 0.005037055969238281, 0.005037055969238281, 0.005067776203155518, 0.005061632156372071, 0.005049344062805176, 0.005027872085571289, 0.005061632156372071, 0.005108736038208008, 0.005047232151031494, 0.005041152000427246, 0.005079040050506592, 0.005025728225708008, 0.005038080215454102, 0.005031936168670655, 0.005111807823181152, 0.005070847988128662, 0.005054399967193603, 0.005040128231048584, 0.0050206718444824215, 0.0050421757698059086, 0.005041152000427246, 0.005082111835479736, 0.005039103984832764, 0.005038080215454102, 0.005062655925750732, 0.005096447944641113, 0.005033984184265137, 0.005313536167144775, 0.005129216194152832, 0.0050360321998596195, 0.005040128231048584, 0.005053440093994141, 0.005104640007019043, 0.005017600059509277, 0.005100543975830078, 0.005086207866668701, 0.00506060791015625, 0.005080095767974854, 0.005059584140777588, 0.005093376159667969, 0.0050432000160217285, 0.005021696090698242, 0.005059584140777588, 0.005195775985717774, 0.005045248031616211, 0.005082111835479736, 0.005063680171966553, 0.005058559894561767, 0.005040160179138184, 0.005047296047210693, 0.005066751956939697, 0.00502784013748169, 0.005040128231048584, 0.005040128231048584, 0.005096447944641113, 0.0050432000160217285, 0.005048319816589355, 0.005078015804290771, 0.0050769920349121095, 0.00506060791015625, 0.005031839847564697, 0.0050800638198852536, 0.005059584140777588, 0.005055488109588623, 0.005048319816589355, 0.005107647895812988, 0.005124095916748047, 0.005041152000427246, 0.00506879997253418, 0.00505241584777832, 0.005040128231048584, 0.005032959938049316, 0.005059584140777588, 0.00506982421875, 0.005067776203155518, 0.005023744106292725, 0.00530841588973999, 0.005097472190856934, 0.005086207866668701, 0.0051363840103149415, 0.005108736038208008, 0.005107711791992187, 0.005093408107757568, 0.005153855800628662, 0.005088255882263183, 0.005094399929046631, 0.005125120162963868, 0.005099487781524658, 0.005047296047210693, 0.0050646400451660155, 0.005144576072692871, 0.005054463863372802, 0.005078015804290771, 0.005088255882263183, 0.005104640007019043, 0.005054463863372802, 0.005044159889221192, 0.005091328144073487, 0.005044223785400391, 0.0050462718009948735, 0.00506982421875, 0.005122047901153564, 0.005040224075317383, 0.00502784013748169, 0.005073919773101807, 0.005070847988128662, 0.005104640007019043, 0.005045216083526611, 0.005066751956939697, 0.005061567783355713, 0.005026815891265869, 0.0050360321998596195, 0.005085184097290039, 0.00506982421875, 0.0050421757698059086, 0.005094399929046631, 0.005066751956939697, 0.005044223785400391, 0.005064703941345215, 0.005070847988128662, 0.0050769920349121095, 0.005042240142822265, 0.005070847988128662, 0.005101568222045898, 0.005033984184265137, 0.00506982421875, 0.005194752216339111 ] }, "throughput": { "unit": "samples/s", "value": 198.71277702474478 }, "energy": { "unit": "kWh", "cpu": 6.052167126913734e-08, "ram": 3.3074731160712855e-08, "gpu": 3.5404931952040877e-07, "total": 4.476457219502589e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2233909.430974339 } } } }