IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
e9281cd verified
raw
history blame
12.8 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "4",
"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": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1072.603136,
"max_global_vram": 68702.69952,
"max_process_vram": 47420.772352,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2728896484375,
"mean": 8.2728896484375,
"stdev": 0.0,
"p50": 8.2728896484375,
"p90": 8.2728896484375,
"p95": 8.2728896484375,
"p99": 8.2728896484375,
"values": [
8.2728896484375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1244.319744,
"max_global_vram": 68702.69952,
"max_process_vram": 188682.555392,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 162,
"total": 0.9971677527427679,
"mean": 0.006155356498412144,
"stdev": 0.0007339034881711442,
"p50": 0.006008625030517578,
"p90": 0.006483902883529663,
"p95": 0.00672699203491211,
"p99": 0.0068396502065658565,
"values": [
0.00646670389175415,
0.006481743812561035,
0.0062559847831726075,
0.006377583980560303,
0.0064681429862976075,
0.006256464958190918,
0.006455183982849121,
0.006339503765106201,
0.006385583877563477,
0.006496463775634766,
0.0062079839706420895,
0.014368444442749024,
0.004015349864959717,
0.004009590148925781,
0.004872948169708252,
0.006221264839172363,
0.006206064224243164,
0.006317584037780761,
0.006146385192871094,
0.006404463768005371,
0.0062929439544677735,
0.006438704013824463,
0.006014705181121826,
0.006116944789886475,
0.006039344787597657,
0.005991825103759766,
0.005998225212097168,
0.006289904117584229,
0.006015504837036133,
0.00599262523651123,
0.005966545104980469,
0.0059950251579284665,
0.006014864921569824,
0.005969425201416015,
0.005990224838256836,
0.0060756649971008304,
0.005957425117492676,
0.005963984966278076,
0.005977264881134033,
0.006038225173950195,
0.005946865081787109,
0.005995345115661621,
0.0059588651657104495,
0.005998225212097168,
0.005981904983520508,
0.006009264945983887,
0.006001424789428711,
0.006009584903717041,
0.005983504772186279,
0.006006225109100342,
0.0059967851638793946,
0.006019505023956298,
0.005998865127563476,
0.006000945091247559,
0.006005585193634033,
0.006022544860839843,
0.006020625114440918,
0.006000144958496094,
0.006272304058074951,
0.0060163049697875975,
0.00599646520614624,
0.006000784873962403,
0.006000144958496094,
0.0060091052055358885,
0.005986225128173828,
0.006004944801330566,
0.006053905010223389,
0.006015824794769287,
0.006004785060882568,
0.005954705238342285,
0.006010065078735352,
0.006008144855499268,
0.00603470516204834,
0.006007824897766113,
0.006005265235900879,
0.00596974515914917,
0.006197744846343994,
0.0060260648727416995,
0.006078864097595215,
0.006012304782867432,
0.0060182251930236816,
0.005986545085906982,
0.006001104831695556,
0.006007504940032959,
0.006084465026855469,
0.006339824199676514,
0.0061777448654174805,
0.005988464832305908,
0.006003345012664795,
0.0059783849716186525,
0.005998865127563476,
0.0059740648269653324,
0.005991984844207763,
0.005999024868011475,
0.006011505126953125,
0.0059979047775268555,
0.005979985237121582,
0.005995345115661621,
0.0060070247650146485,
0.005964944839477539,
0.006000784873962403,
0.005979344844818115,
0.0059692649841308594,
0.0059876651763916015,
0.005944944858551025,
0.006003825187683105,
0.005977584838867188,
0.005969584941864014,
0.005985105037689209,
0.0059931049346923825,
0.006000945091247559,
0.005952785968780518,
0.0059812660217285155,
0.005946704864501953,
0.005968784809112549,
0.005960945129394531,
0.005984624862670898,
0.00594526481628418,
0.005971344947814941,
0.005944944858551025,
0.005953104972839356,
0.006034064769744873,
0.005960305213928222,
0.005962386131286621,
0.005960946083068848,
0.006484142780303955,
0.0067198238372802735,
0.006768302917480469,
0.006811023235321045,
0.0065678229331970215,
0.006360623836517334,
0.0062151851654052735,
0.006236464023590088,
0.0062383852005004885,
0.006726383209228515,
0.006831663131713867,
0.0068521428108215335,
0.006824142932891845,
0.006727024078369141,
0.006798703193664551,
0.006744303226470947,
0.006679183006286621,
0.006606383800506592,
0.006157264232635498,
0.006252785205841064,
0.006140624046325684,
0.005941585063934326,
0.006686543941497803,
0.006381904125213623,
0.0064214239120483395,
0.006251023769378662,
0.006216625213623047,
0.006323025226593017,
0.006126863956451416,
0.006324464797973633,
0.0061627039909362795,
0.006288303852081299,
0.006141425132751465,
0.005924785137176513,
0.005958545207977295,
0.005959024906158447,
0.005955986022949219
]
},
"throughput": {
"unit": "samples/s",
"value": 162.46012724981296
},
"energy": null,
"efficiency": null
}
}
}