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
9baabb9
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": "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": "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": 903.53664, | |
"max_global_vram": 689.614848, | |
"max_process_vram": 44333.58848, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.378412109375, | |
"mean": 7.378412109375, | |
"stdev": 0.0, | |
"p50": 7.378412109375, | |
"p90": 7.378412109375, | |
"p95": 7.378412109375, | |
"p99": 7.378412109375, | |
"values": [ | |
7.378412109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1073.414144, | |
"max_global_vram": 778.145792, | |
"max_process_vram": 172318.94528, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9941788578033453, | |
"mean": 0.006627859052022299, | |
"stdev": 0.00030196826458269436, | |
"p50": 0.006628491401672364, | |
"p90": 0.0068263158798217765, | |
"p95": 0.00693334002494812, | |
"p99": 0.007608720092773437, | |
"values": [ | |
0.006922252178192138, | |
0.006866092205047607, | |
0.006915212154388428, | |
0.007042892932891846, | |
0.007077611923217773, | |
0.007035373210906982, | |
0.00694241189956665, | |
0.006914251804351806, | |
0.006953132152557373, | |
0.006852811813354493, | |
0.006795372009277344, | |
0.006814412117004395, | |
0.0067723321914672854, | |
0.006771051883697509, | |
0.00667217206954956, | |
0.0066878519058227535, | |
0.006652330875396729, | |
0.006653292179107666, | |
0.006715052127838135, | |
0.006717132091522217, | |
0.006705451011657715, | |
0.006805771827697754, | |
0.006777612209320069, | |
0.006717132091522217, | |
0.006494892120361328, | |
0.006490090847015381, | |
0.006421131134033203, | |
0.006506412029266357, | |
0.006485291004180908, | |
0.007580812931060791, | |
0.007635532855987549, | |
0.006896492004394531, | |
0.006654411792755127, | |
0.006649130821228027, | |
0.006625291824340821, | |
0.006648332118988037, | |
0.006599851131439209, | |
0.006613612174987793, | |
0.006669772148132324, | |
0.006600811004638672, | |
0.006560171127319336, | |
0.006609772205352783, | |
0.006600811004638672, | |
0.006603052139282226, | |
0.006621612071990967, | |
0.006588651180267334, | |
0.006618892192840576, | |
0.006640172004699707, | |
0.006595530986785889, | |
0.006645932197570801, | |
0.006658411979675293, | |
0.006607370853424072, | |
0.0066328120231628415, | |
0.006604811191558838, | |
0.009195216178894043, | |
0.006823371887207031, | |
0.006643051147460937, | |
0.006660332202911377, | |
0.006662092208862305, | |
0.006610570907592773, | |
0.006650571823120117, | |
0.0066609721183776855, | |
0.006631051063537598, | |
0.006631051063537598, | |
0.00663121223449707, | |
0.006639691829681396, | |
0.006621770858764649, | |
0.006615052223205567, | |
0.006593451023101806, | |
0.00663457202911377, | |
0.006681612014770508, | |
0.006627851009368897, | |
0.006641130924224853, | |
0.006644011974334717, | |
0.006609611034393311, | |
0.006624011039733887, | |
0.006876492023468018, | |
0.00662417221069336, | |
0.006641932010650635, | |
0.0066585707664489745, | |
0.006650571823120117, | |
0.0066798520088195805, | |
0.0066420907974243165, | |
0.006635050773620605, | |
0.006666892051696778, | |
0.006647692203521728, | |
0.006595370769500733, | |
0.0066516919136047365, | |
0.006635531902313232, | |
0.00662545108795166, | |
0.006617452144622803, | |
0.006623851776123047, | |
0.006591851234436035, | |
0.006600811958312989, | |
0.006635530948638916, | |
0.006595051765441894, | |
0.00666401195526123, | |
0.006641611099243164, | |
0.006604970932006836, | |
0.00662913179397583, | |
0.0066580910682678225, | |
0.00663969087600708, | |
0.006629452228546142, | |
0.006635530948638916, | |
0.006583850860595703, | |
0.006636332035064698, | |
0.006625291824340821, | |
0.0065939311981201175, | |
0.006622412204742432, | |
0.006623530864715576, | |
0.006595850944519043, | |
0.0063216109275817875, | |
0.006243210792541504, | |
0.006342570781707763, | |
0.006136331081390381, | |
0.006116810798645019, | |
0.006296491146087647, | |
0.006268331050872803, | |
0.006277931213378906, | |
0.006332170963287353, | |
0.006109130859375, | |
0.00615553092956543, | |
0.006323370933532715, | |
0.006306251049041748, | |
0.00610961103439331, | |
0.006391211032867432, | |
0.00639345121383667, | |
0.006595692157745361, | |
0.0066891322135925295, | |
0.006676331043243409, | |
0.0066134510040283204, | |
0.006651532173156738, | |
0.006625771045684814, | |
0.006601611137390137, | |
0.006686892032623291, | |
0.006653451919555664, | |
0.006598570823669434, | |
0.00648449182510376, | |
0.0062580909729003905, | |
0.006437611103057861, | |
0.006519530773162842, | |
0.006200490951538086, | |
0.006520812034606934, | |
0.006211690902709961, | |
0.006472811222076416, | |
0.006214251041412353, | |
0.006102251052856445, | |
0.00633073091506958, | |
0.0064729700088500975, | |
0.0064859318733215335 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.8782839452325 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |