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
e36dbb5
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": "dc29eecfd7850e87154a5a92442eb64d237d0070", | |
"transformers_version": "4.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1060.077568, | |
"max_global_vram": 1758.093312, | |
"max_process_vram": 164972.1344, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9959135065078735, | |
"mean": 0.006868369010399128, | |
"stdev": 0.0008533978816832047, | |
"p50": 0.006753283977508545, | |
"p90": 0.007190853023529051, | |
"p95": 0.008084133911132814, | |
"p99": 0.01080827014923096, | |
"values": [ | |
0.01123024845123291, | |
0.010271206855773925, | |
0.010187047004699707, | |
0.00936928653717041, | |
0.007608325004577637, | |
0.008077606201171875, | |
0.008085765838623048, | |
0.00799952507019043, | |
0.007471045970916748, | |
0.011788007736206054, | |
0.008156166076660157, | |
0.008046245574951172, | |
0.007404644966125488, | |
0.007052804946899414, | |
0.006763844966888428, | |
0.006811843872070312, | |
0.006985125064849854, | |
0.006795205116271972, | |
0.0068611249923706055, | |
0.00681552505493164, | |
0.006819845199584961, | |
0.006756965160369873, | |
0.006753283977508545, | |
0.006976964950561523, | |
0.0068257651329040525, | |
0.00677024507522583, | |
0.006772325038909912, | |
0.006802565097808838, | |
0.006783204078674316, | |
0.006789764881134033, | |
0.006760805130004883, | |
0.0067718448638916014, | |
0.006762245178222656, | |
0.006724324226379395, | |
0.006765285015106201, | |
0.0067974448204040526, | |
0.0067492852210998535, | |
0.006764803886413574, | |
0.0067902450561523435, | |
0.006779045104980469, | |
0.0066881651878356934, | |
0.006814245223999023, | |
0.006798884868621826, | |
0.006797284126281738, | |
0.006968645095825196, | |
0.00683360481262207, | |
0.00680896520614624, | |
0.006732164859771728, | |
0.006816005229949951, | |
0.00679888391494751, | |
0.0067937650680542, | |
0.006862724781036377, | |
0.0070390448570251465, | |
0.007013925075531006, | |
0.006923365116119385, | |
0.006891685009002686, | |
0.007018724918365479, | |
0.006828165054321289, | |
0.006988484859466553, | |
0.007021124839782715, | |
0.00693728494644165, | |
0.006916324138641358, | |
0.010239527702331544, | |
0.007282885074615478, | |
0.006795845031738281, | |
0.006751523971557617, | |
0.00675008487701416, | |
0.0067400050163269045, | |
0.006741284847259521, | |
0.006757925033569336, | |
0.00675792407989502, | |
0.006791685104370117, | |
0.006724965095520019, | |
0.0066441650390625, | |
0.006104484081268311, | |
0.006593124866485596, | |
0.0062612838745117185, | |
0.00626160478591919, | |
0.0063817639350891115, | |
0.006075203895568848, | |
0.006237764835357666, | |
0.006452323913574219, | |
0.0061406450271606445, | |
0.0064030442237854, | |
0.0065217652320861816, | |
0.006414083957672119, | |
0.006520645141601562, | |
0.006408965110778809, | |
0.006558884143829346, | |
0.006372324943542481, | |
0.006371203899383545, | |
0.006336965084075928, | |
0.006589283943176269, | |
0.006433285236358642, | |
0.006380323886871338, | |
0.006353925228118897, | |
0.006800004959106445, | |
0.00649040412902832, | |
0.006652005195617676, | |
0.006426084995269776, | |
0.006487204074859619, | |
0.006416965007781983, | |
0.006494403839111328, | |
0.006776645183563233, | |
0.006755845069885254, | |
0.006862884998321534, | |
0.006855364799499512, | |
0.00661088514328003, | |
0.00645504379272461, | |
0.006486565113067627, | |
0.00645168399810791, | |
0.006468325138092041, | |
0.006325764179229736, | |
0.006632005214691162, | |
0.006443844795227051, | |
0.00642112398147583, | |
0.006416325092315674, | |
0.006266404151916504, | |
0.006470564842224121, | |
0.006644323825836181, | |
0.006543525218963623, | |
0.006570405006408692, | |
0.0063060841560363765, | |
0.006436325073242187, | |
0.006546884059906006, | |
0.006783524990081787, | |
0.006779204845428466, | |
0.006809605121612549, | |
0.006283204078674317, | |
0.006430085182189941, | |
0.006338243961334229, | |
0.006459364891052246, | |
0.006456803798675537, | |
0.006423523902893066, | |
0.006353125095367431, | |
0.006441604137420654, | |
0.006274565219879151, | |
0.006698244094848633, | |
0.006324005126953125, | |
0.006280484199523925, | |
0.006812164783477783, | |
0.006620005130767822, | |
0.006571363925933838, | |
0.006700485229492187, | |
0.006620964050292969 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.5949729092801 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |