{ "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.4.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": 840.916992, "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.964015625, "mean": 7.964015625, "stdev": 0.0, "p50": 7.964015625, "p90": 7.964015625, "p95": 7.964015625, "p99": 7.964015625, "values": [ 7.964015625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5303661493817346e-06, "ram": 7.929148338524683e-07, "gpu": 1.6955569119292413e-06, "total": 4.018837895163444e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1050.619904, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 194, "total": 1.0009618868827819, "mean": 0.005159597355065887, "stdev": 0.0003518062216758488, "p50": 0.005145087957382203, "p90": 0.005373644781112671, "p95": 0.005443051195144653, "p99": 0.007166504678726196, "values": [ 0.0073768959045410155, 0.0072427201271057125, 0.007160768032073974, 0.005391359806060791, 0.0053043198585510255, 0.005355519771575928, 0.005259263992309571, 0.005243743896484375, 0.005310463905334473, 0.005251071929931641, 0.005273568153381348, 0.005262335777282715, 0.005188799858093261, 0.005119103908538819, 0.005137407779693603, 0.005188608169555664, 0.005218368053436279, 0.005254144191741943, 0.0051435518264770505, 0.005092351913452148, 0.0049909758567810054, 0.004993023872375488, 0.005008384227752686, 0.0050945281982421875, 0.005099520206451416, 0.00515174388885498, 0.005235712051391602, 0.005410816192626953, 0.0053002238273620605, 0.005253119945526123, 0.0052899842262268066, 0.005184671878814697, 0.005178368091583252, 0.0051506562232971195, 0.005149759769439697, 0.00517855978012085, 0.0052408318519592285, 0.005187551975250244, 0.0051773438453674315, 0.005227519989013672, 0.005165056228637695, 0.005216256141662597, 0.005179391860961914, 0.005158912181854248, 0.005180416107177735, 0.005153791904449463, 0.005158944129943848, 0.005172224044799805, 0.005169151782989502, 0.005179391860961914, 0.005105663776397705, 0.005104640007019043, 0.0050728960037231445, 0.005055488109588623, 0.005193727970123291, 0.005412928104400635, 0.005634047985076904, 0.005425119876861572, 0.007057407855987549, 0.0058369278907775875, 0.005287968158721924, 0.0053534722328186036, 0.005396480083465576, 0.005693439960479736, 0.005380095958709717, 0.00535859203338623, 0.005399551868438721, 0.005292031764984131, 0.005476352214813233, 0.005392384052276611, 0.005222239971160889, 0.005088255882263183, 0.005153791904449463, 0.005241631984710693, 0.005187583923339844, 0.005179391860961914, 0.005197824001312256, 0.005137407779693603, 0.00516812801361084, 0.005254144191741943, 0.005138432025909424, 0.005040128231048584, 0.005063839912414551, 0.0051476798057556155, 0.005093376159667969, 0.005097472190856934, 0.005250048160552978, 0.005146624088287354, 0.00511078405380249, 0.005049344062805176, 0.005096447944641113, 0.005083136081695557, 0.0051404800415039064, 0.005148672103881836, 0.005112832069396973, 0.005111807823181152, 0.005092351913452148, 0.005116799831390381, 0.005172255992889404, 0.0052111358642578124, 0.005256256103515625, 0.005186560153961181, 0.005195775985717774, 0.005203968048095703, 0.00517632007598877, 0.0052499518394470215, 0.0051998720169067385, 0.00520908784866333, 0.005221375942230225, 0.005154816150665284, 0.005127168178558349, 0.0050165758132934574, 0.005049344062805176, 0.0051476478576660155, 0.005081920146942138, 0.0050165758132934574, 0.004973567962646484, 0.005117951869964599, 0.0049428482055664065, 0.004884479999542236, 0.005401599884033203, 0.0052174081802368166, 0.005089280128479004, 0.0050135040283203125, 0.004999167919158935, 0.0050124797821044925, 0.005122047901153564, 0.005146624088287354, 0.005295104026794434, 0.0052358717918395995, 0.005212192058563232, 0.0053441600799560545, 0.005304255962371826, 0.005386240005493164, 0.005595071792602539, 0.005234687805175781, 0.005619711875915527, 0.005163008213043213, 0.004918303966522217, 0.004888576030731201, 0.004869120121002197, 0.004931583881378174, 0.004877471923828125, 0.0048568320274353025, 0.004878335952758789, 0.004921343803405762, 0.004947968006134033, 0.00488969612121582, 0.004903935909271241, 0.004828159809112549, 0.004816895961761475, 0.005239808082580567, 0.005030752182006836, 0.005024767875671386, 0.0050462718009948735, 0.005009376049041748, 0.0050206718444824215, 0.00501145601272583, 0.005070847988128662, 0.005038080215454102, 0.005146719932556152, 0.0050503678321838375, 0.005012576103210449, 0.005055488109588623, 0.0050063362121582035, 0.005049280166625977, 0.0050032639503479, 0.005017759799957275, 0.005008224010467529, 0.005014527797698975, 0.0048261117935180665, 0.00481279993057251, 0.0048189439773559575, 0.004820032119750977, 0.0048220157623291016, 0.004810751914978028, 0.004811776161193848, 0.00481279993057251, 0.00481382417678833, 0.00481279993057251, 0.004815072059631348, 0.00481279993057251, 0.00481382417678833, 0.004816895961761475, 0.004817920207977295, 0.0048158721923828125, 0.004817920207977295, 0.004819968223571777, 0.004820991992950439, 0.00481382417678833, 0.004809728145599365, 0.0048148479461669925, 0.0048148479461669925, 0.004811776161193848 ] }, "throughput": { "unit": "samples/s", "value": 193.81357326617012 }, "energy": { "unit": "kWh", "cpu": 5.748868258615935e-08, "ram": 3.142000084226697e-08, "gpu": 3.40450830574151e-07, "total": 4.293595140025773e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2329050.5215030527 } } } }