IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
1217106 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 860.594176,
"max_global_vram": 1037.565952,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.1257000961303711
],
"count": 1,
"total": 0.1257000961303711,
"mean": 0.1257000961303711,
"p50": 0.1257000961303711,
"p90": 0.1257000961303711,
"p95": 0.1257000961303711,
"p99": 0.1257000961303711,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1051.086848,
"max_global_vram": 1073.217536,
"max_process_vram": 0.0,
"max_reserved": 423.624704,
"max_allocated": 377.056256
},
"latency": {
"unit": "s",
"values": [
0.007387135982513428,
0.0068884482383728025,
0.006856704235076904,
0.006856704235076904,
0.0068577280044555666,
0.006884352207183838,
0.006858751773834228,
0.0068577280044555666,
0.006860799789428711,
0.006853631973266602,
0.006853631973266602,
0.006852608203887939,
0.006863872051239014,
0.006858751773834228,
0.006853631973266602,
0.006860799789428711,
0.006854656219482422,
0.006865920066833496,
0.006863872051239014,
0.0068884482383728025,
0.006859776020050049,
0.0068618240356445315,
0.006858751773834228,
0.006858751773834228,
0.006855679988861084,
0.006855679988861084,
0.0068689918518066405,
0.0068618240356445315,
0.006870016098022461,
0.006853631973266602,
0.006982656002044678,
0.006863872051239014,
0.006890495777130127,
0.00689356803894043,
0.006894591808319092,
0.006917119979858399,
0.006930431842803955,
0.006916096210479736,
0.006919167995452881,
0.006914048194885254,
0.006918144226074219,
0.0069027838706970214,
0.006908927917480469,
0.006910975933074951,
0.006915071964263916,
0.0070594558715820314,
0.006916096210479736,
0.006920191764831543,
0.006914048194885254,
0.006915135860443115,
0.006917119979858399,
0.006913023948669434,
0.006920191764831543,
0.006913023948669434,
0.006918144226074219,
0.006908927917480469,
0.006918144226074219,
0.006910975933074951,
0.007032832145690918,
0.006916096210479736,
0.006913023948669434,
0.006919167995452881,
0.006904831886291504,
0.0069027838706970214,
0.006913023948669434,
0.006913023948669434,
0.006920191764831543,
0.0069212160110473635,
0.006920191764831543,
0.006912000179290771,
0.006922239780426025,
0.006916096210479736,
0.006923264026641846,
0.007067647933959961,
0.0069283838272094726,
0.006919167995452881,
0.006913023948669434,
0.006910975933074951,
0.006910975933074951,
0.006912000179290771,
0.006915071964263916,
0.006918144226074219,
0.006914175987243652,
0.006922239780426025,
0.0069069118499755855,
0.006917119979858399,
0.006917119979858399,
0.006915071964263916,
0.006912000179290771,
0.00691923189163208,
0.006916096210479736,
0.006916096210479736,
0.006909952163696289,
0.006917119979858399,
0.006924287796020508,
0.006910975933074951,
0.0069253120422363285,
0.006993919849395752,
0.006920191764831543,
0.006919167995452881,
0.006923264026641846,
0.0069212160110473635,
0.006910975933074951,
0.006918144226074219,
0.006913023948669434,
0.006917119979858399,
0.006912000179290771,
0.006908927917480469,
0.006913023948669434,
0.0069212160110473635,
0.0069324798583984375,
0.006990848064422607,
0.006918144226074219,
0.006919167995452881,
0.0069212160110473635,
0.006917119979858399,
0.007060480117797851,
0.006915071964263916,
0.006912000179290771,
0.006920191764831543,
0.006910975933074951,
0.006922239780426025,
0.006909952163696289,
0.006929408073425293,
0.006914048194885254,
0.006914048194885254,
0.006914048194885254,
0.006912000179290771,
0.006917119979858399,
0.006918144226074219,
0.006918144226074219,
0.00698367977142334,
0.006919167995452881,
0.006920191764831543,
0.0069212160110473635,
0.006972415924072266,
0.006975488185882568,
0.006971392154693603,
0.006959104061126709,
0.006969344139099121,
0.006980607986450196,
0.006998015880584717,
0.0069847040176391605,
0.00695091199874878,
0.006958079814910889,
0.0069550080299377445,
0.006964223861694336,
0.006965248107910156,
0.006960127830505371,
0.006966271877288818,
0.006953983783721924
],
"count": 151,
"total": 1.0448028478622433,
"mean": 0.006919224158028104,
"p50": 0.006916096210479736,
"p90": 0.006969344139099121,
"p95": 0.006987776041030884,
"p99": 0.007064064025878907,
"stdev": 5.513382247724912e-05,
"stdev_": 0.796820874971647
},
"throughput": {
"unit": "samples/s",
"value": 289.0497481107731
},
"energy": {
"unit": "kWh",
"cpu": 8.223708845832684e-08,
"ram": 4.494370510513893e-08,
"gpu": 5.239337524799945e-07,
"total": 6.511145460434603e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3071656.1504471516
}
}
}
}