{ "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", "model": "google/vit-base-patch16-224", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 912.162816, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 167, "total": 0.9968365430831907, "mean": 0.0059690810963065315, "stdev": 0.00018453685207612988, "p50": 0.005975039958953857, "p90": 0.006167347240447998, "p95": 0.006217523336410523, "p99": 0.006550548601150513, "values": [ 0.006497280120849609, 0.006181888103485108, 0.0061931519508361815, 0.0061859841346740725, 0.006207488059997559, 0.006237184047698975, 0.006180863857269287, 0.006325247764587402, 0.006166528224945069, 0.006124512195587158, 0.006097983837127685, 0.006221824169158936, 0.006086656093597412, 0.006072319984436035, 0.006111231803894043, 0.00603545618057251, 0.005957632064819336, 0.005963776111602783, 0.00602726411819458, 0.006046720027923584, 0.006111264228820801, 0.00611737585067749, 0.0061194877624511715, 0.006080512046813965, 0.00613478422164917, 0.006033408164978027, 0.006037504196166992, 0.00608358383178711, 0.0060928001403808595, 0.006089727878570556, 0.006178815841674804, 0.006106112003326416, 0.006169631958007813, 0.006079487800598145, 0.00601907205581665, 0.00609168004989624, 0.006097919940948486, 0.006168575763702393, 0.006061056137084961, 0.0059996161460876465, 0.005949440002441406, 0.006047743797302246, 0.006024256229400635, 0.006033408164978027, 0.005913599967956543, 0.0060067839622497555, 0.006020095825195313, 0.005982207775115967, 0.006080512046813965, 0.006073344230651856, 0.006088704109191895, 0.006100992202758789, 0.006094912052154541, 0.006032383918762207, 0.005996543884277344, 0.005959680080413818, 0.006054912090301514, 0.006118400096893311, 0.006046720027923584, 0.006023168087005615, 0.006060031890869141, 0.006028319835662842, 0.006046720027923584, 0.005789696216583252, 0.0057907519340515134, 0.00572211217880249, 0.005785600185394287, 0.006653952121734619, 0.006030335903167725, 0.005943295955657959, 0.006054912090301514, 0.005975039958953857, 0.0060405759811401364, 0.005986303806304932, 0.00601804780960083, 0.005974016189575195, 0.006028351783752442, 0.005994495868682862, 0.006113279819488526, 0.006067200183868408, 0.006090752124786377, 0.00607539176940918, 0.006074368000030517, 0.006057983875274659, 0.0060631041526794435, 0.006055935859680176, 0.005974016189575195, 0.006049791812896729, 0.005979135990142822, 0.0059023361206054685, 0.005933055877685547, 0.005795839786529541, 0.005815296173095703, 0.005875648021697998, 0.005856256008148194, 0.005768191814422607, 0.00572211217880249, 0.005683199882507324, 0.005734399795532226, 0.005767168045043946, 0.005951488018035888, 0.005879807949066162, 0.005941247940063477, 0.005891071796417236, 0.005958655834197998, 0.006131711959838867, 0.006151167869567871, 0.005888000011444092, 0.005912576198577881, 0.0057701759338378905, 0.006313983917236328, 0.0056514558792114256, 0.005563392162322998, 0.00550707197189331, 0.005478400230407715, 0.006883327960968018, 0.006000639915466309, 0.006251520156860352, 0.006344704151153564, 0.005916672229766846, 0.005882880210876465, 0.005831679821014404, 0.005901311874389649, 0.005856256008148194, 0.005888000011444092, 0.00582041597366333, 0.005783648014068604, 0.005766143798828125, 0.00572108793258667, 0.005839871883392334, 0.005807104110717773, 0.005829631805419922, 0.005843967914581299, 0.005831679821014404, 0.005864448070526123, 0.005833727836608887, 0.00582860803604126, 0.005831679821014404, 0.0058122239112854005, 0.005826560020446778, 0.005850111961364746, 0.0058009600639343266, 0.00586240005493164, 0.005817344188690185, 0.005843967914581299, 0.00586137580871582, 0.005840896129608154, 0.005817279815673828, 0.005834752082824707, 0.005827583789825439, 0.005846015930175781, 0.005958623886108398, 0.005874688148498535, 0.00582041597366333, 0.00586956787109375, 0.005836800098419189, 0.005819392204284668, 0.005835775852203369, 0.005754879951477051, 0.005752831935882568, 0.005760000228881836, 0.005744639873504639, 0.005766143798828125, 0.005754879951477051, 0.005746687889099121, 0.005740543842315674, 0.005791744232177734 ] }, "throughput": { "unit": "samples/s", "value": 167.52997385456308 }, "energy": { "unit": "kWh", "cpu": 6.481169405747849e-08, "ram": 3.53815712127262e-08, "gpu": 3.5632390375956057e-07, "total": 4.5651716902976523e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2190498.118888491 } } } }