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
8b5b9b3
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": "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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1025.785856, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43496.968192, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.55050341796875, | |
"mean": 7.55050341796875, | |
"stdev": 0.0, | |
"p50": 7.55050341796875, | |
"p90": 7.55050341796875, | |
"p95": 7.55050341796875, | |
"p99": 7.55050341796875, | |
"values": [ | |
7.55050341796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1197.899776, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 172623.765504, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 160, | |
"total": 0.9981148366928106, | |
"mean": 0.006238217729330063, | |
"stdev": 0.0011374314906560403, | |
"p50": 0.005996892929077149, | |
"p90": 0.006791711139678955, | |
"p95": 0.006817679023742676, | |
"p99": 0.008340491857528675, | |
"values": [ | |
0.006735855102539062, | |
0.0068072152137756345, | |
0.0066856141090393065, | |
0.0066409740447998045, | |
0.006299213886260986, | |
0.006194253921508789, | |
0.006203373908996582, | |
0.006168492794036865, | |
0.006169933795928955, | |
0.006152493953704834, | |
0.006048812866210938, | |
0.006014412879943848, | |
0.006023694038391114, | |
0.006011212825775146, | |
0.0059696130752563475, | |
0.005919053077697754, | |
0.005883533000946045, | |
0.0058888130187988285, | |
0.0058870530128479, | |
0.0058572921752929686, | |
0.005862893104553223, | |
0.005860812187194824, | |
0.005907533168792725, | |
0.005870253086090088, | |
0.005867053031921387, | |
0.01025266170501709, | |
0.006154253959655762, | |
0.005861133098602295, | |
0.0058820929527282715, | |
0.005890573024749756, | |
0.005875213146209717, | |
0.005852653026580811, | |
0.005873133182525634, | |
0.0070116958618164065, | |
0.006228813171386719, | |
0.006025293827056885, | |
0.006010252952575684, | |
0.0059536128044128415, | |
0.005982734203338623, | |
0.006024493217468262, | |
0.0059745731353759764, | |
0.0061432127952575685, | |
0.00627281379699707, | |
0.00598641300201416, | |
0.006129454135894776, | |
0.005991693019866943, | |
0.005973773002624512, | |
0.006011373996734619, | |
0.005997132778167724, | |
0.0062188940048217775, | |
0.006018413066864014, | |
0.005988173007965088, | |
0.0059822540283203125, | |
0.00595537281036377, | |
0.0061859340667724605, | |
0.006014893054962158, | |
0.005975372791290283, | |
0.006000332832336426, | |
0.0059841728210449216, | |
0.006008333206176758, | |
0.0060124931335449215, | |
0.005976492881774902, | |
0.005980493068695069, | |
0.006007213115692139, | |
0.005993773937225342, | |
0.0059601731300354, | |
0.005996653079986572, | |
0.005995532989501953, | |
0.006013614177703857, | |
0.006147373199462891, | |
0.005978253841400147, | |
0.00597985315322876, | |
0.006016333103179932, | |
0.005993292808532715, | |
0.0059603328704833985, | |
0.005980173110961914, | |
0.006175854206085205, | |
0.005986252784729004, | |
0.005979533195495605, | |
0.018511720657348633, | |
0.00398448896408081, | |
0.003971369028091431, | |
0.003976968050003052, | |
0.003978569030761719, | |
0.0053483319282531736, | |
0.0060001730918884276, | |
0.0059870538711547855, | |
0.005975213050842285, | |
0.005964653015136719, | |
0.005970413208007812, | |
0.005973773956298828, | |
0.00596401309967041, | |
0.005960813045501709, | |
0.005980813026428223, | |
0.005972652912139892, | |
0.005952173233032226, | |
0.006010892868041992, | |
0.00597825288772583, | |
0.0059536128044128415, | |
0.005972493171691895, | |
0.005998892784118652, | |
0.0059841728210449216, | |
0.005949452877044677, | |
0.005984333038330078, | |
0.005912013053894043, | |
0.006001613140106201, | |
0.005977612972259521, | |
0.005950413227081299, | |
0.005958733081817627, | |
0.005971373081207276, | |
0.005946574211120606, | |
0.005957293033599854, | |
0.005966413021087647, | |
0.005964972972869873, | |
0.005983054161071777, | |
0.005972012996673584, | |
0.005953932762145996, | |
0.005940012931823731, | |
0.005958413124084473, | |
0.00595729398727417, | |
0.00597825288772583, | |
0.005933133125305176, | |
0.005951693058013916, | |
0.006013613224029541, | |
0.006012972831726074, | |
0.0065198540687561035, | |
0.006721775054931641, | |
0.006754254817962647, | |
0.00677153491973877, | |
0.006817615032196045, | |
0.00675953483581543, | |
0.006748654842376709, | |
0.006536495208740234, | |
0.006659053802490235, | |
0.006791375160217285, | |
0.00672529411315918, | |
0.0068388948440551755, | |
0.006719854831695557, | |
0.006782094955444336, | |
0.006765775203704834, | |
0.006796814918518066, | |
0.006794734954833985, | |
0.006795694828033447, | |
0.006783374786376953, | |
0.006759214878082276, | |
0.006791055202484131, | |
0.006838735103607178, | |
0.006813614845275879, | |
0.0068137750625610356, | |
0.0068244948387146, | |
0.006840335845947266, | |
0.006818894863128662, | |
0.006780495166778564, | |
0.006735374927520752, | |
0.006765934944152832, | |
0.006773614883422851, | |
0.006787215232849121, | |
0.006779534816741943, | |
0.00678785514831543, | |
0.006800973892211914 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.30219581761733 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |