rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
247cbb5
verified
{ | |
"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": "5", | |
"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": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"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.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.904704, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5529.575424, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.12221047973632812 | |
], | |
"count": 1, | |
"total": 0.12221047973632812, | |
"mean": 0.12221047973632812, | |
"p50": 0.12221047973632812, | |
"p90": 0.12221047973632812, | |
"p95": 0.12221047973632812, | |
"p99": 0.12221047973632812, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1269.133312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 198792.15104, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006547819137573243, | |
0.006487977981567383, | |
0.006680459022521973, | |
0.006708457946777344, | |
0.006669578075408936, | |
0.006653418064117431, | |
0.006695178031921387, | |
0.006644937992095947, | |
0.006710217952728271, | |
0.006576458930969239, | |
0.006301098823547363, | |
0.006127339839935303, | |
0.006235339164733887, | |
0.006271500110626221, | |
0.006174378871917725, | |
0.006237420082092285, | |
0.006180618762969971, | |
0.0061060600280761716, | |
0.006340939044952393, | |
0.006255980014801025, | |
0.01778697967529297, | |
0.003990386962890625, | |
0.003979666948318482, | |
0.00399230694770813, | |
0.0045235052108764644, | |
0.006395819187164306, | |
0.00627262020111084, | |
0.006177419185638427, | |
0.00606686019897461, | |
0.006680458068847656, | |
0.006283339977264405, | |
0.006359660148620606, | |
0.006248778820037841, | |
0.006280939102172852, | |
0.006223979949951172, | |
0.006238859176635742, | |
0.0061465401649475095, | |
0.0063142189979553225, | |
0.0062743802070617674, | |
0.0064041390419006345, | |
0.0062369399070739745, | |
0.00616749906539917, | |
0.006394538879394531, | |
0.006304460048675537, | |
0.006502698898315429, | |
0.006306539058685303, | |
0.006410058975219727, | |
0.006353259086608887, | |
0.006299339771270752, | |
0.006323659896850586, | |
0.006605097770690918, | |
0.006439498901367188, | |
0.006531338214874268, | |
0.006275819778442383, | |
0.006385899066925048, | |
0.006468618869781494, | |
0.006491018772125244, | |
0.006340138912200928, | |
0.006263178825378418, | |
0.006354858875274658, | |
0.0063073401451110836, | |
0.00641965913772583, | |
0.00669229793548584, | |
0.006726858139038086, | |
0.00676269817352295, | |
0.006741898059844971, | |
0.006752936840057373, | |
0.006725257873535157, | |
0.006723497867584229, | |
0.006740938186645508, | |
0.006752138137817383, | |
0.006754857063293457, | |
0.0068199782371521, | |
0.006710537910461426, | |
0.006757897853851318, | |
0.006772138118743896, | |
0.0067095780372619625, | |
0.006738378047943115, | |
0.006712297916412354, | |
0.006778538227081299, | |
0.006892298221588135, | |
0.006727017879486084, | |
0.006748618125915528, | |
0.006753737926483154, | |
0.006765098094940186, | |
0.0067806181907653805, | |
0.006714858055114746, | |
0.006772617816925049, | |
0.006780938148498535, | |
0.006730058193206787, | |
0.006743978023529053, | |
0.0067732582092285155, | |
0.006753098011016845, | |
0.006724617958068848, | |
0.006755177021026611, | |
0.006739977836608887, | |
0.0067468581199645996, | |
0.0067151780128479, | |
0.0067151780128479, | |
0.006709417819976807, | |
0.006777098178863525, | |
0.006755817890167237, | |
0.006740938186645508, | |
0.006717738151550293, | |
0.006697418212890625, | |
0.006742698192596435, | |
0.006583498001098633, | |
0.0063423790931701664, | |
0.006297579765319824, | |
0.006289419174194336, | |
0.006519497871398926, | |
0.006304460048675537, | |
0.006420779228210449, | |
0.006373419761657715, | |
0.006449578762054443, | |
0.006502859115600586, | |
0.00659021806716919, | |
0.006298219203948975, | |
0.006301259994506836, | |
0.006267179012298584, | |
0.006269419193267822, | |
0.00628302001953125, | |
0.006265738964080811, | |
0.005932140827178955, | |
0.0059265408515930176, | |
0.005949100017547607, | |
0.0059622211456298825, | |
0.00595166015625, | |
0.005979660034179687, | |
0.005966220855712891, | |
0.00597741985321045, | |
0.005947021007537842, | |
0.005947181224822998, | |
0.00593149995803833, | |
0.005969740867614746, | |
0.005953100204467774, | |
0.005977580070495606, | |
0.005948781013488769, | |
0.005952620029449463, | |
0.005924301147460937, | |
0.005944940090179443, | |
0.005921260833740234, | |
0.0059426999092102055, | |
0.005950699806213379, | |
0.0059603009223937985, | |
0.005923658847808838, | |
0.005964460849761963, | |
0.005981420040130615, | |
0.00596589994430542, | |
0.005939980983734131, | |
0.005949580192565918, | |
0.005920461177825928, | |
0.005951340198516846, | |
0.005930379867553711, | |
0.005972940921783448, | |
0.005946380138397217 | |
], | |
"count": 156, | |
"total": 0.9989962472915651, | |
"mean": 0.006403822098022853, | |
"p50": 0.006347819089889527, | |
"p90": 0.006754297494888305, | |
"p95": 0.006772777915000916, | |
"p99": 0.006852522230148315, | |
"stdev": 0.00102706873141462, | |
"stdev_": 16.038370768165503 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.1567427534792 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |