IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
195510d verified
raw
history blame
13.9 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": 826.769408,
"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.4751826171875,
"mean": 7.4751826171875,
"stdev": 0.0,
"p50": 7.4751826171875,
"p90": 7.4751826171875,
"p95": 7.4751826171875,
"p99": 7.4751826171875,
"values": [
7.4751826171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.4716653618059184e-06,
"ram": 7.903643720755572e-07,
"gpu": 1.6380568660006103e-06,
"total": 3.900086599882086e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1035.85792,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 188,
"total": 0.9982002558708193,
"mean": 0.005309575829100102,
"stdev": 0.00033635507182033016,
"p50": 0.005387775897979737,
"p90": 0.005584134483337402,
"p95": 0.005711564826965333,
"p99": 0.006363453402519226,
"values": [
0.005686272144317627,
0.005609471797943116,
0.0056483840942382815,
0.00561356782913208,
0.005560351848602295,
0.005661695957183838,
0.005513216018676758,
0.005620736122131348,
0.005488639831542969,
0.005477375984191894,
0.005559296131134033,
0.005467135906219483,
0.005481472015380859,
0.005501952171325684,
0.005482495784759522,
0.005549056053161621,
0.0054568958282470706,
0.005311488151550293,
0.00530841588973999,
0.005312511920928955,
0.005387263774871826,
0.005475296020507813,
0.005453855991363526,
0.005570559978485107,
0.0055244798660278325,
0.00550707197189331,
0.0055552000999450684,
0.005463967800140381,
0.005496831893920898,
0.0053821439743042,
0.005435391902923584,
0.005595136165618897,
0.005486591815948487,
0.0054906878471374515,
0.00550707197189331,
0.0054988799095153805,
0.005535744190216065,
0.005469247817993164,
0.005440512180328369,
0.005492735862731934,
0.005450751781463623,
0.00553984022140503,
0.005487679958343506,
0.005483520030975342,
0.005450751781463623,
0.005306367874145508,
0.005278719902038574,
0.005348351955413819,
0.005338111877441406,
0.005432320117950439,
0.005448703765869141,
0.005408768177032471,
0.005442560195922852,
0.005472256183624268,
0.005473279953002929,
0.005598207950592041,
0.005504000186920166,
0.00550601577758789,
0.005537792205810547,
0.005475327968597412,
0.00555014419555664,
0.0054579200744628905,
0.005505023956298828,
0.005398591995239258,
0.0055203838348388675,
0.005469183921813964,
0.006440959930419922,
0.005459968090057373,
0.005517312049865723,
0.005499904155731201,
0.005553152084350586,
0.005388288021087646,
0.005349376201629639,
0.005451776027679443,
0.005464000225067139,
0.005419007778167725,
0.005577727794647217,
0.005512256145477295,
0.0054568958282470706,
0.005492671966552735,
0.005392384052276611,
0.005504000186920166,
0.00548144006729126,
0.005401631832122803,
0.006119423866271972,
0.0054271998405456545,
0.005476352214813233,
0.005725183963775635,
0.006333439826965332,
0.005535744190216065,
0.0055920639038085935,
0.005535744190216065,
0.005500927925109863,
0.005571584224700928,
0.00592793607711792,
0.006918144226074219,
0.006043647766113281,
0.00558073616027832,
0.005868544101715088,
0.006351871967315674,
0.005505023956298828,
0.005488639831542969,
0.005329855918884277,
0.005319680213928223,
0.005340159893035889,
0.005186560153961181,
0.005865471839904785,
0.005306367874145508,
0.005370880126953125,
0.0052705278396606445,
0.005098495960235596,
0.005085184097290039,
0.005085184097290039,
0.005246975898742676,
0.005193727970123291,
0.005164031982421875,
0.005212160110473632,
0.005187551975250244,
0.005165056228637695,
0.0052336640357971195,
0.0053012480735778805,
0.005386240005493164,
0.0054579200744628905,
0.005196832180023194,
0.005131264209747314,
0.005144576072692871,
0.005132224082946777,
0.005122047901153564,
0.00511897611618042,
0.005146624088287354,
0.0051036162376403805,
0.005090303897857666,
0.005058559894561767,
0.005049344062805176,
0.005044223785400391,
0.005014527797698975,
0.005045248031616211,
0.00501043176651001,
0.0050124797821044925,
0.004987904071807861,
0.005056511878967285,
0.00506879997253418,
0.005008384227752686,
0.005135359764099121,
0.004983808040618896,
0.004902912139892578,
0.004882431983947754,
0.004850687980651855,
0.004863999843597412,
0.004907008171081543,
0.004882431983947754,
0.00486195182800293,
0.004880383968353271,
0.0048865280151367185,
0.0048793601989746095,
0.0048793601989746095,
0.004868095874786377,
0.004866047859191895,
0.004888576030731201,
0.0048855037689208985,
0.0048865280151367185,
0.004850687980651855,
0.004890624046325683,
0.004898816108703613,
0.004878335952758789,
0.004860928058624267,
0.00487116813659668,
0.004880383968353271,
0.004880383968353271,
0.0048855037689208985,
0.00487116813659668,
0.004895743846893311,
0.004900864124298096,
0.0048895998001098635,
0.004857855796813965,
0.004873216152191162,
0.004908031940460205,
0.004888607978820801,
0.004877312183380127,
0.004882431983947754,
0.004904960155487061,
0.004892672061920166,
0.00486195182800293,
0.0048793601989746095,
0.004881408214569092,
0.004898816108703613,
0.004867072105407715,
0.004902912139892578
]
},
"throughput": {
"unit": "samples/s",
"value": 188.3389619410494
},
"energy": {
"unit": "kWh",
"cpu": 6.105270664733896e-08,
"ram": 3.338066710547884e-08,
"gpu": 3.551563551443308e-07,
"total": 4.495897288971486e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2224250.10120453
}
}
}
}