IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
1141fc3 verified
raw
history blame
13.8 kB
{
"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.1",
"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": 827.20768,
"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.365859375,
"mean": 7.365859375,
"stdev": 0.0,
"p50": 7.365859375,
"p90": 7.365859375,
"p95": 7.365859375,
"p99": 7.365859375,
"values": [
7.365859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.469641547222188e-06,
"ram": 7.894956770407306e-07,
"gpu": 1.8161125640006257e-06,
"total": 4.075249788263544e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1036.578816,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 186,
"total": 0.9951681923866266,
"mean": 0.005350366625734554,
"stdev": 0.00019231544093031074,
"p50": 0.005400063991546631,
"p90": 0.005553663969039917,
"p95": 0.005584080100059509,
"p99": 0.005671092748641968,
"values": [
0.005689343929290771,
0.005587967872619629,
0.005636096000671387,
0.0055552000999450684,
0.005576704025268555,
0.005667871952056884,
0.005617663860321045,
0.0056145920753479005,
0.0055582718849182125,
0.005581823825836182,
0.0056483840942382815,
0.005548031806945801,
0.005596096038818359,
0.005459968090057373,
0.0055101442337036136,
0.0055203518867492675,
0.005500927925109863,
0.005417984008789062,
0.005321728229522705,
0.0053043198585510255,
0.005443583965301513,
0.005447679996490478,
0.005478400230407715,
0.005566463947296142,
0.00550707197189331,
0.005527552127838135,
0.005513216018676758,
0.0054876160621643065,
0.005477375984191894,
0.005399551868438721,
0.005464064121246338,
0.005584832191467285,
0.005516287803649903,
0.005552127838134766,
0.005495808124542236,
0.005541888236999512,
0.005536767959594726,
0.005445631980895996,
0.005450751781463623,
0.005429247856140137,
0.005464064121246338,
0.005517312049865723,
0.0054876160621643065,
0.005452799797058106,
0.005386240005493164,
0.005371903896331787,
0.00530841588973999,
0.005331967830657959,
0.005414912223815918,
0.005401599884033203,
0.005381120204925537,
0.005479423999786377,
0.005443583965301513,
0.005399551868438721,
0.005436448097229004,
0.005547008037567139,
0.005568511962890625,
0.00552345609664917,
0.005473279953002929,
0.005497856140136719,
0.005443583965301513,
0.005406720161437988,
0.005345280170440674,
0.005462975978851319,
0.005478400230407715,
0.00546611213684082,
0.006266975879669189,
0.005533696174621582,
0.005571584224700928,
0.005538815975189209,
0.005368832111358642,
0.005406720161437988,
0.0054609918594360355,
0.005494783878326416,
0.005458943843841553,
0.005518335819244385,
0.005533696174621582,
0.005388288021087646,
0.005407743930816651,
0.005411839962005615,
0.005386240005493164,
0.005488639831542969,
0.005442560195922852,
0.005404672145843506,
0.005450751781463623,
0.005458943843841553,
0.005518335819244385,
0.005500864028930664,
0.005518335819244385,
0.005559296131134033,
0.005550079822540284,
0.005545983791351319,
0.005511168003082275,
0.005472256183624268,
0.005563392162322998,
0.005510111808776855,
0.005443583965301513,
0.005385280132293701,
0.005544960021972656,
0.005442560195922852,
0.005352447986602784,
0.005355519771575928,
0.005386240005493164,
0.005200863838195801,
0.005223360061645508,
0.00536678409576416,
0.005388288021087646,
0.005208064079284668,
0.0051476478576660155,
0.005108736038208008,
0.005129216194152832,
0.0051435518264770505,
0.005345280170440674,
0.0052705278396606445,
0.005310463905334473,
0.005400576114654541,
0.005314559936523438,
0.0053320322036743166,
0.005444608211517334,
0.005439487934112549,
0.005500927925109863,
0.0054568958282470706,
0.0052633600234985355,
0.005193727970123291,
0.005188608169555664,
0.005445631980895996,
0.0053975038528442385,
0.005338111877441406,
0.005210112094879151,
0.005530623912811279,
0.005222400188446045,
0.005331967830657959,
0.005182464122772217,
0.005089280128479004,
0.005112832069396973,
0.0051036162376403805,
0.005138432025909424,
0.00515993595123291,
0.005104576110839844,
0.005111807823181152,
0.005105663776397705,
0.0050954241752624516,
0.005092351913452148,
0.0051404800415039064,
0.005112832069396973,
0.005116928100585938,
0.005104640007019043,
0.005079103946685791,
0.005132287979125977,
0.005116928100585938,
0.005123072147369385,
0.005075007915496826,
0.0051036162376403805,
0.005108736038208008,
0.005081088066101074,
0.005097472190856934,
0.005105663776397705,
0.00511078405380249,
0.005082111835479736,
0.005104640007019043,
0.00511078405380249,
0.005073919773101807,
0.005104640007019043,
0.005111807823181152,
0.00511078405380249,
0.005089280128479004,
0.005115935802459717,
0.005101568222045898,
0.005144576072692871,
0.005094399929046631,
0.00511078405380249,
0.005107711791992187,
0.005098495960235596,
0.005088255882263183,
0.005098495960235596,
0.0051036162376403805,
0.005082111835479736,
0.005088223934173584,
0.005139455795288086,
0.005089280128479004,
0.005208064079284668,
0.005083136081695557,
0.005119999885559082,
0.0051036162376403805,
0.005111807823181152,
0.005108736038208008
]
},
"throughput": {
"unit": "samples/s",
"value": 186.9030797235712
},
"energy": {
"unit": "kWh",
"cpu": 6.06611501736125e-08,
"ram": 3.316574542191254e-08,
"gpu": 3.520099187959186e-07,
"total": 4.4583681439144363e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2242973.1411143686
}
}
}
}