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
3ad00df
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": "6", | |
"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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.286208, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5330.026496, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.10918547058105468 | |
], | |
"count": 1, | |
"total": 0.10918547058105468, | |
"mean": 0.10918547058105468, | |
"p50": 0.10918547058105468, | |
"p90": 0.10918547058105468, | |
"p95": 0.10918547058105468, | |
"p99": 0.10918547058105468, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1268.96128, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 195596.832768, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0062044901847839356, | |
0.0060494508743286135, | |
0.006053610801696778, | |
0.006036489963531494, | |
0.0059926509857177734, | |
0.005995690822601318, | |
0.005991529941558838, | |
0.00598737096786499, | |
0.005976809978485108, | |
0.005986411094665528, | |
0.00598753023147583, | |
0.005983850955963135, | |
0.005996009826660156, | |
0.006019051074981689, | |
0.005997931003570557, | |
0.005992650032043457, | |
0.005975690841674805, | |
0.006030409812927246, | |
0.005966890811920166, | |
0.0059824099540710446, | |
0.005998091220855713, | |
0.006029770851135254, | |
0.006018089771270752, | |
0.006015690803527832, | |
0.005993450164794922, | |
0.006015690803527832, | |
0.006024331092834473, | |
0.006001930236816406, | |
0.005999851226806641, | |
0.0060294499397277835, | |
0.006066569805145264, | |
0.006103691101074219, | |
0.00607857084274292, | |
0.006094729900360108, | |
0.006127851009368896, | |
0.006068330764770508, | |
0.0060868911743164065, | |
0.006092010021209716, | |
0.006105930805206299, | |
0.006140491008758545, | |
0.006138250827789306, | |
0.0060676908493042, | |
0.0060992097854614255, | |
0.00602833080291748, | |
0.006102090835571289, | |
0.006067689895629883, | |
0.006087530136108399, | |
0.006063210964202881, | |
0.006090570926666259, | |
0.006091050148010254, | |
0.006084331035614014, | |
0.006079370975494385, | |
0.006073451042175293, | |
0.006080810070037842, | |
0.006084650993347168, | |
0.006126410961151123, | |
0.0060868911743164065, | |
0.006094570159912109, | |
0.006080650806427002, | |
0.006098411083221436, | |
0.006076810836791992, | |
0.006091690063476563, | |
0.0060856108665466304, | |
0.006100330829620361, | |
0.006118890762329102, | |
0.006095210075378418, | |
0.006099851131439209, | |
0.006080970764160156, | |
0.006119370937347412, | |
0.006077290058135986, | |
0.006128011226654052, | |
0.006091210842132568, | |
0.006093770980834961, | |
0.006262091159820557, | |
0.006834732055664062, | |
0.006849132061004639, | |
0.006824972152709961, | |
0.0068016119003295895, | |
0.006470410823822021, | |
0.00619649076461792, | |
0.006632651805877686, | |
0.006841291904449463, | |
0.006831051826477051, | |
0.006815532207489014, | |
0.006906251907348632, | |
0.00648065185546875, | |
0.006534730911254883, | |
0.006834251880645752, | |
0.0068752121925354, | |
0.006806252002716065, | |
0.00685233211517334, | |
0.006830731868743897, | |
0.0066244912147521975, | |
0.006592812061309815, | |
0.0066993718147277835, | |
0.006808012008666992, | |
0.006790411949157715, | |
0.006854092121124268, | |
0.0068267321586608885, | |
0.006570731163024902, | |
0.006524971961975098, | |
0.006324650764465332, | |
0.006349451065063476, | |
0.006052171230316162, | |
0.006046250820159912, | |
0.00608480978012085, | |
0.0060582499504089355, | |
0.006074251174926758, | |
0.006082251071929932, | |
0.006060490131378174, | |
0.0060539312362670895, | |
0.006051210880279541, | |
0.006053609848022461, | |
0.006024331092834473, | |
0.006058091163635254, | |
0.006049449920654297, | |
0.006060330867767334, | |
0.006051051139831543, | |
0.006057449817657471, | |
0.006082730770111084, | |
0.006091051101684571, | |
0.0060592107772827145, | |
0.006051370143890381, | |
0.0060635309219360355, | |
0.006066411018371582, | |
0.006026569843292236, | |
0.006047531127929688, | |
0.006012810230255127, | |
0.0060313701629638675, | |
0.006030731201171875, | |
0.006029290199279785, | |
0.00603761100769043, | |
0.006020010948181153, | |
0.006016650199890137, | |
0.006058091163635254, | |
0.006190091133117676, | |
0.006046730995178223, | |
0.006012969970703125, | |
0.006019530773162841, | |
0.006037930011749268, | |
0.006021931171417237, | |
0.006035050868988037, | |
0.006013289928436279, | |
0.006043530941009521, | |
0.006090411186218262, | |
0.0060417699813842774, | |
0.006038731098175049, | |
0.006039210796356201, | |
0.006033929824829101, | |
0.0064883317947387695, | |
0.006187049865722656, | |
0.00608961009979248, | |
0.006043210029602051, | |
0.006008010864257812, | |
0.006058730125427246, | |
0.006054571151733398, | |
0.0060390510559082036, | |
0.006045770168304443, | |
0.006053131103515625, | |
0.006027851104736328, | |
0.0060256109237670896 | |
], | |
"count": 161, | |
"total": 0.9941575851440426, | |
"mean": 0.006174891833192813, | |
"p50": 0.006067689895629883, | |
"p90": 0.006790411949157715, | |
"p95": 0.006831051826477051, | |
"p99": 0.006862540149688721, | |
"stdev": 0.0002627730281804027, | |
"stdev_": 4.2555081980202445 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 161.94615663136824 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |