{ "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": 909.668352, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 175, "total": 0.9962935013771053, "mean": 0.005693105722154888, "stdev": 0.00018873143065545358, "p50": 0.005684160232543946, "p90": 0.005780275344848633, "p95": 0.006199808168411255, "p99": 0.006390001955032347, "values": [ 0.006577216148376465, 0.006203392028808594, 0.0063201279640197755, 0.006271999835968017, 0.006296576023101807, 0.006260735988616943, 0.006246399879455566, 0.00632422399520874, 0.006198272228240966, 0.006663167953491211, 0.00567193603515625, 0.005439487934112549, 0.005601280212402344, 0.005536767959594726, 0.005442560195922852, 0.00543017578125, 0.00545692777633667, 0.005436416149139404, 0.005538815975189209, 0.005505023956298828, 0.005483520030975342, 0.005482495784759522, 0.005451776027679443, 0.0054241280555725096, 0.00546611213684082, 0.005422080039978027, 0.005431295871734619, 0.005420032024383545, 0.005436416149139404, 0.005513216018676758, 0.0054241280555725096, 0.005413887977600097, 0.005448703765869141, 0.005402624130249023, 0.005406720161437988, 0.005417984008789062, 0.005399551868438721, 0.005432352066040039, 0.005597184181213379, 0.00568832015991211, 0.005806079864501953, 0.005679103851318359, 0.005738495826721191, 0.00568726396560669, 0.005769216060638428, 0.005695487976074219, 0.005683199882507324, 0.0057190399169921875, 0.005693439960479736, 0.005791744232177734, 0.005696512222290039, 0.005723135948181152, 0.005700543880462646, 0.005766143798828125, 0.005735424041748047, 0.005720064163208007, 0.005700607776641845, 0.005599232196807862, 0.005637119770050049, 0.005607423782348633, 0.005590015888214111, 0.005616640090942383, 0.005589951992034912, 0.005628928184509278, 0.0055920639038085935, 0.00582860803604126, 0.005723135948181152, 0.005692416191101074, 0.005795839786529541, 0.005745664119720459, 0.00573747205734253, 0.005673984050750733, 0.00572108793258667, 0.005666816234588623, 0.0058122239112854005, 0.005683199882507324, 0.005676032066345215, 0.005695487976074219, 0.005675039768218994, 0.005718016147613526, 0.005684224128723145, 0.005684224128723145, 0.005669888019561768, 0.005727231979370117, 0.005787648200988769, 0.005682176113128662, 0.00572108793258667, 0.005679103851318359, 0.00570470380783081, 0.005672959804534912, 0.00567907190322876, 0.005718016147613526, 0.005679103851318359, 0.005730303764343261, 0.005679103851318359, 0.005702655792236328, 0.005698560237884521, 0.005669888019561768, 0.005742591857910156, 0.005639167785644531, 0.005736447811126709, 0.005665791988372803, 0.005684160232543946, 0.005660672187805176, 0.005658592224121094, 0.005705728054046631, 0.005670911788940429, 0.005766176223754883, 0.005672959804534912, 0.005687295913696289, 0.005666816234588623, 0.005642240047454834, 0.005684224128723145, 0.005657599925994873, 0.00572211217880249, 0.005643263816833496, 0.00568832015991211, 0.005668863773345947, 0.005819392204284668, 0.005799935817718506, 0.005675007820129394, 0.0057190399169921875, 0.005668863773345947, 0.005732351779937744, 0.005689343929290771, 0.005666816234588623, 0.005756927967071533, 0.0056852478981018065, 0.0057149438858032225, 0.005653503894805908, 0.005734399795532226, 0.005681151866912842, 0.005694464206695556, 0.005666816234588623, 0.005653503894805908, 0.005700607776641845, 0.005740543842315674, 0.005684224128723145, 0.0056555519104003905, 0.0056514558792114256, 0.0057118721008300784, 0.005703680038452149, 0.005700607776641845, 0.005653503894805908, 0.0057190399169921875, 0.005670911788940429, 0.005637087821960449, 0.0056852478981018065, 0.005665791988372803, 0.005727231979370117, 0.005658624172210694, 0.005695487976074219, 0.005695487976074219, 0.005713920116424561, 0.005716991901397705, 0.005694464206695556, 0.005708799839019775, 0.005649472236633301, 0.005709824085235596, 0.005668863773345947, 0.005670911788940429, 0.005708799839019775, 0.0056555519104003905, 0.005694464206695556, 0.00566374397277832, 0.005684224128723145, 0.005699584007263184, 0.005669888019561768, 0.00572211217880249, 0.005641215801239013, 0.005715968132019043, 0.0056555519104003905, 0.005709824085235596, 0.005667871952056884, 0.005672959804534912 ] }, "throughput": { "unit": "samples/s", "value": 175.65105037632983 }, "energy": { "unit": "kWh", "cpu": 6.630468875410245e-08, "ram": 3.6219975134260577e-08, "gpu": 3.69314386078202e-07, "total": 4.71839049966565e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2119366.763032566 } } } }