{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.1+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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 876.244992, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.85792 }, "latency": { "unit": "s", "count": 203, "total": 1.0176890797615052, "mean": 0.0050132466983325375, "stdev": 0.00023438708533552046, "p50": 0.00486297607421875, "p90": 0.005249433708190918, "p95": 0.0053394431114196774, "p99": 0.005837537164688109, "values": [ 0.006461440086364746, 0.005329919815063477, 0.005723135948181152, 0.005313536167144775, 0.005448703765869141, 0.005332992076873779, 0.005280704021453858, 0.0052295680046081545, 0.005250048160552978, 0.005197824001312256, 0.005148672103881836, 0.005319680213928223, 0.005183487892150879, 0.005195775985717774, 0.005299200057983398, 0.005132287979125977, 0.00506879997253418, 0.005017600059509277, 0.005192704200744629, 0.0051998720169067385, 0.005231616020202637, 0.005232639789581299, 0.00521830415725708, 0.0051333122253417966, 0.005075967788696289, 0.004915200233459473, 0.0049489917755126955, 0.005237696170806885, 0.005261312007904053, 0.005203968048095703, 0.005195775985717774, 0.005228544235229492, 0.005150720119476319, 0.005245952129364013, 0.005161983966827393, 0.00517632007598877, 0.0052295680046081545, 0.005278719902038574, 0.005081088066101074, 0.005015552043914795, 0.00501043176651001, 0.005105663776397705, 0.005194752216339111, 0.005025792121887207, 0.00517632007598877, 0.005154816150665284, 0.005219327926635742, 0.005158912181854248, 0.0049489917755126955, 0.00501964807510376, 0.0049459199905395506, 0.004937727928161621, 0.004874239921569825, 0.004925439834594727, 0.005180416107177735, 0.005181439876556396, 0.005185535907745361, 0.005349376201629639, 0.005134335994720459, 0.004907008171081543, 0.0048568320274353025, 0.0049797120094299315, 0.004858880043029785, 0.0048558077812194825, 0.0048568320274353025, 0.004857855796813965, 0.004859903812408447, 0.004860928058624267, 0.004857855796813965, 0.0048527359962463375, 0.004857855796813965, 0.0048568320274353025, 0.0048568320274353025, 0.0048558077812194825, 0.00486195182800293, 0.005246975898742676, 0.005202976226806641, 0.00522547197341919, 0.005272575855255127, 0.005230591773986816, 0.005839871883392334, 0.006268928050994873, 0.005696512222290039, 0.005223487854003906, 0.00562278413772583, 0.005340159893035889, 0.005137407779693603, 0.004980735778808594, 0.0050206718444824215, 0.0048895998001098635, 0.0049162240028381345, 0.004999167919158935, 0.00499507188796997, 0.004987904071807861, 0.00486297607421875, 0.0048568320274353025, 0.0048558077812194825, 0.0048568320274353025, 0.0048568320274353025, 0.00486195182800293, 0.004926464080810547, 0.005026815891265869, 0.005022719860076904, 0.005062655925750732, 0.00522649621963501, 0.005385216236114502, 0.0051946878433227536, 0.005099520206451416, 0.004951039791107178, 0.0053534722328186036, 0.005156864166259765, 0.0048558077812194825, 0.004859903812408447, 0.004858880043029785, 0.0048558077812194825, 0.004858880043029785, 0.00485587215423584, 0.0048568320274353025, 0.004858880043029785, 0.004860928058624267, 0.004860928058624267, 0.004859903812408447, 0.0048568320274353025, 0.004853759765625, 0.004857855796813965, 0.004860928058624267, 0.004851712226867676, 0.0048568320274353025, 0.004858880043029785, 0.004857855796813965, 0.005048319816589355, 0.004857855796813965, 0.004857855796813965, 0.004860928058624267, 0.005029888153076172, 0.0048568320274353025, 0.0048558077812194825, 0.004860928058624267, 0.0048568639755249025, 0.0048558077812194825, 0.0048558077812194825, 0.004857855796813965, 0.00485478401184082, 0.00486195182800293, 0.0048558077812194825, 0.004859903812408447, 0.0048895998001098635, 0.0048895998001098635, 0.0048752641677856446, 0.004858880043029785, 0.004859903812408447, 0.0048568320274353025, 0.004858880043029785, 0.0048558077812194825, 0.004988927841186524, 0.0048568320274353025, 0.004859903812408447, 0.004853759765625, 0.004858880043029785, 0.004978687763214112, 0.004858880043029785, 0.004853759765625, 0.0048558077812194825, 0.004858880043029785, 0.004860928058624267, 0.0048568320274353025, 0.004858880043029785, 0.004857855796813965, 0.004858880043029785, 0.00486195182800293, 0.004859903812408447, 0.0048558077812194825, 0.004857855796813965, 0.004860928058624267, 0.0048568320274353025, 0.0048558077812194825, 0.0048558077812194825, 0.0048558077812194825, 0.0048568320274353025, 0.004858880043029785, 0.004983808040618896, 0.004859903812408447, 0.00486195182800293, 0.004974592208862305, 0.0048558077812194825, 0.004859903812408447, 0.0048558077812194825, 0.004859903812408447, 0.00485478401184082, 0.004857855796813965, 0.004853759765625, 0.0048558077812194825, 0.0048568320274353025, 0.00486297607421875, 0.004853759765625, 0.004858880043029785, 0.004857855796813965, 0.0048558077812194825, 0.0048558077812194825, 0.004858880043029785, 0.004858880043029785, 0.00486297607421875, 0.00486297607421875 ] }, "throughput": { "unit": "samples/s", "value": 199.47153215751607 }, "energy": { "unit": "kWh", "cpu": 5.77706406152895e-08, "ram": 3.158809476605352e-08, "gpu": 3.441063837630359e-07, "total": 4.3346511914437894e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2306990.7031364134 } } } }