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
329df0c
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", | |
"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.0", | |
"optimum_benchmark_commit": "6fd377459e287bb09e9383ba2516b1b2a271a562", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1059.401728, | |
"max_global_vram": 778.4448, | |
"max_process_vram": 178601.218048, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.9967217988967896, | |
"mean": 0.006389242300620446, | |
"stdev": 0.0002269903110995269, | |
"p50": 0.006375027894973755, | |
"p90": 0.00666902756690979, | |
"p95": 0.006712506890296936, | |
"p99": 0.006921547079086304, | |
"values": [ | |
0.006487987995147705, | |
0.006144628047943115, | |
0.006301908016204834, | |
0.006480788230895996, | |
0.006539987087249756, | |
0.006543988227844238, | |
0.006409907817840576, | |
0.00637310791015625, | |
0.006362867832183838, | |
0.006312948226928711, | |
0.0062622280120849605, | |
0.006284788131713868, | |
0.006405588150024414, | |
0.006242387771606446, | |
0.00621374797821045, | |
0.006420467853546143, | |
0.0062169480323791505, | |
0.006146708965301514, | |
0.00617006778717041, | |
0.006126708030700684, | |
0.00610862922668457, | |
0.006160307884216309, | |
0.006203028202056884, | |
0.006392148017883301, | |
0.006138548851013183, | |
0.0061659088134765625, | |
0.006117588043212891, | |
0.006157429218292237, | |
0.006160307884216309, | |
0.006165108203887939, | |
0.006135509014129638, | |
0.0061411080360412595, | |
0.0061508679389953615, | |
0.006147028923034668, | |
0.006219828128814697, | |
0.00615150785446167, | |
0.007533425807952881, | |
0.0062908678054809574, | |
0.00607214879989624, | |
0.006024467945098877, | |
0.005968628883361816, | |
0.0060537481307983395, | |
0.006059349060058594, | |
0.006058228015899658, | |
0.0060894289016723635, | |
0.0060267081260681156, | |
0.006039828777313233, | |
0.006237748146057129, | |
0.006051188945770264, | |
0.006585426807403564, | |
0.00637694787979126, | |
0.00632830810546875, | |
0.006423987865447998, | |
0.006202548027038574, | |
0.006528947830200195, | |
0.006326228141784668, | |
0.006364627838134766, | |
0.006463508129119873, | |
0.006349267959594726, | |
0.006378868103027344, | |
0.006328467845916748, | |
0.0062887887954711915, | |
0.006424787044525146, | |
0.006704627990722656, | |
0.006701426982879639, | |
0.006709746837615967, | |
0.006441587924957275, | |
0.006646868228912354, | |
0.006469587802886963, | |
0.006326387882232666, | |
0.006480147838592529, | |
0.006402547836303711, | |
0.006433107852935791, | |
0.006504306793212891, | |
0.006323028087615967, | |
0.006415507793426514, | |
0.006360787868499756, | |
0.006282708168029785, | |
0.006461748123168945, | |
0.0062897481918334965, | |
0.006597908020019532, | |
0.006577746868133545, | |
0.006198069095611572, | |
0.0064236679077148435, | |
0.006254708766937256, | |
0.006333108901977539, | |
0.0063531088829040525, | |
0.006248788833618164, | |
0.00641838788986206, | |
0.006204148769378662, | |
0.0063575878143310545, | |
0.006289907932281494, | |
0.006268308162689209, | |
0.006348948001861573, | |
0.006222067832946777, | |
0.006443347930908203, | |
0.006433427810668945, | |
0.006334708213806152, | |
0.006338228225708007, | |
0.006522867202758789, | |
0.0064255881309509275, | |
0.006353588104248047, | |
0.006295827865600586, | |
0.006342708110809326, | |
0.006133588790893554, | |
0.006035668849945068, | |
0.005979989051818848, | |
0.006040627956390381, | |
0.006198228836059571, | |
0.0064159870147705075, | |
0.006248788833618164, | |
0.006819507122039795, | |
0.006642066955566407, | |
0.006388467788696289, | |
0.006188148021697998, | |
0.0063662281036376955, | |
0.0063545479774475095, | |
0.006416627883911133, | |
0.006018229007720947, | |
0.006416468143463134, | |
0.006720787048339844, | |
0.006770226955413818, | |
0.0065729479789733885, | |
0.006641107082366943, | |
0.006684947013854981, | |
0.006678708076477051, | |
0.006663826942443848, | |
0.006528148174285889, | |
0.006525746822357178, | |
0.006674228191375732, | |
0.006690227031707764, | |
0.006659667015075684, | |
0.006698708057403565, | |
0.006945746898651123, | |
0.006653427124023437, | |
0.006901747226715088, | |
0.006805747032165527, | |
0.006789587020874024, | |
0.006595828056335449, | |
0.006546707153320313, | |
0.006594548225402832, | |
0.006532948017120361, | |
0.006557747840881347, | |
0.00654942798614502, | |
0.006547506809234619, | |
0.006573748111724853, | |
0.006563346862792968, | |
0.0065539078712463375, | |
0.006536948204040527, | |
0.0065267071723937985, | |
0.006535828113555908, | |
0.006539507865905762, | |
0.006518065929412842, | |
0.006527667999267578, | |
0.006541428089141846, | |
0.0065315070152282715 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.513081355968 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |