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
d64d1d2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": 946.515968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44293.9392, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.02344580078125, | |
"mean": 8.02344580078125, | |
"stdev": 0.0, | |
"p50": 8.02344580078125, | |
"p90": 8.02344580078125, | |
"p95": 8.02344580078125, | |
"p99": 8.02344580078125, | |
"values": [ | |
8.02344580078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1118.57664, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 177253.62176, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 164, | |
"total": 0.9937437686920166, | |
"mean": 0.006059413223731808, | |
"stdev": 0.00048402705203655035, | |
"p50": 0.005921286821365356, | |
"p90": 0.006297895956039429, | |
"p95": 0.0066216638565063475, | |
"p99": 0.009124815521240235, | |
"values": [ | |
0.006947848796844482, | |
0.006288487911224366, | |
0.0062056069374084475, | |
0.0062990479469299315, | |
0.006295207977294922, | |
0.006340167045593262, | |
0.006328328132629395, | |
0.006241767883300781, | |
0.006248006820678711, | |
0.006284167766571045, | |
0.006240968227386475, | |
0.0061750469207763675, | |
0.006151527881622315, | |
0.006162406921386719, | |
0.006124167919158935, | |
0.006160646915435791, | |
0.006179687976837159, | |
0.006174088001251221, | |
0.006079206943511963, | |
0.006071527004241944, | |
0.006054567813873291, | |
0.006041286945343017, | |
0.006056488037109375, | |
0.006052327156066894, | |
0.0060398468971252445, | |
0.006057767868041992, | |
0.006081286907196045, | |
0.006040008068084717, | |
0.006034407138824463, | |
0.006052967071533203, | |
0.005982087135314941, | |
0.00600944709777832, | |
0.006002888202667236, | |
0.006032806873321533, | |
0.006029767036437988, | |
0.006073768138885498, | |
0.009123690605163574, | |
0.005937447071075439, | |
0.005687047004699707, | |
0.0056649670600891116, | |
0.0056601672172546386, | |
0.00562736701965332, | |
0.005637607097625732, | |
0.0056019268035888675, | |
0.005645926952362061, | |
0.005618885993957519, | |
0.005628966808319092, | |
0.005609766960144043, | |
0.005628167152404785, | |
0.0056155271530151365, | |
0.009178091049194335, | |
0.005768647193908691, | |
0.005807366847991944, | |
0.0056417670249938965, | |
0.005642567157745361, | |
0.005620646953582764, | |
0.005614087104797363, | |
0.005617446899414062, | |
0.005632806777954102, | |
0.009126730918884277, | |
0.006206407070159912, | |
0.006059688091278076, | |
0.005881607055664062, | |
0.005884807109832763, | |
0.0059052867889404295, | |
0.005945767879486084, | |
0.005931527137756348, | |
0.0059384069442749024, | |
0.005908166885375977, | |
0.005912648200988769, | |
0.005906086921691894, | |
0.005908327102661133, | |
0.005910886764526367, | |
0.005882727146148682, | |
0.005895368099212647, | |
0.005937286853790283, | |
0.006138086795806885, | |
0.005931687831878662, | |
0.005870566844940185, | |
0.005922886848449707, | |
0.005895846843719482, | |
0.005913126945495606, | |
0.005912487030029297, | |
0.00588720703125, | |
0.005892967224121094, | |
0.0059280071258544925, | |
0.0059148879051208495, | |
0.00589152717590332, | |
0.00590576696395874, | |
0.005874886989593506, | |
0.0058876872062683105, | |
0.005899847984313965, | |
0.005927846908569336, | |
0.005894567012786865, | |
0.005908967018127442, | |
0.005889287948608398, | |
0.005864966869354248, | |
0.005880806922912598, | |
0.005881287097930908, | |
0.005885606765747071, | |
0.005886888027191162, | |
0.005912967205047607, | |
0.005864006996154785, | |
0.005879847049713135, | |
0.005841927051544189, | |
0.00589136791229248, | |
0.005919686794281006, | |
0.005897127151489258, | |
0.00593632698059082, | |
0.005880008220672608, | |
0.0058673667907714845, | |
0.005893446922302246, | |
0.005882246971130371, | |
0.005868327140808105, | |
0.005861766815185547, | |
0.005871847152709961, | |
0.005895687103271484, | |
0.005877447128295898, | |
0.005851206779479981, | |
0.005866406917572021, | |
0.0058648080825805665, | |
0.005875526905059814, | |
0.005870727062225342, | |
0.005881607055664062, | |
0.005868007183074951, | |
0.005876808166503906, | |
0.005871847152709961, | |
0.005908806800842285, | |
0.005900327205657959, | |
0.005889767169952392, | |
0.005890088081359863, | |
0.005904646873474121, | |
0.005907526969909668, | |
0.006150728225708008, | |
0.006603847980499267, | |
0.006665768146514893, | |
0.006718088150024414, | |
0.0065038480758667, | |
0.0065553679466247555, | |
0.006638567924499511, | |
0.006640007972717285, | |
0.006624807834625244, | |
0.006447527885437012, | |
0.006136328220367432, | |
0.006175366878509522, | |
0.006104167938232422, | |
0.006253127098083496, | |
0.00605568790435791, | |
0.0062344069480895995, | |
0.006057608127593994, | |
0.006250886917114258, | |
0.006356966972351074, | |
0.006158567905426025, | |
0.006135847091674805, | |
0.006139527797698974, | |
0.006197926998138428, | |
0.006085447788238526, | |
0.006268967151641846, | |
0.006100007057189941, | |
0.006281288146972657, | |
0.006121926784515381, | |
0.006206247806549072, | |
0.0060496068000793456, | |
0.005875845909118652 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 165.03248137682388 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |