{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "transformers", "model_type": "vit", "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": {}, "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, "memory": true, "latency": 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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 826.847232, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.44768115234375, "mean": 7.44768115234375, "stdev": 0.0, "p50": 7.44768115234375, "p90": 7.44768115234375, "p95": 7.44768115234375, "p99": 7.44768115234375, "values": [ 7.44768115234375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4718612868048492e-06, "ram": 7.863097717285889e-07, "gpu": 1.6972235800001567e-06, "total": 3.955394638533595e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1036.73856, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 185, "total": 0.9946019835472103, "mean": 0.005376226938093031, "stdev": 0.00020694662468064871, "p50": 0.005409791946411133, "p90": 0.005593702411651611, "p95": 0.005652889537811279, "p99": 0.005829508972167968, "values": [ 0.00568832015991211, 0.005590015888214111, 0.005723135948181152, 0.005601280212402344, 0.005569536209106446, 0.005718080043792725, 0.005549056053161621, 0.005692416191101074, 0.0055511040687561035, 0.0055511040687561035, 0.005639135837554932, 0.005454847812652588, 0.005578752040863037, 0.005467135906219483, 0.005493760108947754, 0.005637119770050049, 0.005385216236114502, 0.005417984008789062, 0.0053975038528442385, 0.005388288021087646, 0.0055623679161071774, 0.005444608211517334, 0.005536767959594726, 0.005594111919403076, 0.00550707197189331, 0.0056555519104003905, 0.00552345609664917, 0.005453824043273926, 0.00548140811920166, 0.005459968090057373, 0.005641215801239013, 0.005504000186920166, 0.005544000148773194, 0.005607423782348633, 0.005499904155731201, 0.00570470380783081, 0.005506048202514649, 0.005543968200683594, 0.005593088150024414, 0.00551526403427124, 0.005549056053161621, 0.005537792205810547, 0.005511168003082275, 0.005587967872619629, 0.005362688064575195, 0.005341184139251709, 0.005454880237579346, 0.005390336036682129, 0.0055552000999450684, 0.005427264213562012, 0.005446656227111817, 0.005537792205810547, 0.005453824043273926, 0.0055203838348388675, 0.005583871841430664, 0.005502975940704345, 0.005642240047454834, 0.005475327968597412, 0.005574656009674072, 0.005535744190216065, 0.005390336036682129, 0.005527552127838135, 0.005511168003082275, 0.005519360065460205, 0.005586944103240967, 0.005425151824951172, 0.006386688232421875, 0.005536767959594726, 0.005535744190216065, 0.005446656227111817, 0.005368800163269043, 0.005585919857025146, 0.005433343887329102, 0.005656576156616211, 0.005952511787414551, 0.005484543800354004, 0.005488639831542969, 0.005434368133544922, 0.0054579200744628905, 0.005481472015380859, 0.005421055793762207, 0.005492735862731934, 0.005431327819824219, 0.005806079864501953, 0.005529600143432617, 0.005545983791351319, 0.005619711875915527, 0.005538815975189209, 0.005530623912811279, 0.005553184032440185, 0.0054906878471374515, 0.005578752040863037, 0.005453824043273926, 0.005499904155731201, 0.00556441593170166, 0.005409791946411133, 0.005352447986602784, 0.005485568046569824, 0.0054148159027099605, 0.005368735790252686, 0.005349376201629639, 0.005319680213928223, 0.005251071929931641, 0.005250048160552978, 0.00537497615814209, 0.005392384052276611, 0.00520908784866333, 0.005143583774566651, 0.005175295829772949, 0.0051701760292053225, 0.005165056228637695, 0.005403647899627686, 0.0053340158462524415, 0.005352447986602784, 0.00538316822052002, 0.005336031913757324, 0.005340159893035889, 0.0054988799095153805, 0.005482495784759522, 0.005638144016265869, 0.005370880126953125, 0.005165056228637695, 0.0051476478576660155, 0.0051701760292053225, 0.005156864166259765, 0.005137407779693603, 0.0051435518264770505, 0.005187583923339844, 0.0051363840103149415, 0.005163008213043213, 0.005213183879852295, 0.005158912181854248, 0.005175295829772949, 0.005220352172851562, 0.00525932788848877, 0.005149695873260498, 0.005154816150665284, 0.005183487892150879, 0.005123072147369385, 0.005144576072692871, 0.0051701760292053225, 0.005126143932342529, 0.005145599842071533, 0.0051476478576660155, 0.005125120162963868, 0.005152768135070801, 0.005135359764099121, 0.005149695873260498, 0.005131264209747314, 0.005105663776397705, 0.00515993595123291, 0.005135359764099121, 0.005115903854370117, 0.005124095916748047, 0.005137407779693603, 0.0051138558387756345, 0.005129216194152832, 0.005151679992675781, 0.005145599842071533, 0.005148672103881836, 0.005117951869964599, 0.005141503810882568, 0.005126143932342529, 0.005154816150665284, 0.005164031982421875, 0.005119999885559082, 0.005135359764099121, 0.005156864166259765, 0.005215231895446777, 0.005111807823181152, 0.005134335994720459, 0.005126143932342529, 0.005134335994720459, 0.005135359764099121, 0.005158912181854248, 0.005117951869964599, 0.005114880084991455, 0.005115903854370117, 0.0051476478576660155, 0.005130239963531494, 0.005134335994720459, 0.0051701760292053225, 0.005123072147369385, 0.005141503810882568, 0.005129216194152832 ] }, "throughput": { "unit": "samples/s", "value": 186.00405293804505 }, "energy": { "unit": "kWh", "cpu": 5.991095753016413e-08, "ram": 3.275034416850256e-08, "gpu": 3.425451674141396e-07, "total": 4.352064691128063e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2297759.9621590143 } } } }