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
e276aac
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": "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": {}, | |
"hub_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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": "88e73025c13ec1a964328bd3aa8fa3b1b8ab2582", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1061.105664, | |
"max_global_vram": 777.736192, | |
"max_process_vram": 144513.220608, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 160, | |
"total": 0.9994946217536926, | |
"mean": 0.006246841385960579, | |
"stdev": 0.00018617594884414763, | |
"p50": 0.006195121049880981, | |
"p90": 0.006436640882492066, | |
"p95": 0.006564496922492981, | |
"p99": 0.007047058024406433, | |
"values": [ | |
0.0071707220077514644, | |
0.00630224084854126, | |
0.006292000770568847, | |
0.006286402225494384, | |
0.006259360790252686, | |
0.006244962215423584, | |
0.006245760917663574, | |
0.006228160858154297, | |
0.0062312021255493165, | |
0.006262240886688232, | |
0.006203361988067627, | |
0.006485441207885742, | |
0.0062142410278320315, | |
0.006196002006530762, | |
0.0062142410278320315, | |
0.00617232084274292, | |
0.006237602233886719, | |
0.006232320785522461, | |
0.006224321842193604, | |
0.006224481105804444, | |
0.006167520999908447, | |
0.006242881774902344, | |
0.006221281051635742, | |
0.006234722137451172, | |
0.006219841003417968, | |
0.006182721138000488, | |
0.006230562210083008, | |
0.006244000911712647, | |
0.006261442184448242, | |
0.006195200920104981, | |
0.006250720977783203, | |
0.006239521980285645, | |
0.006235200881958008, | |
0.006242240905761719, | |
0.006239521980285645, | |
0.006245921134948731, | |
0.006216001987457275, | |
0.006223680973052978, | |
0.0062857608795166015, | |
0.006285761833190918, | |
0.006214400768280029, | |
0.00626544189453125, | |
0.0062473611831665036, | |
0.006249920845031738, | |
0.006236961841583252, | |
0.006268640995025635, | |
0.006250401973724365, | |
0.006200800895690918, | |
0.006183520793914795, | |
0.006171041965484619, | |
0.006158720970153808, | |
0.006335522174835205, | |
0.006179040908813477, | |
0.006124160766601563, | |
0.006089601993560791, | |
0.006186400890350342, | |
0.0061195211410522464, | |
0.006157122135162354, | |
0.006124001026153564, | |
0.006154881000518799, | |
0.006166882038116455, | |
0.006155840873718262, | |
0.0061529622077941895, | |
0.006168001174926758, | |
0.006144481182098389, | |
0.006178721904754638, | |
0.006143681049346924, | |
0.006169920921325684, | |
0.0061436820030212405, | |
0.006173120975494385, | |
0.006165602207183838, | |
0.006244481086730957, | |
0.006153120994567871, | |
0.00620048189163208, | |
0.006163840770721436, | |
0.0061628808975219725, | |
0.006136641979217529, | |
0.006135361194610596, | |
0.00620208215713501, | |
0.0061219210624694825, | |
0.006213601112365723, | |
0.00612736177444458, | |
0.006180160999298095, | |
0.0062051210403442384, | |
0.00615792179107666, | |
0.006174561023712158, | |
0.006187362194061279, | |
0.0062094411849975585, | |
0.0061788811683654785, | |
0.006173121929168701, | |
0.0062638411521911625, | |
0.006205760955810547, | |
0.006165602207183838, | |
0.006187520980834961, | |
0.006164001941680908, | |
0.00617232084274292, | |
0.006961122035980225, | |
0.006452001094818115, | |
0.006669281005859375, | |
0.0065211219787597655, | |
0.006435680866241455, | |
0.0066532821655273435, | |
0.0064918408393859865, | |
0.006576961994171142, | |
0.006612640857696533, | |
0.006353921890258789, | |
0.007594720840454101, | |
0.006812481880187988, | |
0.00650096082687378, | |
0.006355681896209717, | |
0.006445281028747559, | |
0.006479842185974121, | |
0.006329600811004639, | |
0.006563840866088867, | |
0.0063952021598815915, | |
0.006422080993652344, | |
0.006428482055664063, | |
0.006227681159973145, | |
0.0062576022148132324, | |
0.006190721035003662, | |
0.0061451210975646976, | |
0.006156002044677734, | |
0.006174241065979004, | |
0.006157761096954346, | |
0.006114081859588623, | |
0.006129440784454346, | |
0.006135520935058594, | |
0.006159681797027588, | |
0.006168160915374756, | |
0.006159681797027588, | |
0.006133921146392822, | |
0.006203041076660156, | |
0.006159202098846435, | |
0.006119040966033935, | |
0.006157761096954346, | |
0.006126242160797119, | |
0.006117761135101318, | |
0.006145281791687012, | |
0.006124640941619873, | |
0.006164960861206055, | |
0.006110241889953613, | |
0.006137121200561524, | |
0.006261600971221924, | |
0.006184001922607422, | |
0.006149761199951172, | |
0.006110241889953613, | |
0.006184161186218262, | |
0.006103840827941895, | |
0.006127682209014893, | |
0.00614224100112915, | |
0.006106241226196289, | |
0.006170240879058838, | |
0.006163520812988281, | |
0.006124960899353027, | |
0.006138401985168457, | |
0.006155041217803955, | |
0.006219521999359131, | |
0.006195041179656982, | |
0.0061739211082458495, | |
0.006093602180480957 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.08090140521946 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |