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
f74976e
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": 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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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": 1026.31424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43868.749824, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.70517822265625, | |
"mean": 7.70517822265625, | |
"stdev": 0.0, | |
"p50": 7.70517822265625, | |
"p90": 7.70517822265625, | |
"p95": 7.70517822265625, | |
"p99": 7.70517822265625, | |
"values": [ | |
7.70517822265625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1198.190592, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 166645.506048, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9947033538818357, | |
"mean": 0.006102474563692245, | |
"stdev": 0.00038907335559300137, | |
"p50": 0.005949099063873291, | |
"p90": 0.006356937885284424, | |
"p95": 0.00662650408744812, | |
"p99": 0.006716823921203613, | |
"values": [ | |
0.006104777812957764, | |
0.006226538181304931, | |
0.006295338153839112, | |
0.006180617809295654, | |
0.006260138034820556, | |
0.006201417922973633, | |
0.006131497859954834, | |
0.00617421817779541, | |
0.006105738162994385, | |
0.006148777961730957, | |
0.006051659107208252, | |
0.005973418235778808, | |
0.005945418834686279, | |
0.005877418994903565, | |
0.005869258880615234, | |
0.005898058891296387, | |
0.005874858856201172, | |
0.006293417930603028, | |
0.00593293809890747, | |
0.005937098979949951, | |
0.0059393391609191895, | |
0.005909419059753418, | |
0.005903499126434326, | |
0.00594253921508789, | |
0.005933258056640625, | |
0.005925418853759766, | |
0.005941419124603271, | |
0.005941898822784424, | |
0.005904778957366943, | |
0.005939498901367187, | |
0.006034379005432129, | |
0.006007339000701904, | |
0.006055018901824951, | |
0.006021257877349854, | |
0.005955338954925537, | |
0.005959019184112548, | |
0.005944458961486816, | |
0.0059860582351684575, | |
0.006000618934631347, | |
0.010193883895874023, | |
0.00613165807723999, | |
0.006054537773132324, | |
0.0059991788864135745, | |
0.005928618907928467, | |
0.005949099063873291, | |
0.0058479800224304195, | |
0.005867019176483155, | |
0.00591965913772583, | |
0.005874539852142334, | |
0.005875339984893799, | |
0.0058615789413452146, | |
0.005897738933563232, | |
0.00585469913482666, | |
0.00587277889251709, | |
0.005878219127655029, | |
0.005889419078826904, | |
0.0058684592247009275, | |
0.005948938846588135, | |
0.005865580081939698, | |
0.00590365982055664, | |
0.005875820159912109, | |
0.005896139144897461, | |
0.005861899852752686, | |
0.005891980171203614, | |
0.005852459907531738, | |
0.005839179992675781, | |
0.0058646187782287595, | |
0.005913259029388428, | |
0.00591101884841919, | |
0.005875179767608643, | |
0.0058644599914550784, | |
0.00587709903717041, | |
0.005939817905426025, | |
0.005948139190673828, | |
0.005957579135894776, | |
0.005936779022216797, | |
0.006182377815246582, | |
0.005941738128662109, | |
0.005948459148406983, | |
0.005942859172821045, | |
0.005884298801422119, | |
0.005918698787689209, | |
0.005976937770843506, | |
0.005930859088897705, | |
0.006274057865142822, | |
0.006194218158721924, | |
0.006276136875152588, | |
0.006239657878875733, | |
0.00620429801940918, | |
0.00630493688583374, | |
0.006192937850952148, | |
0.006323818206787109, | |
0.006176137924194336, | |
0.006300777912139893, | |
0.006401737213134765, | |
0.006322058200836181, | |
0.006136938095092774, | |
0.006299177169799805, | |
0.006354378223419189, | |
0.006219977855682373, | |
0.006262378215789795, | |
0.006280938148498535, | |
0.006357577800750733, | |
0.006347657203674317, | |
0.006076938152313233, | |
0.0062852568626403805, | |
0.0061590180397033695, | |
0.0062838177680969234, | |
0.0062905378341674804, | |
0.006208938121795654, | |
0.005973578929901123, | |
0.005941739082336426, | |
0.005934379100799561, | |
0.005920138835906983, | |
0.005942859172821045, | |
0.005924458980560303, | |
0.0059300589561462405, | |
0.005924139022827148, | |
0.0059375791549682614, | |
0.005934858798980713, | |
0.005917738914489746, | |
0.00592189884185791, | |
0.005932939052581787, | |
0.005916779041290283, | |
0.005916938781738281, | |
0.005921739101409912, | |
0.0059441390037536625, | |
0.005935819149017334, | |
0.005940138816833496, | |
0.005920299053192139, | |
0.006145257949829102, | |
0.006626696109771729, | |
0.006634215831756592, | |
0.006645256996154785, | |
0.006624775886535645, | |
0.006404457092285157, | |
0.00623917818069458, | |
0.006342697143554688, | |
0.0063468580245971675, | |
0.006636776924133301, | |
0.00665933609008789, | |
0.006657256126403809, | |
0.006774856090545654, | |
0.006490376949310303, | |
0.006346537113189697, | |
0.00668125581741333, | |
0.006519816875457764, | |
0.006202698230743408, | |
0.006318857192993164, | |
0.006407337188720703, | |
0.006123659133911133, | |
0.006367338180541992, | |
0.006173418045043945, | |
0.006230378150939941, | |
0.0060799789428710935, | |
0.006089898109436035, | |
0.005907339096069336, | |
0.005883978843688965, | |
0.0059252591133117675, | |
0.00588909912109375, | |
0.005903818130493164, | |
0.00588477897644043, | |
0.005891979217529297 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.86795054414114 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |