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
92924ef
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": "3e2eebdc0f80ae6deeb2e1faad3e889ed5a4df2d", | |
"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": 1058.955264, | |
"max_global_vram": 778.461184, | |
"max_process_vram": 196531.613696, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9982933344841003, | |
"mean": 0.006837625578658221, | |
"stdev": 0.000492449298195093, | |
"p50": 0.006740103483200073, | |
"p90": 0.007318737983703613, | |
"p95": 0.007874413847923279, | |
"p99": 0.008527167558670045, | |
"values": [ | |
0.007826173782348633, | |
0.007053380966186524, | |
0.0069685811996459965, | |
0.006869542121887207, | |
0.006966502189636231, | |
0.0068188228607177735, | |
0.006751303195953369, | |
0.006830821990966797, | |
0.0069084219932556154, | |
0.00660698413848877, | |
0.006675784111022949, | |
0.006694023132324219, | |
0.006853221893310547, | |
0.0064785051345825195, | |
0.006655784130096436, | |
0.00658570384979248, | |
0.006920900821685791, | |
0.007125699996948242, | |
0.007135459899902344, | |
0.007150020122528076, | |
0.007139780044555664, | |
0.007332098007202148, | |
0.007910492897033692, | |
0.008094491004943848, | |
0.008447129249572754, | |
0.008510007858276367, | |
0.008577846527099609, | |
0.008541207313537597, | |
0.008138331413269043, | |
0.007890493869781494, | |
0.007591775894165039, | |
0.007453217029571533, | |
0.007409058094024658, | |
0.007351617813110351, | |
0.007411137104034424, | |
0.007305377960205078, | |
0.007261377811431885, | |
0.007271298885345459, | |
0.007204258918762207, | |
0.0070922598838806155, | |
0.007008259773254395, | |
0.007100419998168945, | |
0.007097859859466552, | |
0.00711706018447876, | |
0.0071277799606323244, | |
0.007108419895172119, | |
0.00710345983505249, | |
0.007134339809417725, | |
0.007111299991607666, | |
0.007079140186309814, | |
0.0071082601547241215, | |
0.007126820087432861, | |
0.00716185998916626, | |
0.007125699043273926, | |
0.007139780044555664, | |
0.007088901042938233, | |
0.007094339847564697, | |
0.007154339790344238, | |
0.007134500026702881, | |
0.007118500232696533, | |
0.006740424156188965, | |
0.0066773838996887205, | |
0.00655946397781372, | |
0.006690342903137207, | |
0.006775622844696045, | |
0.006559944152832032, | |
0.006694664001464843, | |
0.007015141010284423, | |
0.007155458927154541, | |
0.007126339912414551, | |
0.006735464096069336, | |
0.007067780971527099, | |
0.006979141235351562, | |
0.006763302803039551, | |
0.006732583045959473, | |
0.006757863044738769, | |
0.0066413841247558595, | |
0.006739782810211182, | |
0.0065581841468811035, | |
0.006524264812469482, | |
0.006325866222381592, | |
0.006333227157592773, | |
0.006347307205200195, | |
0.006332265853881836, | |
0.0062761068344116214, | |
0.00636426591873169, | |
0.006312585830688476, | |
0.006337707042694092, | |
0.0063250670433044436, | |
0.006313546180725098, | |
0.006329226970672608, | |
0.006342667102813721, | |
0.006342506885528564, | |
0.00633418607711792, | |
0.006359625816345215, | |
0.006390666007995606, | |
0.0064005861282348635, | |
0.006344906806945801, | |
0.006327305793762207, | |
0.006336585998535156, | |
0.0063447470664978025, | |
0.006340907096862793, | |
0.006331305980682373, | |
0.006343945980072021, | |
0.006293386936187744, | |
0.00634234619140625, | |
0.006517385005950928, | |
0.006382825851440429, | |
0.006366025924682617, | |
0.006852901935577392, | |
0.007076099872589111, | |
0.00715530014038086, | |
0.007128900051116944, | |
0.00667418384552002, | |
0.006709702968597412, | |
0.006846982002258301, | |
0.006610663890838623, | |
0.006629223823547363, | |
0.00679498291015625, | |
0.006638023853302002, | |
0.006572104930877685, | |
0.007043621063232422, | |
0.0071039400100708005, | |
0.007065220832824707, | |
0.006588744163513184, | |
0.006704584121704101, | |
0.006638663768768311, | |
0.006548264980316162, | |
0.006747783184051514, | |
0.006584105014801026, | |
0.006545224189758301, | |
0.00669434404373169, | |
0.006483945846557617, | |
0.00632410717010498, | |
0.006322505950927734, | |
0.00632410717010498, | |
0.006323466777801514, | |
0.0063370661735534664, | |
0.006321866989135742, | |
0.0063354668617248535, | |
0.006327307224273682, | |
0.006340106010437011, | |
0.006338827133178711, | |
0.006321065902709961, | |
0.006319305896759033, | |
0.006337067127227783 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.24959914757932 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |