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
a283c1e
verified
{ | |
"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", | |
"model": "google/vit-base-patch16-224", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"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.2.0", | |
"optimum_benchmark_commit": "4aa72a2fd35e7d46a674935ffaf335b1c0795600", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1063.415808, | |
"max_global_vram": 778.448896, | |
"max_process_vram": 183085.768704, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 159, | |
"total": 0.9979743967056274, | |
"mean": 0.006276568532739796, | |
"stdev": 0.00015735295642287867, | |
"p50": 0.006225303173065185, | |
"p90": 0.006467607975006104, | |
"p95": 0.006585624980926514, | |
"p99": 0.006981517181396484, | |
"values": [ | |
0.007053306102752685, | |
0.006306103229522705, | |
0.006239542961120606, | |
0.0061833829879760745, | |
0.00619346284866333, | |
0.0062243428230285645, | |
0.006167862892150879, | |
0.006225943088531494, | |
0.006201942920684814, | |
0.006215542793273926, | |
0.006175383090972901, | |
0.006229463100433349, | |
0.0063886637687683104, | |
0.006229463100433349, | |
0.006203382968902588, | |
0.006218263149261475, | |
0.006225303173065185, | |
0.006231863021850586, | |
0.006266102790832519, | |
0.006256503105163574, | |
0.006240663051605225, | |
0.00625074291229248, | |
0.006245943069458007, | |
0.006236503124237061, | |
0.006251223087310791, | |
0.006288022994995117, | |
0.0064590640068054195, | |
0.0062685031890869145, | |
0.006295864105224609, | |
0.006288823127746582, | |
0.0062544231414794925, | |
0.006269463062286377, | |
0.006250264167785645, | |
0.006255543231964112, | |
0.006309622764587402, | |
0.006294103145599366, | |
0.006289143085479737, | |
0.006317462921142578, | |
0.006305142879486084, | |
0.006316823005676269, | |
0.006289624214172364, | |
0.006318102836608887, | |
0.006302423000335693, | |
0.00627458381652832, | |
0.006338902950286865, | |
0.006294262886047363, | |
0.0062904229164123535, | |
0.006314743041992188, | |
0.0063069028854370116, | |
0.006279703140258789, | |
0.006259383201599121, | |
0.006204342842102051, | |
0.006204662799835205, | |
0.00619346284866333, | |
0.0062029027938842775, | |
0.006180182933807373, | |
0.006158903121948243, | |
0.0061859431266784665, | |
0.006191543102264404, | |
0.006188181877136231, | |
0.006206421852111816, | |
0.006159542083740234, | |
0.006196342945098877, | |
0.006203063011169433, | |
0.006175862789154053, | |
0.006195222854614258, | |
0.006171702861785889, | |
0.0061950631141662596, | |
0.006229942798614502, | |
0.006169622898101807, | |
0.006178102970123291, | |
0.006179862976074218, | |
0.006180662155151367, | |
0.00635010290145874, | |
0.006249622821807861, | |
0.006166263103485108, | |
0.006174423217773437, | |
0.006206422805786133, | |
0.0061649827957153324, | |
0.006188502788543701, | |
0.006181622982025146, | |
0.006214743137359619, | |
0.006194262981414795, | |
0.006219703197479248, | |
0.006168662071228027, | |
0.006246263027191162, | |
0.006179381847381591, | |
0.006196822166442871, | |
0.006212662220001221, | |
0.00619090223312378, | |
0.006185301780700684, | |
0.006195222854614258, | |
0.006186742782592774, | |
0.006187063217163086, | |
0.006184982776641846, | |
0.00625234317779541, | |
0.006201942920684814, | |
0.006215703010559082, | |
0.006178422927856446, | |
0.006182423114776611, | |
0.006180182933807373, | |
0.006199703216552734, | |
0.006194423198699952, | |
0.006188343048095703, | |
0.006345623016357422, | |
0.0062091431617736816, | |
0.00619730281829834, | |
0.0062070631980896, | |
0.006174423217773437, | |
0.006177622795104981, | |
0.006186422824859619, | |
0.0061781020164489745, | |
0.006163221836090088, | |
0.006194423198699952, | |
0.0061931428909301756, | |
0.006207703113555908, | |
0.006173943042755127, | |
0.006528823852539062, | |
0.006916666030883789, | |
0.006430903911590576, | |
0.006791065216064453, | |
0.006999705791473389, | |
0.006968346118927002, | |
0.006518743991851807, | |
0.006611544132232666, | |
0.0063801841735839845, | |
0.006567543983459473, | |
0.00658274507522583, | |
0.006452184200286865, | |
0.006615223884582519, | |
0.006501783847808838, | |
0.006528823852539062, | |
0.0066217842102050785, | |
0.006517784118652344, | |
0.006561463832855225, | |
0.0062317028045654295, | |
0.006203382015228271, | |
0.0062185821533203125, | |
0.0062280230522155765, | |
0.006229622840881348, | |
0.006234103202819824, | |
0.006210103034973145, | |
0.006232822895050049, | |
0.0062139430046081546, | |
0.0062334628105163575, | |
0.006230422973632813, | |
0.0062213029861450195, | |
0.0062193827629089355, | |
0.006208022117614746, | |
0.00624146318435669, | |
0.006249942779541016, | |
0.0062485032081604, | |
0.006222103118896484, | |
0.006206102848052978, | |
0.006260822772979737, | |
0.0062475428581237795, | |
0.0062427430152893065, | |
0.006224822998046875, | |
0.006230103015899658 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.32272463589086 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |