{ "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.039936, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 167, "total": 1.0003007645606996, "mean": 0.005989824937489218, "stdev": 0.00027359287305936874, "p50": 0.00591871976852417, "p90": 0.006308659076690674, "p95": 0.006365900802612305, "p99": 0.0069628107261657714, "values": [ 0.006619135856628418, 0.00636518383026123, 0.006373407840728759, 0.006366208076477051, 0.006408160209655762, 0.006307839870452881, 0.006337535858154297, 0.006355967998504639, 0.006355967998504639, 0.006311999797821045, 0.006248447895050049, 0.006429696083068847, 0.006259712219238281, 0.0063272957801818845, 0.006291456222534179, 0.006153215885162353, 0.006252575874328614, 0.006172671794891358, 0.00623308801651001, 0.006231040000915527, 0.006295551776885986, 0.006293504238128662, 0.006290400028228759, 0.00628223991394043, 0.006220799922943115, 0.0062259202003479, 0.006239200115203857, 0.006309887886047363, 0.006266880035400391, 0.006230016231536865, 0.006270976066589356, 0.006237215995788574, 0.0062494721412658695, 0.006210559844970703, 0.0062863359451293946, 0.006211584091186524, 0.0062873601913452145, 0.006268928050994873, 0.006106112003326416, 0.006157311916351318, 0.006188032150268555, 0.006276095867156982, 0.006214655876159668, 0.006184959888458252, 0.006210559844970703, 0.006178815841674804, 0.006269951820373535, 0.0062740478515625, 0.005984255790710449, 0.005971968173980713, 0.005988351821899414, 0.005940224170684814, 0.0059351038932800295, 0.005863423824310303, 0.005928959846496582, 0.00591871976852417, 0.005949440002441406, 0.005893119812011719, 0.005976064205169678, 0.0059064321517944334, 0.0058757119178771975, 0.0059064640998840335, 0.005924863815307617, 0.005879807949066162, 0.0059391999244689945, 0.005929984092712402, 0.005988351821899414, 0.005836800098419189, 0.005867519855499268, 0.005849088191986084, 0.005957664012908936, 0.005911551952362061, 0.005873663902282715, 0.005867519855499268, 0.005843967914581299, 0.0059391999244689945, 0.0059361281394958495, 0.0060282878875732426, 0.005993472099304199, 0.0059658241271972655, 0.005962751865386963, 0.005979135990142822, 0.005920767784118652, 0.006103040218353272, 0.005963776111602783, 0.005844992160797119, 0.005932032108306885, 0.005900288105010986, 0.0057497601509094234, 0.005758975982666016, 0.005631999969482422, 0.005718976020812988, 0.005700607776641845, 0.005728256225585937, 0.005627903938293457, 0.0055808000564575196, 0.005612544059753418, 0.005596159934997558, 0.005700640201568604, 0.005859327793121338, 0.006135807991027832, 0.0060364799499511715, 0.006131680011749268, 0.0061859841346740725, 0.006343679904937744, 0.007144447803497315, 0.0070256638526916505, 0.006930431842803955, 0.006704063892364502, 0.005958655834197998, 0.005892096042633056, 0.005904384136199951, 0.00591871976852417, 0.005830656051635743, 0.005883903980255127, 0.005853184223175049, 0.005863423824310303, 0.005804031848907471, 0.005855231761932373, 0.005810175895690918, 0.005831679821014404, 0.005814271926879883, 0.0058122239112854005, 0.005736447811126709, 0.005713920116424561, 0.005745664119720459, 0.0056934719085693355, 0.005765120029449463, 0.005752831935882568, 0.005726208209991455, 0.005745728015899659, 0.005738495826721191, 0.005775360107421875, 0.005694464206695556, 0.005695487976074219, 0.005715968132019043, 0.005754879951477051, 0.005697535991668701, 0.005720064163208007, 0.00571289587020874, 0.005697535991668701, 0.005735424041748047, 0.005709792137145996, 0.005720064163208007, 0.005695487976074219, 0.0057712640762329105, 0.00570470380783081, 0.005708799839019775, 0.005831679821014404, 0.005717055797576904, 0.005731328010559082, 0.005679103851318359, 0.005745728015899659, 0.005765120029449463, 0.005816319942474365, 0.005805056095123291, 0.0058204479217529295, 0.005829631805419922, 0.005793791770935058, 0.005824512004852295, 0.005808127880096436, 0.005807104110717773, 0.005760000228881836, 0.005830656051635743, 0.005775360107421875, 0.005774335861206055, 0.005805056095123291 ] }, "throughput": { "unit": "samples/s", "value": 166.94978742052763 }, "energy": { "unit": "kWh", "cpu": 6.67870853947343e-08, "ram": 3.651724991664451e-08, "gpu": 3.439234961123618e-07, "total": 4.472278314237406e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2235996.800146629 } } } }