{ "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.5.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": "1.22.0", "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 843.935744, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.873856 }, "latency": { "unit": "s", "values": [ 8.08079443359375 ], "count": 1, "total": 8.08079443359375, "mean": 8.08079443359375, "p50": 8.08079443359375, "p90": 8.08079443359375, "p95": 8.08079443359375, "p99": 8.08079443359375, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5257428456000828e-06, "ram": 7.867058524350465e-07, "gpu": 1.6841680139378923e-06, "total": 3.996616711973022e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1054.588928, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "values": [ 0.005525504112243652, 0.005188640117645264, 0.005111807823181152, 0.005233695983886719, 0.00531660795211792, 0.005222400188446045, 0.005257215976715088, 0.005221375942230225, 0.005227519989013672, 0.005213183879852295, 0.00526643180847168, 0.005154816150665284, 0.005112927913665771, 0.00515174388885498, 0.005185535907745361, 0.005146624088287354, 0.005221375942230225, 0.005250048160552978, 0.005146751880645752, 0.005102591991424561, 0.0050074877738952635, 0.005024767875671386, 0.00502784013748169, 0.005287936210632324, 0.0051404800415039064, 0.005082111835479736, 0.005126143932342529, 0.0051272640228271485, 0.005153791904449463, 0.005119008064270019, 0.005107711791992187, 0.005228544235229492, 0.005239808082580567, 0.005232639789581299, 0.005309375762939453, 0.005221375942230225, 0.005239808082580567, 0.005296127796173096, 0.005219327926635742, 0.0051660799980163576, 0.005228544235229492, 0.005089280128479004, 0.005299200057983398, 0.005325823783874512, 0.005219327926635742, 0.005158912181854248, 0.0051701760292053225, 0.0052408318519592285, 0.005186560153961181, 0.005224448204040527, 0.005155839920043945, 0.005075967788696289, 0.00502784013748169, 0.005111807823181152, 0.005158912181854248, 0.005177184104919434, 0.005220352172851562, 0.005256192207336426, 0.00521724796295166, 0.005133471965789795, 0.005102591991424561, 0.005123072147369385, 0.005131264209747314, 0.005193727970123291, 0.005165056228637695, 0.005126143932342529, 0.005116928100585938, 0.005167103767395019, 0.005158912181854248, 0.005172224044799805, 0.005302271842956543, 0.005283840179443359, 0.0052070398330688475, 0.00542310380935669, 0.005272575855255127, 0.005260416030883789, 0.005269504070281982, 0.005231584072113037, 0.005146431922912598, 0.005186560153961181, 0.0052070398330688475, 0.00521727991104126, 0.005440512180328369, 0.005420032024383545, 0.005545983791351319, 0.005527552127838135, 0.005438464164733887, 0.005337088108062744, 0.005384191989898681, 0.005245952129364013, 0.00531660795211792, 0.005534719944000244, 0.005403647899627686, 0.005241856098175048, 0.005259263992309571, 0.005185535907745361, 0.0052111358642578124, 0.005419040203094482, 0.0052971520423889164, 0.005306367874145508, 0.0055101442337036136, 0.005442560195922852, 0.005519360065460205, 0.005533696174621582, 0.005571584224700928, 0.005706751823425293, 0.005378111839294434, 0.0052336640357971195, 0.005307392120361328, 0.005210112094879151, 0.005169151782989502, 0.005257215976715088, 0.005173247814178467, 0.00516812801361084, 0.005242879867553711, 0.005216256141662597, 0.0052295680046081545, 0.005279776096343994, 0.005230591773986816, 0.005222400188446045, 0.005223455905914306, 0.005208064079284668, 0.0052070398330688475, 0.005223423957824707, 0.005248000144958496, 0.005161983966827393, 0.005224448204040527, 0.005264383792877197, 0.0052971520423889164, 0.005176352024078369, 0.005203872203826904, 0.005154816150665284, 0.0051476478576660155, 0.0052008957862854, 0.0051660799980163576, 0.005146560192108155, 0.0051660799980163576, 0.005183487892150879, 0.005797887802124023, 0.005345280170440674, 0.005312511920928955, 0.005486591815948487, 0.0060590081214904785, 0.005214240074157715, 0.005246975898742676, 0.0052705278396606445, 0.005221375942230225, 0.005392384052276611, 0.005298175811767578, 0.00522547197341919, 0.005202943801879883, 0.005245952129364013, 0.005253119945526123, 0.005234687805175781, 0.005321728229522705, 0.005227519989013672, 0.005497856140136719, 0.0052899842262268066, 0.005221375942230225, 0.005237760066986084, 0.0052971520423889164, 0.005231616020202637, 0.005208064079284668, 0.005349376201629639, 0.005192671775817871, 0.005213183879852295, 0.005238783836364746, 0.005239776134490967, 0.005242911815643311, 0.005214208126068115, 0.0052899842262268066, 0.0052000322341918944, 0.0051998720169067385, 0.0052336640357971195, 0.005172224044799805, 0.005193727970123291, 0.005279744148254394, 0.005189631938934326, 0.005216256141662597, 0.005248000144958496, 0.005220352172851562, 0.005192704200744629, 0.005199967861175537, 0.005192704200744629, 0.005175295829772949, 0.005189631938934326, 0.0052531838417053224, 0.005206079959869385, 0.005213183879852295, 0.005242879867553711 ], "count": 190, "total": 0.9968186888694761, "mean": 0.005246414151944613, "p50": 0.005221888065338135, "p90": 0.005405187129974365, "p95": 0.005515212941169739, "p99": 0.005716776781082152, "stdev": 0.00012898480715076816, "stdev_": 2.4585326932865037 }, "throughput": { "unit": "samples/s", "value": 190.60637819249257 }, "energy": { "unit": "kWh", "cpu": 5.7782771854212986e-08, "ram": 3.156105810326894e-08, "gpu": 3.456205569701885e-07, "total": 4.349643869276705e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2299038.7950227484 } } } }