IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
5add66a verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "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": 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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "e185b4a299427f88d515b3c18d3c0c0dc8e91cd8",
"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": 898.10944,
"max_global_vram": 689.369088,
"max_process_vram": 46031.839232,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.1652890625,
"mean": 8.1652890625,
"stdev": 0.0,
"p50": 8.1652890625,
"p90": 8.1652890625,
"p95": 8.1652890625,
"p99": 8.1652890625,
"values": [
8.1652890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.945408,
"max_global_vram": 777.678848,
"max_process_vram": 161606.385664,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 170,
"total": 0.9950422110557555,
"mean": 0.005853189476798562,
"stdev": 0.0003704690097124691,
"p50": 0.005797316789627076,
"p90": 0.006026310920715332,
"p95": 0.006074190616607666,
"p99": 0.0070430473184585635,
"values": [
0.006176839828491211,
0.005897317886352539,
0.005997797966003418,
0.006068997859954834,
0.006176039218902588,
0.006180200099945068,
0.006144360065460205,
0.006087238788604736,
0.006079558849334717,
0.006067399024963379,
0.006029478073120117,
0.006006759166717529,
0.005978757858276367,
0.005983878135681153,
0.005994598865509033,
0.00598947811126709,
0.00593651819229126,
0.00593651819229126,
0.005914437770843506,
0.005855398178100586,
0.005900678157806397,
0.005955078125,
0.009103899002075195,
0.006004037857055664,
0.005784357070922851,
0.005810116767883301,
0.005860358238220215,
0.005806117057800293,
0.005781476974487305,
0.005818757057189941,
0.005823556900024414,
0.0058184370994567875,
0.005791077136993408,
0.00579187822341919,
0.005530274868011474,
0.0055245161056518555,
0.0055997161865234376,
0.0055240349769592285,
0.005530436038970948,
0.0055313949584960935,
0.005530275821685791,
0.005518754959106445,
0.0055073962211608886,
0.005528675079345703,
0.0055409960746765135,
0.005512354850769043,
0.005527715206146241,
0.00896357822418213,
0.005689956188201904,
0.005726916790008545,
0.005749796867370606,
0.005737476825714112,
0.005718596935272217,
0.005806276798248291,
0.005723395824432373,
0.005736355781555176,
0.005719236850738526,
0.005735076904296875,
0.00584323787689209,
0.005864517211914062,
0.00578499698638916,
0.005768356800079345,
0.005764677047729492,
0.005803717136383057,
0.005790596961975098,
0.005857797145843506,
0.0057933168411254884,
0.005782756805419922,
0.005779877185821534,
0.0058054780960083005,
0.005730597019195557,
0.005797156810760498,
0.005797476768493653,
0.0058195581436157225,
0.00579315710067749,
0.005808356761932373,
0.006004518032073975,
0.005849637985229492,
0.0058190770149230955,
0.00580467700958252,
0.005813157081604004,
0.005814117908477783,
0.0058006768226623534,
0.005812197208404541,
0.005803077220916748,
0.005801637172698975,
0.0058054780960083005,
0.005787557125091553,
0.005796836853027344,
0.005779716968536377,
0.005807716846466065,
0.0058529977798461915,
0.005811077117919922,
0.005814436912536621,
0.005785157203674316,
0.005789637088775635,
0.005797476768493653,
0.00579315710067749,
0.005800197124481201,
0.005787076950073242,
0.005806117057800293,
0.0057957167625427245,
0.005804516792297363,
0.005800996780395508,
0.005762917041778564,
0.005796357154846192,
0.005786757946014404,
0.0057694768905639645,
0.005800517082214356,
0.005796516895294189,
0.005784357070922851,
0.005775076866149902,
0.005790757179260254,
0.005826918125152588,
0.005800517082214356,
0.005777476787567138,
0.005780837059020996,
0.0058006768226623534,
0.005800837039947509,
0.005820676803588867,
0.0057933168411254884,
0.005773636817932129,
0.005797956943511963,
0.005828997135162353,
0.0057781171798706055,
0.005791876792907715,
0.005787237167358399,
0.006078439235687256,
0.006049318790435791,
0.006041958808898926,
0.006034759044647217,
0.0060209989547729496,
0.0060259590148925785,
0.006064838886260986,
0.006035398960113525,
0.0058477168083190915,
0.005884037017822265,
0.005861958026885986,
0.005892518043518066,
0.005773157119750977,
0.0059168381690979,
0.005797478199005127,
0.005777156829833984,
0.005768036842346192,
0.005761476993560791,
0.005751876831054687,
0.005802756786346436,
0.005836357116699218,
0.005807237148284912,
0.005757637023925781,
0.005766117095947266,
0.005765797138214112,
0.005752196788787842,
0.005791717052459717,
0.005761316776275635,
0.005760196208953857,
0.00576483678817749,
0.00579315710067749,
0.005767716884613037,
0.005791397094726563,
0.005760516166687012,
0.005763556957244873,
0.005773477077484131,
0.005767716884613037,
0.0057694768905639645,
0.005768517017364502,
0.0057593960762023924,
0.005744036197662354,
0.005763075828552246,
0.005759397029876709
]
},
"throughput": {
"unit": "samples/s",
"value": 170.84702348418696
},
"energy": null,
"efficiency": null
}
}
}