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
f422321
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": "5", | |
"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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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 | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1097.699328, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5344.70656, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.10918734741210938 | |
], | |
"count": 1, | |
"total": 0.10918734741210938, | |
"mean": 0.10918734741210938, | |
"p50": 0.10918734741210938, | |
"p90": 0.10918734741210938, | |
"p95": 0.10918734741210938, | |
"p99": 0.10918734741210938, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1268.49024, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 179557.101568, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006298699855804443, | |
0.006220941066741943, | |
0.0063850998878479, | |
0.006125260829925537, | |
0.006077580928802491, | |
0.00606990098953247, | |
0.0060955009460449214, | |
0.006073740959167481, | |
0.006086380958557129, | |
0.006051821231842041, | |
0.006109900951385498, | |
0.006148940086364746, | |
0.006114221096038818, | |
0.00594686222076416, | |
0.005930700778961182, | |
0.005912782192230225, | |
0.005948141098022461, | |
0.00591854190826416, | |
0.005946221828460693, | |
0.005909262180328369, | |
0.00592670202255249, | |
0.006177101135253906, | |
0.006071821212768554, | |
0.005927180767059326, | |
0.005921261787414551, | |
0.006472939014434814, | |
0.00610158109664917, | |
0.00605854082107544, | |
0.006046061992645264, | |
0.006191020965576172, | |
0.005933581829071045, | |
0.006078382015228271, | |
0.006226221084594727, | |
0.0059441418647766114, | |
0.0059319820404052735, | |
0.006164300918579102, | |
0.005943500995635986, | |
0.005940782070159912, | |
0.005949741840362549, | |
0.005968300819396972, | |
0.005959341049194336, | |
0.005955021858215332, | |
0.005966701030731201, | |
0.0059503822326660155, | |
0.005928142070770264, | |
0.0059548611640930175, | |
0.005949582099914551, | |
0.005950701236724853, | |
0.00594254207611084, | |
0.005928940773010254, | |
0.005963341236114502, | |
0.005942061901092529, | |
0.005974061012268066, | |
0.005939661979675293, | |
0.005935822010040283, | |
0.005954541206359863, | |
0.005945422172546387, | |
0.005935660839080811, | |
0.005927661895751953, | |
0.005980141162872314, | |
0.005931661128997802, | |
0.005944302082061767, | |
0.005925261020660401, | |
0.005974061965942383, | |
0.005947181224822998, | |
0.0059499011039733886, | |
0.006171660900115967, | |
0.006357260227203369, | |
0.006169900894165039, | |
0.006270219802856445, | |
0.006421259880065918, | |
0.0067100591659545895, | |
0.006779499053955078, | |
0.0066028590202331545, | |
0.0063073410987854, | |
0.006199019908905029, | |
0.006247341156005859, | |
0.0062724599838256834, | |
0.005996140956878662, | |
0.005913422107696533, | |
0.006097101211547852, | |
0.005982221126556397, | |
0.006740778923034668, | |
0.0067287788391113285, | |
0.0067148590087890625, | |
0.006749578952789307, | |
0.006724618911743164, | |
0.006765419006347656, | |
0.006738218784332275, | |
0.006488779067993164, | |
0.006338700771331787, | |
0.006111180782318116, | |
0.006336781024932861, | |
0.006219500064849853, | |
0.006492300033569336, | |
0.00628734016418457, | |
0.006589580059051514, | |
0.0063223810195922854, | |
0.006381579875946045, | |
0.0063526201248168945, | |
0.006403019905090332, | |
0.006280139923095703, | |
0.006348139762878418, | |
0.00616494083404541, | |
0.006125260829925537, | |
0.005950380802154541, | |
0.005956302165985108, | |
0.00598510217666626, | |
0.005954380989074707, | |
0.00596782112121582, | |
0.005948142051696777, | |
0.00597550106048584, | |
0.005966221809387207, | |
0.005959981918334961, | |
0.005937420845031739, | |
0.005959181785583496, | |
0.005961421012878418, | |
0.005952140808105469, | |
0.005936942100524902, | |
0.005970380783081055, | |
0.005969421863555908, | |
0.0059679818153381345, | |
0.005975340843200684, | |
0.006022861003875732, | |
0.005948781967163086, | |
0.005978540897369385, | |
0.005949581146240234, | |
0.005970221996307373, | |
0.005982541084289551, | |
0.0059791808128356935, | |
0.005949582099914551, | |
0.005952620983123779, | |
0.006013741016387939, | |
0.005971662044525147, | |
0.005962700843811035, | |
0.005984941005706787, | |
0.006184461116790771, | |
0.00597166109085083, | |
0.005948942184448242, | |
0.005948941230773926, | |
0.005950541019439697, | |
0.00591582202911377, | |
0.005885901927947998, | |
0.005902381896972656, | |
0.005873581886291504, | |
0.0058795008659362795, | |
0.006135661125183106, | |
0.005890542030334472, | |
0.00590894079208374, | |
0.005875182151794433, | |
0.005867981910705566, | |
0.006082061767578125, | |
0.0059673418998718265, | |
0.00629390001296997, | |
0.006468299865722656, | |
0.006596619129180908, | |
0.006357580184936523, | |
0.00647245979309082, | |
0.006323659896850586, | |
0.006281260967254639, | |
0.006304139137268066, | |
0.0062815799713134765, | |
0.006470379829406739 | |
], | |
"count": 163, | |
"total": 0.9959052195549004, | |
"mean": 0.006109847972729455, | |
"p50": 0.005978540897369385, | |
"p90": 0.006469963836669922, | |
"p95": 0.006699339151382447, | |
"p99": 0.006755598173141479, | |
"stdev": 0.0002319359291780657, | |
"stdev_": 3.7960998409990365 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.67019350782138 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |