IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
e80f156 verified
raw
history blame
14.7 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 758.243328,
"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.21346142578125,
"mean": 7.21346142578125,
"stdev": 0.0,
"p50": 7.21346142578125,
"p90": 7.21346142578125,
"p95": 7.21346142578125,
"p99": 7.21346142578125,
"values": [
7.21346142578125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.5687866343392269e-06,
"ram": 8.439920653574025e-07,
"gpu": 1.7588902959993907e-06,
"total": 4.17166899569602e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 889.716736,
"max_global_vram": 1057.488896,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 206,
"total": 1.028504891872407,
"mean": 0.004992742193555369,
"stdev": 0.00015188897532827345,
"p50": 0.004911616086959839,
"p90": 0.0051783518791198736,
"p95": 0.0052047358751297,
"p99": 0.005393356871604919,
"values": [
0.005372928142547607,
0.005204991817474365,
0.005342207908630371,
0.0052111358642578124,
0.005188608169555664,
0.005187583923339844,
0.005201920032501221,
0.005182464122772217,
0.0054568958282470706,
0.005203968048095703,
0.005174272060394287,
0.005194752216339111,
0.005153791904449463,
0.005107711791992187,
0.0051476478576660155,
0.005165056228637695,
0.005134335994720459,
0.005171199798583984,
0.0050063362121582035,
0.00496230411529541,
0.004964352130889893,
0.005050464153289795,
0.0050462718009948735,
0.005127168178558349,
0.005197824001312256,
0.005141503810882568,
0.0050954241752624516,
0.005132287979125977,
0.00511897611618042,
0.005037055969238281,
0.005001215934753418,
0.005114880084991455,
0.005165056228637695,
0.00516812801361084,
0.005048351764678955,
0.005130239963531494,
0.005141503810882568,
0.005210112094879151,
0.005146624088287354,
0.005045248031616211,
0.0050503678321838375,
0.005096447944641113,
0.005115903854370117,
0.005108736038208008,
0.005146592140197754,
0.004971519947052002,
0.004941823959350586,
0.004910079956054687,
0.004928512096405029,
0.005079040050506592,
0.005096511840820312,
0.00526636791229248,
0.0050769920349121095,
0.005129216194152832,
0.005181439876556396,
0.0053944320678710935,
0.005259263992309571,
0.005145599842071533,
0.00517526388168335,
0.005144576072692871,
0.005144576072692871,
0.00515174388885498,
0.005087232112884522,
0.005029920101165771,
0.0049192957878112795,
0.0050841598510742185,
0.005154816150665284,
0.0051404800415039064,
0.005066751956939697,
0.00581324815750122,
0.005119999885559082,
0.005101568222045898,
0.004947968006134033,
0.0049192957878112795,
0.005032959938049316,
0.0051138558387756345,
0.00511078405380249,
0.005149695873260498,
0.00511078405380249,
0.004978752136230469,
0.005005311965942383,
0.0050503678321838375,
0.005028863906860351,
0.004963359832763672,
0.004956160068511963,
0.005015552043914795,
0.005056511878967285,
0.005087232112884522,
0.005126143932342529,
0.005193727970123291,
0.005155839920043945,
0.005181439876556396,
0.0052336640357971195,
0.005172224044799805,
0.005149695873260498,
0.005066751956939697,
0.005138432025909424,
0.005112832069396973,
0.005121024131774903,
0.00491315221786499,
0.005053440093994141,
0.005091328144073487,
0.0048855037689208985,
0.004867072105407715,
0.004866047859191895,
0.004865024089813232,
0.00486297607421875,
0.00486297607421875,
0.004868095874786377,
0.004891647815704346,
0.004867072105407715,
0.004866047859191895,
0.004865024089813232,
0.00486297607421875,
0.004865024089813232,
0.004867072105407715,
0.004865024089813232,
0.004866047859191895,
0.004868095874786377,
0.004863999843597412,
0.004865024089813232,
0.00486195182800293,
0.004868095874786377,
0.004868095874786377,
0.0050360321998596195,
0.0048855037689208985,
0.00487014389038086,
0.004865024089813232,
0.004858880043029785,
0.004868095874786377,
0.00486195182800293,
0.004865024089813232,
0.004863999843597412,
0.004865024089813232,
0.004866047859191895,
0.004866047859191895,
0.00486195182800293,
0.004863999843597412,
0.004866047859191895,
0.004866047859191895,
0.004865024089813232,
0.004865024089813232,
0.004867072105407715,
0.004865024089813232,
0.004865024089813232,
0.004866047859191895,
0.004866047859191895,
0.004865024089813232,
0.004863999843597412,
0.004869120121002197,
0.004859903812408447,
0.004865024089813232,
0.004869120121002197,
0.004863999843597412,
0.004865024089813232,
0.004868095874786377,
0.004867072105407715,
0.004868095874786377,
0.004868095874786377,
0.004865024089813232,
0.004865024089813232,
0.004865024089813232,
0.004868095874786377,
0.004865024089813232,
0.00487014389038086,
0.004868095874786377,
0.004868095874786377,
0.004868095874786377,
0.004867072105407715,
0.004867072105407715,
0.004865024089813232,
0.004866047859191895,
0.004859903812408447,
0.004859903812408447,
0.004863999843597412,
0.004865024089813232,
0.004867072105407715,
0.004866047859191895,
0.004863103866577148,
0.004865024089813232,
0.004863999843597412,
0.004867072105407715,
0.004863999843597412,
0.004865024089813232,
0.004868095874786377,
0.004863999843597412,
0.00486195182800293,
0.004867072105407715,
0.004860928058624267,
0.004858880043029785,
0.004866047859191895,
0.004867072105407715,
0.00487014389038086,
0.004865024089813232,
0.00486297607421875,
0.00486297607421875,
0.004869120121002197,
0.004863999843597412,
0.004859903812408447,
0.004866047859191895,
0.00486195182800293,
0.005015552043914795,
0.00487014389038086,
0.00486195182800293,
0.004863999843597412,
0.004866047859191895
]
},
"throughput": {
"unit": "samples/s",
"value": 200.29073427640623
},
"energy": {
"unit": "kWh",
"cpu": 5.791891070024914e-08,
"ram": 3.153573121785713e-08,
"gpu": 3.4034782362084994e-07,
"total": 4.298024655389562e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2326650.2176669403
}
}
}
}