IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
0a289ad verified
raw
history blame
14.5 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.2",
"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.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 757.456896,
"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.206236328125,
"mean": 7.206236328125,
"stdev": 0.0,
"p50": 7.206236328125,
"p90": 7.206236328125,
"p95": 7.206236328125,
"p99": 7.206236328125,
"values": [
7.206236328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.6283224026362101e-06,
"ram": 8.493544377861895e-07,
"gpu": 3.433336079999502e-06,
"total": 5.911012920421902e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 889.442304,
"max_global_vram": 1057.488896,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 201,
"total": 1.004583966255188,
"mean": 0.00499793018037407,
"stdev": 0.00018787908654946563,
"p50": 0.00489577579498291,
"p90": 0.005195775985717774,
"p95": 0.005236767768859864,
"p99": 0.005866496086120605,
"values": [
0.0053012480735778805,
0.005250048160552978,
0.005169151782989502,
0.005083136081695557,
0.005194752216339111,
0.005294079780578613,
0.005279744148254394,
0.00521727991104126,
0.005433343887329102,
0.005236767768859864,
0.005208064079284668,
0.005184512138366699,
0.005172224044799805,
0.005141503810882568,
0.005148672103881836,
0.00516096019744873,
0.005194752216339111,
0.005081088066101074,
0.00502784013748169,
0.0050206718444824215,
0.005083136081695557,
0.005111807823181152,
0.005085184097290039,
0.0049192957878112795,
0.004929535865783692,
0.004933631896972656,
0.0049469761848449706,
0.004867072105407715,
0.004946944236755371,
0.004857855796813965,
0.004867072105407715,
0.004867072105407715,
0.004865024089813232,
0.004869120121002197,
0.004892672061920166,
0.0049500160217285155,
0.004924416065216064,
0.004966400146484375,
0.00489577579498291,
0.004910079956054687,
0.004884479999542236,
0.004880383968353271,
0.004877312183380127,
0.004915200233459473,
0.004910079956054687,
0.004877312183380127,
0.004873216152191162,
0.004894720077514648,
0.004898816108703613,
0.0048568320274353025,
0.0048568320274353025,
0.004857855796813965,
0.0048558077812194825,
0.004887551784515381,
0.00517632007598877,
0.005107711791992187,
0.0050800638198852536,
0.005213183879852295,
0.005180416107177735,
0.005158912181854248,
0.005219327926635742,
0.005246975898742676,
0.005154784202575684,
0.005156864166259765,
0.005123072147369385,
0.00506982421875,
0.00516096019744873,
0.0051435518264770505,
0.005203968048095703,
0.005876736164093017,
0.005194752216339111,
0.005181439876556396,
0.005157887935638428,
0.005079040050506592,
0.005073919773101807,
0.005123072147369385,
0.005127168178558349,
0.005189631938934326,
0.005171199798583984,
0.005132287979125977,
0.005067776203155518,
0.005075967788696289,
0.005089280128479004,
0.005138432025909424,
0.0051333122253417966,
0.005094399929046631,
0.005086207866668701,
0.005137343883514404,
0.005189631938934326,
0.005214208126068115,
0.00522649621963501,
0.005224448204040527,
0.005172224044799805,
0.005158912181854248,
0.005186592102050781,
0.0051701760292053225,
0.0050841598510742185,
0.0051701760292053225,
0.005195775985717774,
0.00511897611618042,
0.0050206718444824215,
0.00520908784866333,
0.005129216194152832,
0.005015552043914795,
0.005032959938049316,
0.004910111904144287,
0.004882431983947754,
0.004897791862487793,
0.005081088066101074,
0.005071872234344482,
0.004900864124298096,
0.004858880043029785,
0.004857855796813965,
0.0048527359962463375,
0.0048527359962463375,
0.004853759765625,
0.00485478401184082,
0.00485478401184082,
0.005026815891265869,
0.0050032639503479,
0.0050063362121582035,
0.005061632156372071,
0.005117951869964599,
0.005323775768280029,
0.005866496086120605,
0.0060927681922912594,
0.005163008213043213,
0.0048558077812194825,
0.0048558077812194825,
0.004859903812408447,
0.0048568320274353025,
0.004857855796813965,
0.0048568320274353025,
0.0048558077812194825,
0.0048558077812194825,
0.004857855796813965,
0.004860928058624267,
0.004859903812408447,
0.004860928058624267,
0.004857855796813965,
0.0048568320274353025,
0.004858880043029785,
0.004858880043029785,
0.00485478401184082,
0.004857855796813965,
0.004860928058624267,
0.004858880043029785,
0.00485478401184082,
0.0048527359962463375,
0.004860928058624267,
0.004848639965057373,
0.00485478401184082,
0.004847616195678711,
0.004847616195678711,
0.004858880043029785,
0.0048558077812194825,
0.004860928058624267,
0.004858880043029785,
0.004858880043029785,
0.004851712226867676,
0.004850687980651855,
0.004857855796813965,
0.004859903812408447,
0.0048558077812194825,
0.004857855796813965,
0.004860928058624267,
0.0048558077812194825,
0.004858880043029785,
0.0048558077812194825,
0.004857855796813965,
0.00485478401184082,
0.0048558077812194825,
0.0048568320274353025,
0.0048558077812194825,
0.0048527359962463375,
0.004853759765625,
0.004857855796813965,
0.004858880043029785,
0.004853759765625,
0.004859903812408447,
0.004859903812408447,
0.00485478401184082,
0.0048568320274353025,
0.0048568320274353025,
0.0048558077812194825,
0.0048558077812194825,
0.004819968223571777,
0.004811776161193848,
0.0048220157623291016,
0.004863999843597412,
0.00486297607421875,
0.004858880043029785,
0.00486297607421875,
0.00486297607421875,
0.004857855796813965,
0.004863999843597412,
0.004858880043029785,
0.004859903812408447,
0.0048568320274353025,
0.004865024089813232,
0.004860928058624267
]
},
"throughput": {
"unit": "samples/s",
"value": 200.08282707245723
},
"energy": {
"unit": "kWh",
"cpu": 5.7669739587612066e-08,
"ram": 3.15330552811579e-08,
"gpu": 3.4997000088152117e-07,
"total": 4.3917279575029115e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2277008.069890989
}
}
}
}