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
407f515
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", | |
"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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 902.623232, | |
"max_global_vram": 689.516544, | |
"max_process_vram": 44898.070528, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.323740234375, | |
"mean": 7.323740234375, | |
"stdev": 0.0, | |
"p50": 7.323740234375, | |
"p90": 7.323740234375, | |
"p95": 7.323740234375, | |
"p99": 7.323740234375, | |
"values": [ | |
7.323740234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1073.635328, | |
"max_global_vram": 777.826304, | |
"max_process_vram": 172865.10592, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 160, | |
"total": 0.9954926109313964, | |
"mean": 0.006221828818321228, | |
"stdev": 0.00032591372094174326, | |
"p50": 0.006389501094818116, | |
"p90": 0.006476429176330566, | |
"p95": 0.00669291694164276, | |
"p99": 0.006989177260398865, | |
"values": [ | |
0.006820139884948731, | |
0.006801899909973145, | |
0.00692061996459961, | |
0.0069636588096618655, | |
0.007055339813232422, | |
0.007025898933410645, | |
0.00694734001159668, | |
0.006905739784240723, | |
0.006687180995941162, | |
0.006404141902923584, | |
0.006520619869232178, | |
0.0064342222213745115, | |
0.006395502090454102, | |
0.006588940143585205, | |
0.006309102058410645, | |
0.006410861015319824, | |
0.006381260871887207, | |
0.006288142204284668, | |
0.006476301193237305, | |
0.006347822189331055, | |
0.006458220958709716, | |
0.006477581024169922, | |
0.006325261116027832, | |
0.005993262767791748, | |
0.006136463165283203, | |
0.006534861087799072, | |
0.00621710205078125, | |
0.005918063163757324, | |
0.0060676617622375485, | |
0.006319180965423584, | |
0.005989102840423584, | |
0.005999182224273682, | |
0.005947021961212158, | |
0.005774064064025879, | |
0.005774223804473877, | |
0.0057339038848876955, | |
0.0058211030960083005, | |
0.006416781902313233, | |
0.006485421180725098, | |
0.006449901103973389, | |
0.006432621002197265, | |
0.006464941024780273, | |
0.00645582103729248, | |
0.006404461860656738, | |
0.006411821842193604, | |
0.006421101093292236, | |
0.006464621067047119, | |
0.006423661231994629, | |
0.00639198112487793, | |
0.006421101093292236, | |
0.006375821113586426, | |
0.006417901992797852, | |
0.006405101776123047, | |
0.0064006209373474125, | |
0.00639470100402832, | |
0.006416621208190918, | |
0.006404301166534424, | |
0.00640814208984375, | |
0.006406382083892822, | |
0.006418701171875, | |
0.00641822099685669, | |
0.006414700984954834, | |
0.006418540954589844, | |
0.006418381214141846, | |
0.0064331011772155765, | |
0.0064297418594360355, | |
0.006395822048187256, | |
0.006389260768890381, | |
0.006407501220703125, | |
0.0064079809188842774, | |
0.00640894079208374, | |
0.006415822029113769, | |
0.00640430212020874, | |
0.00640894079208374, | |
0.006389420986175537, | |
0.006420620918273926, | |
0.006618220806121827, | |
0.0064380612373352054, | |
0.006443981170654297, | |
0.006417581081390381, | |
0.006429901123046875, | |
0.006421741008758545, | |
0.0064171009063720705, | |
0.006411820888519287, | |
0.006399662017822266, | |
0.006428300857543945, | |
0.006423661231994629, | |
0.0064239811897277834, | |
0.006263021945953369, | |
0.005991182804107666, | |
0.0059673418998718265, | |
0.006009102821350098, | |
0.006078221797943115, | |
0.006426540851593018, | |
0.006438381195068359, | |
0.006474221229553222, | |
0.006299341201782226, | |
0.006078063011169433, | |
0.0060598220825195314, | |
0.006080301761627197, | |
0.006027021884918213, | |
0.006063022136688232, | |
0.006046382904052734, | |
0.006158061981201172, | |
0.005995502948760986, | |
0.006169901847839355, | |
0.005865421772003174, | |
0.0058686227798461915, | |
0.0056692628860473635, | |
0.005674384117126465, | |
0.005654063224792481, | |
0.005668943881988526, | |
0.005690063953399658, | |
0.006338060855865479, | |
0.0064286208152771, | |
0.006425100803375244, | |
0.006427661895751953, | |
0.006408621788024902, | |
0.006391180992126465, | |
0.005710863113403321, | |
0.005678062915802002, | |
0.005930062770843506, | |
0.005670543193817139, | |
0.005667664051055908, | |
0.005765102863311768, | |
0.006484941005706787, | |
0.006411820888519287, | |
0.006389581203460694, | |
0.006432781219482422, | |
0.0064476609230041506, | |
0.0061001420021057125, | |
0.00588942289352417, | |
0.006053902149200439, | |
0.005843822956085205, | |
0.006080461978912354, | |
0.005845423221588135, | |
0.0060908617973327635, | |
0.005882382869720459, | |
0.006044301986694336, | |
0.005847982883453369, | |
0.006066381931304932, | |
0.005836303234100342, | |
0.006057261943817139, | |
0.00582062292098999, | |
0.006043501853942871, | |
0.005914382934570313, | |
0.006077102184295654, | |
0.005866063117980957, | |
0.005872783184051514, | |
0.005651823997497559, | |
0.005675502777099609, | |
0.005659502983093262, | |
0.005666224002838135, | |
0.005675182819366455, | |
0.005745422840118408, | |
0.0057121429443359375, | |
0.0056844639778137205, | |
0.005687501907348633, | |
0.005659983158111572, | |
0.0059983830451965335 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.72444761825184 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |