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
f7304c4
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.3.1", | |
"optimum_benchmark_commit": "aa06eb5e1bf688ecb03b7568e9e816d4af962b61", | |
"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": 899.059712, | |
"max_global_vram": 689.3568, | |
"max_process_vram": 43085.25056, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.802193359375, | |
"mean": 6.802193359375, | |
"stdev": 0.0, | |
"p50": 6.802193359375, | |
"p90": 6.802193359375, | |
"p95": 6.802193359375, | |
"p99": 6.802193359375, | |
"values": [ | |
6.802193359375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1068.965888, | |
"max_global_vram": 777.678848, | |
"max_process_vram": 170576.306176, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 164, | |
"total": 0.998591213226318, | |
"mean": 0.0060889708123556, | |
"stdev": 0.000515467519917638, | |
"p50": 0.005999191522598266, | |
"p90": 0.0063367589950561526, | |
"p95": 0.006502550911903381, | |
"p99": 0.007379523930549624, | |
"values": [ | |
0.006384951114654541, | |
0.006435670852661133, | |
0.006573431015014649, | |
0.006611670970916748, | |
0.006601591110229493, | |
0.006540470123291016, | |
0.00650735092163086, | |
0.006529910087585449, | |
0.006438391208648682, | |
0.006372951030731201, | |
0.006339991092681884, | |
0.006338871002197265, | |
0.006371510982513428, | |
0.006331830978393555, | |
0.006307991027832032, | |
0.006331349849700928, | |
0.006248631954193115, | |
0.006294870853424072, | |
0.006287671089172363, | |
0.006307351112365723, | |
0.006273591041564942, | |
0.006275190830230713, | |
0.006223031044006348, | |
0.006247830867767334, | |
0.011954703330993653, | |
0.006475350856781006, | |
0.006018391132354736, | |
0.005988152027130127, | |
0.0059887909889221195, | |
0.00600159215927124, | |
0.005967031002044678, | |
0.005984311103820801, | |
0.005963031768798828, | |
0.005973590850830078, | |
0.005951831817626953, | |
0.005990390777587891, | |
0.005963831901550293, | |
0.00602639102935791, | |
0.00600623083114624, | |
0.0059983921051025395, | |
0.00593087100982666, | |
0.006012152194976807, | |
0.005980311870574951, | |
0.006004150867462158, | |
0.005971672058105469, | |
0.005957430839538575, | |
0.0059793519973754886, | |
0.005996631145477295, | |
0.0059911909103393555, | |
0.00600767183303833, | |
0.0059697508811950685, | |
0.005981751918792725, | |
0.005947031021118164, | |
0.005971191883087158, | |
0.005957430839538575, | |
0.005953591823577881, | |
0.0059635119438171385, | |
0.005975030899047852, | |
0.00594047212600708, | |
0.00599583101272583, | |
0.005963831901550293, | |
0.00599199104309082, | |
0.005971352100372315, | |
0.006006071090698242, | |
0.00600015115737915, | |
0.005999351978302002, | |
0.005985910892486572, | |
0.0059964718818664555, | |
0.005974230766296387, | |
0.005992311000823975, | |
0.005976151943206787, | |
0.00598543119430542, | |
0.005973591804504395, | |
0.005994710922241211, | |
0.005954071998596191, | |
0.005987512111663818, | |
0.006206070899963379, | |
0.006029591083526611, | |
0.005998231887817383, | |
0.005991671085357666, | |
0.005973591804504395, | |
0.0060267109870910645, | |
0.006014390945434571, | |
0.006028791904449463, | |
0.0060286312103271485, | |
0.006030070781707764, | |
0.0060295920372009275, | |
0.005984311103820801, | |
0.0060345520973205564, | |
0.00599727201461792, | |
0.006008151054382324, | |
0.006016632080078125, | |
0.005979990959167481, | |
0.005985591888427734, | |
0.007788468837738037, | |
0.007139349937438965, | |
0.006052791118621826, | |
0.006049752235412598, | |
0.00604223108291626, | |
0.005987990856170655, | |
0.006014391899108886, | |
0.006006391048431397, | |
0.005990071773529053, | |
0.006004790782928467, | |
0.005938870906829834, | |
0.006034232139587402, | |
0.006011830806732178, | |
0.006032310962677002, | |
0.00602783203125, | |
0.006001911163330078, | |
0.006000791072845459, | |
0.006003672122955322, | |
0.00601167106628418, | |
0.006001751899719238, | |
0.00606127119064331, | |
0.005984790802001953, | |
0.006018392086029053, | |
0.006008471012115478, | |
0.006066710948944092, | |
0.006029111862182617, | |
0.006058071136474609, | |
0.006003351211547852, | |
0.006053112030029297, | |
0.006014871120452881, | |
0.0060388708114624025, | |
0.006039192199707031, | |
0.006035511016845703, | |
0.006016471862792969, | |
0.006033751964569092, | |
0.005999031066894531, | |
0.00600927209854126, | |
0.0060004711151123045, | |
0.006007511138916016, | |
0.005815032005310058, | |
0.005795351982116699, | |
0.005909750938415528, | |
0.005836311817169189, | |
0.005873270988464355, | |
0.005891191959381104, | |
0.005817912101745606, | |
0.005862710952758789, | |
0.005897592067718506, | |
0.005933590888977051, | |
0.005890872001647949, | |
0.005924470901489258, | |
0.005899991989135742, | |
0.005885910987854004, | |
0.005889111995697021, | |
0.005786231994628906, | |
0.005848151206970215, | |
0.005990071773529053, | |
0.00598159122467041, | |
0.005902872085571289, | |
0.005878390789031983, | |
0.006002232074737549, | |
0.005939990997314453, | |
0.00597871208190918, | |
0.005915670871734619, | |
0.00592463207244873, | |
0.00580815076828003, | |
0.005727511882781982, | |
0.005694712162017822, | |
0.005703990936279297, | |
0.005733751773834229 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 164.23136697762172 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |