{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 841.37984, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.93188037109375, "mean": 7.93188037109375, "stdev": 0.0, "p50": 7.93188037109375, "p90": 7.93188037109375, "p95": 7.93188037109375, "p99": 7.93188037109375, "values": [ 7.93188037109375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4693614486178476e-06, "ram": 7.862209155290075e-07, "gpu": 1.686945793999417e-06, "total": 3.942528158146272e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1050.816512, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 192, "total": 0.9970790405273433, "mean": 0.005193120002746582, "stdev": 0.00016098279531930943, "p50": 0.0052351999282836915, "p90": 0.005389619255065918, "p95": 0.005441880106925963, "p99": 0.005516001319885254, "values": [ 0.005422080039978027, 0.005500927925109863, 0.00552345609664917, 0.00535859203338623, 0.00551423978805542, 0.00546608018875122, 0.005410816192626953, 0.005467103958129883, 0.0054917120933532714, 0.005467135906219483, 0.005417984008789062, 0.005402624130249023, 0.005332992076873779, 0.005300288200378418, 0.005296127796173096, 0.005292031764984131, 0.0053340158462524415, 0.005361663818359375, 0.005237760066986084, 0.005156864166259765, 0.005164031982421875, 0.005129216194152832, 0.005262335777282715, 0.005258240222930908, 0.005234687805175781, 0.005372000217437744, 0.00530947208404541, 0.00537497615814209, 0.005541888236999512, 0.0053043198585510255, 0.005319680213928223, 0.0052715520858764645, 0.005192704200744629, 0.005325823783874512, 0.0053606400489807126, 0.005295104026794434, 0.005412864208221436, 0.005299200057983398, 0.005296127796173096, 0.005378047943115235, 0.005288959980010987, 0.005243904113769531, 0.005328896045684814, 0.005245952129364013, 0.0052674560546875, 0.005371871948242187, 0.005276671886444092, 0.00526643180847168, 0.005319680213928223, 0.005125120162963868, 0.0051363840103149415, 0.005198847770690918, 0.00516096019744873, 0.005248000144958496, 0.005292031764984131, 0.00511078405380249, 0.005231616020202637, 0.005275648117065429, 0.005248000144958496, 0.0052899842262268066, 0.005256192207336426, 0.005327871799468994, 0.005392384052276611, 0.005390336036682129, 0.005297215938568115, 0.0052939200401306155, 0.00551526403427124, 0.005142528057098389, 0.005214208126068115, 0.0052336640357971195, 0.00521830415725708, 0.005332992076873779, 0.005244927883148193, 0.005377024173736572, 0.005349408149719239, 0.005251071929931641, 0.005320703983306885, 0.005327871799468994, 0.005251071929931641, 0.005230591773986816, 0.005179391860961914, 0.005165056228637695, 0.005299200057983398, 0.005238783836364746, 0.005260287761688232, 0.005411839962005615, 0.00521727991104126, 0.005175295829772949, 0.005312511920928955, 0.005238783836364746, 0.005235712051391602, 0.005351424217224121, 0.005251071929931641, 0.005253119945526123, 0.00530841588973999, 0.005194752216339111, 0.00530944013595581, 0.005413887977600097, 0.005313536167144775, 0.00538316822052002, 0.005469279766082764, 0.005296127796173096, 0.00536575984954834, 0.005395455837249756, 0.005283840179443359, 0.005337088108062744, 0.005379072189331055, 0.005244927883148193, 0.005237760066986084, 0.005153791904449463, 0.005175295829772949, 0.005343232154846191, 0.0052705278396606445, 0.005117951869964599, 0.00516096019744873, 0.005114880084991455, 0.005053440093994141, 0.0050094079971313476, 0.005169151782989502, 0.00526643180847168, 0.00511078405380249, 0.005000192165374756, 0.005085184097290039, 0.005035007953643799, 0.0050094079971313476, 0.005132287979125977, 0.005235712051391602, 0.005245952129364013, 0.005156864166259765, 0.0052213120460510255, 0.005253119945526123, 0.005299200057983398, 0.005353407859802246, 0.0052070398330688475, 0.005073919773101807, 0.005075967788696289, 0.004984831809997559, 0.0050135040283203125, 0.004969471931457519, 0.00501145601272583, 0.0050094079971313476, 0.004984831809997559, 0.004974592208862305, 0.004987904071807861, 0.0050165758132934574, 0.00501145601272583, 0.0049725441932678225, 0.004999167919158935, 0.0050206718444824215, 0.004957183837890625, 0.004999167919158935, 0.00502784013748169, 0.004981760025024414, 0.004968448162078858, 0.005114880084991455, 0.00501145601272583, 0.004980735778808594, 0.005005311965942383, 0.005005311965942383, 0.0049500160217285155, 0.0050165758132934574, 0.004978687763214112, 0.004941823959350586, 0.00501145601272583, 0.004941823959350586, 0.0050032639503479, 0.004976640224456787, 0.005017600059509277, 0.005040128231048584, 0.0049500160217285155, 0.0049827837944030765, 0.004965375900268554, 0.0050063362121582035, 0.005000192165374756, 0.00495411205291748, 0.004960256099700928, 0.0050135040283203125, 0.004957183837890625, 0.004989952087402344, 0.0049500160217285155, 0.005000192165374756, 0.0050022401809692385, 0.00491212797164917, 0.004993023872375488, 0.005024767875671386, 0.004957183837890625, 0.005000192165374756, 0.005030911922454834, 0.004959231853485108, 0.004997119903564453, 0.005005311965942383, 0.004975615978240967 ] }, "throughput": { "unit": "samples/s", "value": 192.56246716253645 }, "energy": { "unit": "kWh", "cpu": 5.79103919646765e-08, "ram": 3.16339207998499e-08, "gpu": 3.328606998925652e-07, "total": 4.2240501265709157e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2367396.1483307495 } } } }