{ "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.044032, "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.9953306255340574, "mean": 0.005960063625952441, "stdev": 0.000380303822219287, "p50": 0.005881855964660645, "p90": 0.0061392894744873045, "p95": 0.006196531248092651, "p99": 0.008107950458526612, "values": [ 0.008622079849243165, 0.008167424201965333, 0.008077312469482421, 0.00800972843170166, 0.0064430079460144046, 0.0064204797744750975, 0.006239232063293457, 0.005992479801177978, 0.005904384136199951, 0.005923840045928955, 0.005903359889984131, 0.005897215843200684, 0.006137856006622314, 0.005974016189575195, 0.00588595199584961, 0.005806079864501953, 0.006076416015625, 0.0058726401329040525, 0.005881855964660645, 0.005924863815307617, 0.005923840045928955, 0.005980160236358643, 0.005921792030334472, 0.0059361281394958495, 0.005884928226470947, 0.005860352039337159, 0.005836800098419189, 0.0059699201583862304, 0.005958655834197998, 0.005920767784118652, 0.006004735946655273, 0.005925888061523437, 0.005950463771820068, 0.00587059211730957, 0.005888000011444092, 0.0059155840873718266, 0.005955584049224853, 0.005925888061523437, 0.005925888061523437, 0.005774335861206055, 0.005772287845611572, 0.005799935817718506, 0.005844992160797119, 0.005824512004852295, 0.005837823867797852, 0.005830656051635743, 0.005894176006317139, 0.005886975765228271, 0.005912576198577881, 0.005929984092712402, 0.005992447853088379, 0.005920703887939453, 0.0059770879745483394, 0.005904384136199951, 0.005900288105010986, 0.0058757119178771975, 0.005884928226470947, 0.005948416233062744, 0.00591974401473999, 0.0058787841796875, 0.005903359889984131, 0.005904384136199951, 0.005817344188690185, 0.005839871883392334, 0.005856256008148194, 0.0058726401329040525, 0.005825535774230957, 0.005922815799713135, 0.0059391999244689945, 0.005830656051635743, 0.006080512046813965, 0.006120448112487793, 0.0061265921592712404, 0.006160352230072021, 0.006071231842041016, 0.006139904022216797, 0.006138879776000977, 0.006127615928649902, 0.005886975765228271, 0.005963776111602783, 0.006074368000030517, 0.006190080165863037, 0.006218751907348633, 0.00617574405670166, 0.0061521921157836916, 0.006132736206054688, 0.0061521921157836916, 0.006050816059112549, 0.006166528224945069, 0.006054912090301514, 0.0060405759811401364, 0.0059351038932800295, 0.005827583789825439, 0.005947391986846923, 0.006078464031219482, 0.005908480167388916, 0.005823488235473633, 0.005787583827972412, 0.005804031848907471, 0.005810175895690918, 0.00582038402557373, 0.005852159976959229, 0.0060364799499511715, 0.0059996161460876465, 0.006115327835083008, 0.006199295997619629, 0.006162432193756104, 0.006017024040222168, 0.005990399837493897, 0.005907455921173096, 0.005929984092712402, 0.005839871883392334, 0.00586956787109375, 0.005831679821014404, 0.005830656051635743, 0.005775360107421875, 0.005819392204284668, 0.005811200141906738, 0.005818367958068848, 0.005822463989257813, 0.0058122239112854005, 0.005811200141906738, 0.005773312091827393, 0.005792768001556397, 0.005776415824890137, 0.005805056095123291, 0.005763072013854981, 0.005803967952728271, 0.005742591857910156, 0.005798912048339844, 0.005772287845611572, 0.005819392204284668, 0.005787648200988769, 0.005754879951477051, 0.005787648200988769, 0.005777408123016357, 0.0057825279235839844, 0.0057784318923950195, 0.00577839994430542, 0.005761023998260498, 0.005790719985961914, 0.005787648200988769, 0.005772287845611572, 0.005768191814422607, 0.005784575939178467, 0.0057794561386108395, 0.005772287845611572, 0.005781504154205322, 0.0057630081176757815, 0.005768191814422607, 0.005777408123016357, 0.005776383876800537, 0.005803008079528809, 0.0057784318923950195, 0.005835775852203369, 0.005789760112762451, 0.005775360107421875, 0.005810175895690918, 0.005797887802124023, 0.00573747205734253, 0.005776383876800537, 0.005753856182098388, 0.0057784318923950195, 0.005776383876800537, 0.005785600185394287, 0.005799839973449707, 0.005795807838439942 ] }, "throughput": { "unit": "samples/s", "value": 167.78344372795118 }, "energy": { "unit": "kWh", "cpu": 6.85511526574519e-08, "ram": 3.740590911726514e-08, "gpu": 3.5443509408091926e-07, "total": 4.6039215585563625e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2172061.3335418487 } } } }