{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "transformers", "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": {}, "hub_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, "latency": true, "memory": 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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 910.229504, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 171, "total": 0.9962179522514341, "mean": 0.005825835978078563, "stdev": 0.00016912286104490469, "p50": 0.005807104110717773, "p90": 0.006017055988311768, "p95": 0.00605132794380188, "p99": 0.006285926389694216, "values": [ 0.006394879817962646, 0.006173696041107178, 0.006100992202758789, 0.006239232063293457, 0.006045695781707764, 0.006024191856384278, 0.005970943927764893, 0.006043647766113281, 0.005993472099304199, 0.005971968173980713, 0.005860352039337159, 0.005883903980255127, 0.006004735946655273, 0.005944320201873779, 0.005880832195281982, 0.00590342378616333, 0.005765120029449463, 0.005767231941223145, 0.005768191814422607, 0.005839871883392334, 0.005853151798248291, 0.005882912158966065, 0.005854207992553711, 0.005960703849792481, 0.005860352039337159, 0.005857279777526855, 0.005859327793121338, 0.005736447811126709, 0.005864448070526123, 0.005864448070526123, 0.005893119812011719, 0.005837823867797852, 0.005912576198577881, 0.005853184223175049, 0.005923840045928955, 0.005810175895690918, 0.005903359889984131, 0.00586137580871582, 0.005892096042633056, 0.005863423824310303, 0.005783552169799804, 0.0057497601509094234, 0.005724160194396972, 0.005757952213287353, 0.005781504154205322, 0.005837823867797852, 0.005746687889099121, 0.005876736164093017, 0.0058122239112854005, 0.005903359889984131, 0.005882880210876465, 0.005898240089416504, 0.005917695999145508, 0.0059269118309021, 0.005873663902282715, 0.005920767784118652, 0.005816319942474365, 0.005889023780822754, 0.0059054079055786135, 0.005887968063354492, 0.00587775993347168, 0.005853184223175049, 0.005868544101715088, 0.005803008079528809, 0.005818367958068848, 0.005766143798828125, 0.005853184223175049, 0.005787648200988769, 0.005830656051635743, 0.005867519855499268, 0.005923840045928955, 0.005798912048339844, 0.005800992012023926, 0.0057784318923950195, 0.006038527965545654, 0.0060119681358337404, 0.0060405759811401364, 0.005994495868682862, 0.00603545618057251, 0.006013951778411865, 0.006056960105895996, 0.0060928001403808595, 0.006153215885162353, 0.006024191856384278, 0.005967872142791748, 0.0058716158866882326, 0.005853184223175049, 0.005860352039337159, 0.005876736164093017, 0.00577023983001709, 0.0058429441452026365, 0.005801983833312988, 0.005753856182098388, 0.005705728054046631, 0.005599232196807862, 0.005623807907104492, 0.005702655792236328, 0.005724160194396972, 0.005584832191467285, 0.00551423978805542, 0.005581823825836182, 0.005699584007263184, 0.005921792030334472, 0.005723135948181152, 0.005898240089416504, 0.005805056095123291, 0.005858304023742676, 0.005896192073822021, 0.006017055988311768, 0.006023136138916016, 0.005816319942474365, 0.005727231979370117, 0.005740543842315674, 0.005791744232177734, 0.00572108793258667, 0.005777408123016357, 0.005745664119720459, 0.005716991901397705, 0.005697535991668701, 0.00576204776763916, 0.00572211217880249, 0.005689343929290771, 0.005750783920288086, 0.005691391944885254, 0.0057149438858032225, 0.005705728054046631, 0.005799935817718506, 0.00568832015991211, 0.005681151866912842, 0.005692416191101074, 0.005693439960479736, 0.005718016147613526, 0.00572108793258667, 0.005691391944885254, 0.005728256225585937, 0.005718016147613526, 0.005696512222290039, 0.00566476821899414, 0.005739520072937012, 0.005708799839019775, 0.00572108793258667, 0.005709824085235596, 0.005773344039916992, 0.0057415680885314945, 0.005717951774597168, 0.0057190399169921875, 0.0054988799095153805, 0.005505023956298828, 0.00550707197189331, 0.005486591815948487, 0.005566463947296142, 0.005499904155731201, 0.005739520072937012, 0.005706751823425293, 0.005679103851318359, 0.005690368175506591, 0.005693439960479736, 0.005686272144317627, 0.005695487976074219, 0.005807104110717773, 0.007038976192474365, 0.005824512004852295, 0.006091775894165039, 0.005799935817718506, 0.005686272144317627, 0.0057415680885314945, 0.005739520072937012, 0.005815296173095703, 0.005744639873504639, 0.005757952213287353, 0.005738495826721191 ] }, "throughput": { "unit": "samples/s", "value": 171.64918541524287 }, "energy": { "unit": "kWh", "cpu": 6.515526000105563e-08, "ram": 3.562384954021071e-08, "gpu": 3.394843985714286e-07, "total": 4.4026350811269495e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2271366.9917517407 } } } }