{ "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.232448, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 166, "total": 0.9957145638465884, "mean": 0.00599828050509993, "stdev": 0.00031916152564654104, "p50": 0.006130176067352295, "p90": 0.0062873601913452145, "p95": 0.006374144077301025, "p99": 0.0066261920690536494, "values": [ 0.0065864319801330565, 0.00633241605758667, 0.006266751766204834, 0.00637440013885498, 0.0064132800102233885, 0.006104063987731933, 0.006042623996734619, 0.0059996161460876465, 0.0059946560859680175, 0.00591871976852417, 0.006289408206939697, 0.006182911872863769, 0.006446080207824707, 0.006280255794525146, 0.006283199787139893, 0.0063201279640197755, 0.006268928050994873, 0.00613478422164917, 0.006050816059112549, 0.006053887844085694, 0.006064064025878906, 0.006213632106781006, 0.006275072097778321, 0.006181888103485108, 0.006270976066589356, 0.0062259202003479, 0.006440959930419922, 0.006266880035400391, 0.00620851182937622, 0.0061972479820251464, 0.006210559844970703, 0.006218751907348633, 0.006199295997619629, 0.0062791681289672855, 0.0062494721412658695, 0.006248447895050049, 0.00620851182937622, 0.0062259202003479, 0.006238207817077636, 0.006235136032104492, 0.006289599895477295, 0.006056064128875732, 0.006131711959838867, 0.006017024040222168, 0.006128640174865723, 0.006178847789764404, 0.006196224212646485, 0.006111231803894043, 0.0061942081451416015, 0.0064849920272827145, 0.006201344013214111, 0.006352896213531494, 0.006271999835968017, 0.0062873601913452145, 0.0062873601913452145, 0.006201344013214111, 0.006222911834716797, 0.006116352081298828, 0.006285312175750732, 0.006209536075592041, 0.006242303848266601, 0.006194176197052002, 0.006196224212646485, 0.00637337589263916, 0.006169600009918213, 0.006238207817077636, 0.006139904022216797, 0.006198272228240966, 0.006194176197052002, 0.006217728137969971, 0.00624128007888794, 0.0062228479385375976, 0.006139904022216797, 0.006113279819488526, 0.006268928050994873, 0.006284255981445313, 0.00621670389175415, 0.006136832237243653, 0.006261760234832763, 0.006168575763702393, 0.006177792072296143, 0.006371327877044678, 0.006191103935241699, 0.006242303848266601, 0.006242239952087402, 0.006700032234191895, 0.006280191898345947, 0.006160384178161621, 0.0062494721412658695, 0.006104063987731933, 0.006231040000915527, 0.006072319984436035, 0.006046720027923584, 0.005955584049224853, 0.005976064205169678, 0.006044672012329101, 0.00601804780960083, 0.006194176197052002, 0.005840896129608154, 0.005769216060638428, 0.0060026879310607914, 0.006003712177276611, 0.006049791812896729, 0.006093823909759521, 0.006166528224945069, 0.006158336162567139, 0.0061541438102722164, 0.006452223777770996, 0.005965888023376465, 0.0068577280044555666, 0.006137856006622314, 0.005874688148498535, 0.005916672229766846, 0.00586956787109375, 0.005859327793121338, 0.005834688186645507, 0.005874783992767334, 0.005609471797943116, 0.0055848960876464845, 0.005586944103240967, 0.005569536209106446, 0.0055808000564575196, 0.005571584224700928, 0.0055584640502929685, 0.005554175853729248, 0.005540863990783691, 0.005569536209106446, 0.0055552000999450684, 0.005495808124542236, 0.005535744190216065, 0.005519360065460205, 0.005543935775756836, 0.005589056015014649, 0.005544960021972656, 0.005606400012969971, 0.0055848960876464845, 0.005582848072052002, 0.00561356782913208, 0.005542943954467774, 0.005532671928405761, 0.005571584224700928, 0.005497856140136719, 0.005626880168914795, 0.005570559978485107, 0.005552127838134766, 0.005518271923065186, 0.005495808124542236, 0.005541888236999512, 0.005504000186920166, 0.005519360065460205, 0.005544960021972656, 0.005506048202514649, 0.00552345609664917, 0.005552095890045166, 0.005568511962890625, 0.005502975940704345, 0.005535711765289306, 0.0055797758102417, 0.00553984022140503, 0.005540863990783691, 0.005578752040863037, 0.005516287803649903, 0.005600255966186523, 0.005553152084350586, 0.005519360065460205, 0.005595136165618897 ] }, "throughput": { "unit": "samples/s", "value": 166.71444410606807 }, "energy": { "unit": "kWh", "cpu": 6.883170793051895e-08, "ram": 3.75227697287495e-08, "gpu": 3.402186408323691e-07, "total": 4.4657311849163755e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2239274.9554152256 } } } }