IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
e5d2a44 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.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": 827.55584,
"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.47633544921875,
"mean": 7.47633544921875,
"stdev": 0.0,
"p50": 7.47633544921875,
"p90": 7.47633544921875,
"p95": 7.47633544921875,
"p99": 7.47633544921875,
"values": [
7.47633544921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.484241040972023e-06,
"ram": 7.978785663303274e-07,
"gpu": 1.685834682000134e-06,
"total": 3.967954289302484e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1036.34944,
"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.9991108498573307,
"mean": 0.0053715637089103785,
"stdev": 0.00031158698037558923,
"p50": 0.005427711963653565,
"p90": 0.005619711875915527,
"p95": 0.005678624033927918,
"p99": 0.006497587084770203,
"values": [
0.00568012809753418,
0.005384191989898681,
0.005543935775756836,
0.005437312126159668,
0.005541888236999512,
0.005525536060333252,
0.00552345609664917,
0.005515232086181641,
0.005586847782135009,
0.005603392124176026,
0.0054282240867614745,
0.0054373440742492675,
0.005537792205810547,
0.0057140798568725585,
0.005492671966552735,
0.005552127838134766,
0.005473472118377685,
0.0055101442337036136,
0.005343232154846191,
0.00538316822052002,
0.005409791946411133,
0.005534719944000244,
0.005606400012969971,
0.005549056053161621,
0.005513216018676758,
0.005518335819244385,
0.005510975837707519,
0.005494783878326416,
0.005549248218536377,
0.005417920112609863,
0.005437439918518067,
0.005547008037567139,
0.005523295879364014,
0.005625823974609375,
0.005547008037567139,
0.005640192031860352,
0.005570559978485107,
0.005623807907104492,
0.0055808000564575196,
0.005544960021972656,
0.005495808124542236,
0.005495776176452636,
0.005488639831542969,
0.005514175891876221,
0.005544896125793457,
0.005417984008789062,
0.005493760108947754,
0.005599167823791504,
0.005483520030975342,
0.005474175930023193,
0.005389311790466309,
0.00552243185043335,
0.0054568958282470706,
0.005499904155731201,
0.005434207916259766,
0.005529600143432617,
0.005570335865020752,
0.005566463947296142,
0.005600255966186523,
0.005633024215698243,
0.005494880199432373,
0.005506048202514649,
0.005438464164733887,
0.005228544235229492,
0.0055511040687561035,
0.0055203838348388675,
0.006416384220123291,
0.00537827205657959,
0.005445663928985596,
0.005435391902923584,
0.005463168144226074,
0.005303423881530761,
0.005238783836364746,
0.005371903896331787,
0.00537497615814209,
0.0055285758972167965,
0.00552345609664917,
0.005674111843109131,
0.0054271998405456545,
0.005511168003082275,
0.005442560195922852,
0.005436416149139404,
0.005499904155731201,
0.005431136131286621,
0.005399551868438721,
0.0054568958282470706,
0.005477375984191894,
0.005465087890625,
0.005627935886383057,
0.005624832153320313,
0.005684224128723145,
0.005561344146728516,
0.005629951953887939,
0.005652480125427246,
0.005582848072052002,
0.005615615844726562,
0.0054876160621643065,
0.005602272033691407,
0.005319647789001465,
0.00537395191192627,
0.005515039920806885,
0.005486591815948487,
0.00533190393447876,
0.005439487934112549,
0.005391359806060791,
0.005192895889282226,
0.005274432182312012,
0.005329919815063477,
0.005459968090057373,
0.005238783836364746,
0.005175072193145752,
0.005142528057098389,
0.005138336181640625,
0.00510975980758667,
0.00516812801361084,
0.005241856098175048,
0.005298175811767578,
0.006323200225830078,
0.006449151992797852,
0.006494207859039307,
0.006516736030578613,
0.006681600093841553,
0.00638976001739502,
0.005339136123657226,
0.005349376201629639,
0.005396480083465576,
0.005216095924377441,
0.005206016063690186,
0.005208064079284668,
0.0051794562339782715,
0.005210112094879151,
0.005203968048095703,
0.0051773438453674315,
0.005145599842071533,
0.005155839920043945,
0.005183487892150879,
0.005164031982421875,
0.005097472190856934,
0.005037055969238281,
0.005039103984832764,
0.005032959938049316,
0.00501638412475586,
0.00501964807510376,
0.0050032639503479,
0.004946944236755371,
0.004973567962646484,
0.0049797120094299315,
0.004966559886932373,
0.004960351943969726,
0.004980735778808594,
0.005024767875671386,
0.005031936168670655,
0.005028863906860351,
0.00501145601272583,
0.00502784013748169,
0.005031936168670655,
0.0050206718444824215,
0.005020607948303222,
0.0050206718444824215,
0.005023744106292725,
0.005012544155120849,
0.00501145601272583,
0.005025792121887207,
0.005039103984832764,
0.004996096134185791,
0.005014527797698975,
0.00501145601272583,
0.005008384227752686,
0.005035007953643799,
0.00506060791015625,
0.005048319816589355,
0.00501964807510376,
0.0050063362121582035,
0.005031936168670655,
0.005015552043914795,
0.005006495952606201,
0.0050124797821044925,
0.005023744106292725,
0.005017600059509277,
0.00501145601272583,
0.0050022401809692385,
0.005029888153076172,
0.00502569580078125,
0.005001215934753418,
0.0050165758132934574,
0.005033120155334473
]
},
"throughput": {
"unit": "samples/s",
"value": 186.16552910676543
},
"energy": {
"unit": "kWh",
"cpu": 5.9249565031251454e-08,
"ram": 3.239457285786679e-08,
"gpu": 3.451641650200005e-07,
"total": 4.368083029091187e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2289333.772595567
}
}
}
}