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
fd9069a
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": "0", | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "8d3ce5d99bc670ee9136c4d65ae8c25ef9d8beae", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 897.728512, | |
"max_global_vram": 689.369088, | |
"max_process_vram": 44768.52224, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1322958984375, | |
"mean": 7.1322958984375, | |
"stdev": 0.0, | |
"p50": 7.1322958984375, | |
"p90": 7.1322958984375, | |
"p95": 7.1322958984375, | |
"p99": 7.1322958984375, | |
"values": [ | |
7.1322958984375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1068.597248, | |
"max_global_vram": 777.691136, | |
"max_process_vram": 179870.613504, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9984802296161654, | |
"mean": 0.0061256455804672705, | |
"stdev": 0.0010275556703187901, | |
"p50": 0.006080504894256592, | |
"p90": 0.006233753967285156, | |
"p95": 0.006376809930801392, | |
"p99": 0.007398718271255483, | |
"values": [ | |
0.006259544849395752, | |
0.0062208251953125, | |
0.006306426048278808, | |
0.006353946208953858, | |
0.0064704270362854, | |
0.006492186069488526, | |
0.006456986904144287, | |
0.006377945899963379, | |
0.006318905830383301, | |
0.006180984973907471, | |
0.0061541061401367185, | |
0.006168505191802978, | |
0.006173785209655762, | |
0.006128184795379639, | |
0.006092185020446777, | |
0.0060728249549865726, | |
0.006086424827575683, | |
0.006053305149078369, | |
0.006082584857940674, | |
0.006048025131225586, | |
0.006064505100250244, | |
0.006053144931793213, | |
0.006064184188842773, | |
0.006056183815002441, | |
0.006051865100860596, | |
0.006051384925842286, | |
0.006071865081787109, | |
0.006063545227050781, | |
0.006036825180053711, | |
0.006086423873901368, | |
0.006067383766174317, | |
0.006022103786468506, | |
0.006057145118713379, | |
0.017885351181030275, | |
0.0038523359298706056, | |
0.0038417749404907227, | |
0.003846895933151245, | |
0.003840015888214111, | |
0.004225616931915283, | |
0.006070584774017334, | |
0.006025784015655518, | |
0.006073784828186035, | |
0.006123865127563476, | |
0.006055544853210449, | |
0.006053464889526367, | |
0.006063065052032471, | |
0.006103384971618653, | |
0.006056664943695068, | |
0.006080504894256592, | |
0.006084185123443603, | |
0.006079545021057129, | |
0.006119864940643311, | |
0.006179705142974854, | |
0.006119705200195312, | |
0.006106744766235352, | |
0.006097624778747559, | |
0.0061205048561096195, | |
0.006094903945922852, | |
0.006091063976287842, | |
0.0060792241096496585, | |
0.006038585186004639, | |
0.0060801849365234376, | |
0.006053144931793213, | |
0.00615810489654541, | |
0.006168025016784668, | |
0.006203064918518067, | |
0.006202425003051758, | |
0.006194425106048584, | |
0.006206904888153076, | |
0.006214106082916259, | |
0.006182264804840088, | |
0.006164665222167969, | |
0.006184985160827636, | |
0.00616194486618042, | |
0.006140504837036133, | |
0.00615538501739502, | |
0.006390746116638184, | |
0.006122105121612549, | |
0.006132985115051269, | |
0.0060949048995971675, | |
0.006117304801940918, | |
0.0061016249656677245, | |
0.006068665027618408, | |
0.006063545227050781, | |
0.0060680251121521, | |
0.006031064987182617, | |
0.006025303840637207, | |
0.00601586389541626, | |
0.006057944774627686, | |
0.005996825218200684, | |
0.006048984050750732, | |
0.0060512242317199705, | |
0.0060544247627258305, | |
0.006032344818115235, | |
0.006134904861450195, | |
0.0061425848007202145, | |
0.0061421051025390624, | |
0.0061177840232849124, | |
0.0061113848686218265, | |
0.006141624927520752, | |
0.006082425117492676, | |
0.006117465019226075, | |
0.006095864772796631, | |
0.00616338586807251, | |
0.006056184768676758, | |
0.00887779712677002, | |
0.006408026218414306, | |
0.006085945129394531, | |
0.006138265132904053, | |
0.0060849847793579106, | |
0.006093945026397705, | |
0.006125945091247559, | |
0.006243546009063721, | |
0.00623698616027832, | |
0.0061438651084899905, | |
0.0061419448852539065, | |
0.006126265048980713, | |
0.006323066234588623, | |
0.006030904769897461, | |
0.006034584999084472, | |
0.006031064033508301, | |
0.006016503810882568, | |
0.006088184833526611, | |
0.005986905097961426, | |
0.006017943859100342, | |
0.005980023860931397, | |
0.006045464992523193, | |
0.0059777841567993165, | |
0.0060419440269470215, | |
0.00600962495803833, | |
0.006024024963378906, | |
0.005988344192504883, | |
0.005999864101409912, | |
0.00601394510269165, | |
0.006002903938293457, | |
0.0059777841567993165, | |
0.006082584857940674, | |
0.005973464012145996, | |
0.006117465019226075, | |
0.005982264041900635, | |
0.006086424827575683, | |
0.006030904769897461, | |
0.006008025169372559, | |
0.006001463890075684, | |
0.0059949049949646, | |
0.005940983772277832, | |
0.005986744880676269, | |
0.0059637041091918945, | |
0.006007864952087403, | |
0.005940184116363525, | |
0.0060829038619995114, | |
0.006366586208343506, | |
0.00613570499420166, | |
0.006016983985900879, | |
0.005948184013366699, | |
0.0061817851066589356, | |
0.006036505222320556, | |
0.006076185226440429, | |
0.006390585899353028, | |
0.005974905014038086, | |
0.005998263835906983, | |
0.005985623836517334, | |
0.005965943813323975 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.24809962703048 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |